Skip to content

feat: branch-default statuses — board never blank (0.15.0)#82

Merged
yonidavidson merged 1 commit into
mainfrom
feat-branch-status
Jul 8, 2026
Merged

feat: branch-default statuses — board never blank (0.15.0)#82
yonidavidson merged 1 commit into
mainfrom
feat-branch-status

Conversation

@yonidavidson

Copy link
Copy Markdown
Owner

Every ctx-bus record had no status (advisory nudge ignored, same as the old register problem). Fix (user chose Both): hooks set a mechanical 'on ' default that never clobbers a real declaration + a stronger first-action order to upgrade it. Board shows where every session is immediately. Tested: default set, real status preserved across hooks and branch switches.

…15.0)

Field truth: every record on the ctx bus had NO status field — even
today's 0.15-era sessions. The nudge only asks agents to declare, and
(same lesson as registration) advisory loses to the user's actual task.

Two-sided fix — the "Both" the user chose:
- Mechanical default: the session-start and digest hooks set status to
  "on <branch>" when the agent has none (or only a prior branch default),
  NEVER clobbering a real declared status; it follows branch switches.
  Non-prompt, always-populated — the live board now shows where every
  session is even before anyone declares. Uses symbolic-ref so unborn
  branches work too.
- Stronger order: session-start makes declaring a real status the agent's
  explicit FIRST action, and the digest nudge now also fires to upgrade a
  branch default to a real task.

Test: fresh session → "on feat-auth"; a declared status survives later
hooks and branch switches.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@yonidavidson yonidavidson merged commit 6d46929 into main Jul 8, 2026
1 check passed
@yonidavidson yonidavidson deleted the feat-branch-status branch July 8, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant