You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Slice: turn-annotation for out-of-band Memory worktree changes #329
As a Human who edits Memory files on disk between turns, I want the bot's next turn to state what changed, so that it acts on current files instead of silently stale ones. As a Human switching Memory branches, I want no extra noise, since the switch tool result already says it. As a Human editing PERSONA.md, I want the note to say the session keeps its frozen voice.
Acceptance criteria
A human on-disk edit (staged, unstaged, untracked, or committed) between turns appears as a bounded path list appended to the next turn message: branch line plus committed names plus worktree additions, capped, never bodies.
A branch switch adds no annotation.
A PERSONA.md change carries the frozen-precedence half-sentence without detail.
The system prompt prefix bytes are unchanged by the annotation path.
The annotation never wakes, never enters the Inbox, never duplicates a tool result.
State: completed (implementation done, uncommitted, no PR - merge decision left to Human)
Delivered: prepareTurn stages a take-once turn-annotation (porcelain + diff stat, full diff under ~2KB, PERSONA.md frozen half-sentence, branch notes); baseline refreshes at reconcile/abort end; takeTurnAnnotation consumed into the turn message in #runOrchestratorTurn. No prefix/event/inbox changes per ADR-0060.
Verification: 6 new service tests + 1 runtime end-to-end test green; typecheck/lint clean; full core suite shows only the 23 pre-existing environment failures (verified identical on pristine 0f504e1 baseline worktree, then removed).
Remaining: review, PR, and the prepare-signature follow-ups (if any).
Live verification (isolated 0.1.7-rc.2 Host, deepseek-flash, 9 DM turns)
Silent plant: NOTE.md written on disk, human question never named it. Next turn reported it with branch/HEAD context:
Verdict: PASS. sawCodeWord=true; branch switches stay quiet (tool result covers them); first turn stays silent. Full text in timeline, code word quoted verbatim.
Activity
DoodleBears commentedon Sep 26, 2026
Agent work claim
DoodleBears commentedon Sep 26, 2026
Agent work outcome
test evidence: live-verification PNGs for #327/#328/#329
DoodleBears commentedon Sep 26, 2026
Live verification (isolated 0.1.7-rc.2 Host, deepseek-flash, 9 DM turns)
Silent plant: NOTE.md written on disk, human question never named it. Next turn reported it with branch/HEAD context:
Verdict: PASS. sawCodeWord=true; branch switches stay quiet (tool result covers them); first turn stays silent. Full text in timeline, code word quoted verbatim.
feat(memory): trim turn-annotation to webhook shape
feat(memory): out-of-band turn-annotation, persona-freeze note, compa…
test evidence: live-verification PNGs for #327/#328/#329
feat(memory): trim turn-annotation to webhook shape