Repository navigation
Releases
Releases · bborbe/claude-supervisor
v0.367.6
- fix: the drive leg no longer routes an orphan row to the removed
keepalive.mdrow 5b.agents/fleet-drive.md:48read "causeorphan— resume it (keepalive.md5b)" — a live instruction to the driving model to resume through a step file the round no longer dispatches, in an agent the round runs every round. Found 2026-11-24 by a closure probe that was itself too narrow: the probe coveredcommands/fleet-drive.mdandagents/fleet-round.mdand printed nothing, becauseagents/fleet-drive.mdwas outside its file list and the reference is the bare`keepalive.md`form rather thancommands/steps/keepalive.md. The disposition now says the resume belongs to the wrapper's keep-alive tick, which owns the leg end to end, and that a round resuming it would be the second writer the tick's claim guard exists to defend against. Change set:agents/fleet-drive.md,CHANGELOG.md.
v0.367.4
- 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.
v0.367.3
- fix: the keep-alive leg's hand-back is its last emission.
agents/fleet-keepalive-actor.mdnow namesSubagentHandbackas the terminal action and forbids anything after it — noSendMessage, no heading, summary or trailing note — and states that a late-landing digest is corrected by calling the tool again rather than by messagingmainand narrating. Measured 2026-11-24 on session893df368: 36 of 39 keepalive delegates complied (410–779 B), and 2 of the 3 over-cap ones were exactly this shape — a correctionSendMessageplus a proseFinal stateblock naming the round, whichcheck-handback-size.pycounts under itsROUND_IDregex (1 973 B and 1 109 B). The<output_format>"two artifacts" framing and its separate Digest paragraph are gone: the digest is written byfleet-legs.pyand never reported, so the hand-back is the only thing the leg emits. Change set:agents/fleet-keepalive-actor.md,CHANGELOG.md.
v0.367.2
- test: the census's goal-page attribution gains its positive control. A goal manager opened by the flagged tick used to depend on its own
/vault-cli:work-on-goalstart turn for the page stamp, and that turn can never run — measured 2026-11-23 20:51:49 in~/Library/Logs/claude-wrapper/stderr.log, the start command was not sent ("the keystrokes reached the pty but the Enter did not take effect"), so the page kept noclaude_session_idwhile its manager ran. The wrapper now stamps the page at open time, before its start commands run, and this test pins the census half: a goal page carrying its session id, with that session live, emits nolive session <sid> — no page records itline and noMISMATCH page, and the same live session with the page's id removed IS reported — the control that proves the absence assertion can fail. Change set:scripts/tests/test_keeper_census.py,CHANGELOG.md.
v0.367.1
- fix: the fleet keeper no longer cards an ABSENT death for a manager it restarted itself.
main()'sif live == "ABSENT":branch readssid = fleet_session()— the id the fleet manager's registration names — and arestart freshretires that session and starts a new one whose registration lands a moment later. The branch also returned beforeload_lapse(), so the record proving the keeper caused the death (fresh_consumed, written byact_on_fresh_answerimmediately before it runsrestart-worker.py --reason lapse --fresh-prompt /supervisor:fleet-loop) was never read on the carding path. Measured 2026-11-16: the operator answeredrestart freshat15:20:21Z, the keeper stopped the manager at15:30:15Zand started the replacement at15:30:24Z, then minted an ABSENT card at15:30:33Zasking the operator to act on the death they had just authorised. The guard matches the session the keeper stopped:fresh_sidis written only when the restart succeeds, and the branch suppresses only whilesid == fresh_sid, so a death of the REPLACEMENT manager — or of any session the keeper did not stop — still cards, and a refused or failed restart arms nothing. It is bounded byRESUME_DEFER_MAX;fresh_first_tryandfresh_sidpersist in the lapse record because the ABSENT branch runs in a later process. Change set:scripts/fleet-keeper.py,scripts/tests/test_fleet_keeper.py,CHANGELOG.md.
v0.367.0
- feat: the fleet round drops its keep-alive and reap rows. Both legs now run in the
claude-wrapperkeepalive tick, socommands/fleet-drive.mdandagents/fleet-round.mdno longer carry rows 5b, 6 and 16b, and the two split lines that named them are retargeted. Rows are removed by LABEL, not line number — the pins had rotted twice and pointed at rows 5d/7/17-18 atorigin/master.⚠️ agents/fleet-keepalive-actor.mdis NOT deleted in this change: retiring it fails the repo's owncheck-handback-keysandcheck-handback-sizeguards until every one of the 8 step files that dispatch it is re-pointed, so the retirement belongs with that scrub rather than here.
v0.366.12
- fix: a manager can no longer settle an operator-tier permission gate through
attention-answer.py.cmd_answer_permissionposted every verdict with no tier read at all, so a hand-builtattention-answer.py answer <id> --decision allow --by managerreleased a prompt the classifier ratesoperator. Measured 2026-11-23 06:37:51Z on itemaecf9478…:answered_by: manager,resolved_by 070129ad…, aBash: … git -C $R show … | nl | sedpayload the classifier ratesoperator(formsecret).gate-answer-check.pyhad read the tier since 2026-11-18, but this row never went through it — it reachedattention-answer.pydirectly. The branch now classifies the card payload with the samepermission-tier.pythe placement measurement uses and refuses a non-operator arm on an operator-tier card with a named reason, before the store is written; only the operator's own surfaces (--by operator,attention-board,supervisor:attention-next) may answer one, and an unreadable classifier or a payload naming no tool fails closed tooperator. Change set:scripts/attention-answer.py,scripts/tests/test_attention_answer.py,CHANGELOG.md.
v0.366.11
- fix: the fleet round records the refusal token it already holds, and the freeable-tabs check reports it.
commands/steps/drive.mdstep 3b-iii now writesrefused<TAB><name><TAB><token>, keepingclosed<TAB><name>at two fields.scripts/check-freeable-tabs-acted.pyacted_names()splits on every tab and joins onfields[1]alone, so a three-field line no longer collapses to<name> <token>through_norm_name's whitespace fold and reportmissing; measured 2026-11-22 on a copy of a real record, the pre-change parse readacted 1 · missing 1on a three-field refusal againstacted 2 · missing 0on the identical two-field control, and 40 such entries exist on disk. The check's line gains arefused: <token>=<n>tally bucketed by the token's first word and printed unconditionally ((none)when empty), so the token is observable rather than parsed and discarded, andcommands/steps/output-shape.mdcarries the new shape, withOUTPUT_SHAPE_MARKERwidened to the new tail so a doc that drops it fails the static contract. Change set:commands/steps/drive.md,commands/steps/output-shape.md,scripts/check-freeable-tabs-acted.py,scripts/tests/test_check_freeable_tabs_acted.py,CHANGELOG.md.
v0.366.10
- fix: the fleet keep-alive leg no longer drops a topic page the stood-down handover just cleared. § 1's population was filtered on
claude_session_id— the exact field the handover clears — so a page a close had just handed over left the population and no replacement manager was ever opened for it, stranding any topic that was still re-manageable. The selection now lives inscripts/topic-candidates.py, which asksscripts/owner.py— the one ownership definition — and refuses onlyloop-stopped, so a handed-over page that is not itself stood down stays a candidate, while a page still carrying its.stoppedmarker readsloop-stoppedand is still never re-opened (clearing a stand-down is the operator's act, never this leg's). The inlinepython3 -cheredoc in the actor is gone, the two docs that asserted the old behaviour are amended, andscripts/tests/test_topic_candidates.pypins both directions (a page carrying no session id is a candidate; aSTOPPEDpage is not). Change set:scripts/topic-candidates.py,scripts/tests/test_topic_candidates.py,agents/fleet-keepalive-actor.md,commands/steps/keepalive-stood-down.md,docs/session-tiers.md,CHANGELOG.md. - fix: the keep-alive leg now prints the session id it opened, on the line that names the page. § 1 printed the page and its pre-act verdict only, so the opened id surfaced on a later run — and a hand-arm with
/supervisor:open --topicproduces the identical page stamp, which made the leg's own act indistinguishable from the operator's. Each acted row now renders<name>\t<verdict>\topened=<full session id>, the id taken from/supervisor:restart's or/supervisor:open's own verdict in that round, never read off the page afterwards;jump/leave/cannot-tellrenderopened=none — <reason>. Change set:agents/fleet-keepalive-actor.md,CHANGELOG.md.
v0.366.9
- docs:
--topic-opennow has a written invocation home. The flag is invoked by the wrapper's open endpoint (bborbe/claude-wrapperpkg/open_tab.go:292-297,--topic-open --hand-run), butcommands/open.mdstopped carrying it indcd2d991— that commit madeopen.mda thin caller of the wrapper endpoint, andscripts/check-open-hand-run.pynow forbidstopic-spawn.pythere — so the only reference to the invocation was a grep-negative.commands/topic-spawn.mdgains a## Opening a topic's manager — --topic-opensection: the invocation (with--hand-run), theopen-ok: <topic>/ refusal-token verdict, and the ≥300 s Bash-call timeoutcommands/open.md:243-246already mandates. Change set:commands/topic-spawn.md,CHANGELOG.md.