swarm queue: the phase-2 rehearsal drive #492 leaks into the swarm ready list — REHEARSAL_DRIVE_ISSUE unset swarm-side defaults to 378 #493
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#493
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
A swarm iteration (run 5352, host
1408e1e7f6e7) was handed the standing rehearsal drive issue #492 as a claimableready-for-agentticket and claimed it. The swarm structurally cannot run the drive (no/dev/kvm, no DO/broker secrets — Ben's #380 ruling that DO/broker credentials stay off the swarm containers). This is exactly the hot-loop statelist-ready-tasks.sh's drive-issue exclusion is meant to prevent.Root cause
.sandcastle/list-ready-tasks.sh(and its sibling host-mode scriptsrehearsal-report.sh,scripts/rehearsal-executor.sh) exclude the standing drive issue via: "${REHEARSAL_DRIVE_ISSUE:=378}". The phase-2 arming (spec2026-08-12-183-phase-2-nextcloud-rehearsal-design.md) moved the live drive issue from #378 to #492 and setREHEARSAL_DRIVE_ISSUE=492only on the executor host's.sandcastle/.env. The swarm containers export noREHEARSAL_DRIVE_ISSUE(verified: unset in this sandbox; not present inswarm.config,run-swarm.sh, or any checked-in.env), solist-ready-tasks.shfalls back to the hardcoded default378and excludes the old, now-closed drive issue while the live #492 leaks straight into the swarm ready queue.The exclusion mechanism is correct; only its input value is stale on the swarm side.
Proposed fix (a human rules — protected path)
Pick one:
REHEARSAL_DRIVE_ISSUE=492into the swarm container env (the same knob the executor host already sets), solist-ready-tasks.shexcludes the live drive. Cleanest — keeps the number in one place per host and survives future re-arming if the swarm env is updated in lockstep with the executor's.sandcastle/.env.:=378→:=492in.sandcastle/list-ready-tasks.sh(and, for consistency,rehearsal-report.sh+scripts/rehearsal-executor.sh). Simpler but re-introduces the same drift the next time the drive issue is re-minted.Whichever is chosen, the arming runbook for future drive-issue re-mints should update the swarm-side value too, not only the executor host's
.env.Do NOT change #492's tracker state as the fix
#492's labels/dependencies are correct for the executor (
ready-for-agent, unblocked = armed). Removingready-for-agentwould disarm the live standing drive; wiring a bogus dependency would pause Ben's functional executor drive over a swarm-only plumbing bug. The fix is entirely swarm-side env/config — leave #492's arming untouched.Found while working
#492 (this run claimed it, discovered it structurally can't run it, and filed this). Reported blocked; claim released; #492's arming left intact for the executor.
Ben's rulings 2026-08-13 (session walk): option 1 + 2 layered, then made structural.
standing-drivelabel (id 105, now on #492):list-ready-tasks.shskips any ready issue wearing it — re-minting the drive issue is one tracker action (PUT/POST /labels, never issue-PATCH)..env.examplenow declaresREHEARSAL_DRIVE_ISSUE=492(Actions refreshes worker.envfrom it every run) and the three host-mode defaults bumped 378→492. A forgotten label and a stale number must both happen before a leak.ready-for-agent+ deps untouched, per this issue's non-fix warning.Landed in
a6cf4ef; re-mint steps indocs/operator-app/rehearsal-drive.md; GOTCHAS #23; offline tests cover both paths (9 cases).