Repository navigation
v0.367.4
·
6 commits
to master
since this release
- fix: a reap is drafted only when the task page owns the session being reaped. The sweep resolved a session to a task page and read the page's terminal state as the session's verdict, so a COMPLETED task whose body merely mentioned a live manager's id reaped that manager. Measured 2026-11-23, round
1795464184.784114:A Worker That Dies Mid-Turn Becomes Unresumable.md(completed · done · 0 open, frontmatter stamp7daf8265…) carries the sentenceclaude_session_id: c49298a8-… on [[Claim Scheduling Is Hardened]]18 050 bytes into its# Tasksprose; the join read that as a stamp, classified the liveClaim Scheduling Is Hardened Manager(c49298a8…, a goal at 2/3 SC) asfinished — reap candidate, and sent it a reap message pointing at/exit.close-worker.pyrefused withtask-not-terminal=1, so no session was closed — the guard held and the message had already gone. Newsession-ids.py --task <file> --owns <session-id>answers the join from the page's FRONTMATTER id set (OWNSexit 0 ·NOT-OWNSexit 3 · full id only, so a prefix fails closed), and both legs now require it:agents/fleet-sweep-reader.mdstep 8 refuses thefinishedclass onNOT-OWNS— the row isunverifiable, with aNOTESclause naming the page's own stamp — andagents/fleet-drive.mdstep 1b refuses to draft the reap. Step 4 states the rule both enforce: aclaude_session_id:in a page's BODY is prose, never a stamp. Change set:scripts/session-ids.py,scripts/tests/test_session_ids.py,agents/fleet-sweep-reader.md,agents/fleet-drive.md,CHANGELOG.md.