Skip to content

v0.367.4

Choose a tag to compare

@ben-s-github-releaser ben-s-github-releaser released this 24 Nov 10:03
· 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 stamp 7daf8265…) carries the sentence claude_session_id: c49298a8-… on [[Claim Scheduling Is Hardened]] 18 050 bytes into its # Tasks prose; the join read that as a stamp, classified the live Claim Scheduling Is Hardened Manager (c49298a8…, a goal at 2/3 SC) as finished — reap candidate, and sent it a reap message pointing at /exit. close-worker.py refused with task-not-terminal=1, so no session was closed — the guard held and the message had already gone. New session-ids.py --task <file> --owns <session-id> answers the join from the page's FRONTMATTER id set (OWNS exit 0 · NOT-OWNS exit 3 · full id only, so a prefix fails closed), and both legs now require it: agents/fleet-sweep-reader.md step 8 refuses the finished class on NOT-OWNS — the row is unverifiable, with a NOTES clause naming the page's own stamp — and agents/fleet-drive.md step 1b refuses to draft the reap. Step 4 states the rule both enforce: a claude_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.