reporter files a phantom leg-red ticket when preflight parks on exit 3 — it diagnoses the PREVIOUS run dir, and the ticket then blocks the drive that would disprove it #918
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#918
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?
The defect
When the drive parks at preflight with exit 3 (
bootstrap-stale), no run directory is created.scripts/rehearsal-cycle.shthen resolvesrun_diras the newest directory undertest-results/drive-<target>/— which is the previous drive — and hands that to.sandcastle/rehearsal-report.sh. The reporter dutifully diagnoses that older run's leg failure and files it as a fresh defect, blocking the drive issue.This contradicts #600's explicit contract for the gate it added:
A misleading leg-red ticket is precisely what it files.
Observed, 2026-08-27/28 — four tickets for one phantom
#788's cycle produced #912, #913, #916 and #917, all titled as the sameconsentsshd defect, all citing drive20260827T185504Z(18:56Z), long after that defect was fixed by838d8c44and shipped in the served artifact. Executor log for the last of them:Why it is a deadlock, not just noise
The filed ticket blocks the drive issue. The only thing that could disprove it is a drive. The drive cannot run while blocked. Each executor cycle re-files it from the same stale evidence, so it never resolves on its own — a human has to close a ticket per cycle, and the next cycle files another. I closed four by hand today; that is the symptom, not the fix.
It also sends swarm workers at fixed defects and gives the healer an already-repaired red to chase (three attempts, two
rebase onto origin/main conflicted, onediff cap breach (2 files / 91 lines; cap 3/60), all reverted — plus three executor ticks lost to the capacity slot those attempts held).Fix
rehearsal-cycle.shshould branch onrc == 3before the reporter call and either skip reporting entirely or route to a staleness-specific path — the gate already emits a distinct, machine-readable verdict line to key on.Related, and worth fixing in the same pass
Neither the reporter nor the healer checks whether the red it is acting on still reproduces in the bits a new drive would run before filing or fixing. The check already exists and is cheap —
scripts/lib/bootstrap-staleness-lib.shdoes exactly this for the drive-side preflight (HEAD get.idss.nz, readx-idss-release,git merge-base --is-ancestor <fix> <served>). Reusing it on the report/heal side would have suppressed all four tickets above.Acceptance
bootstrap-stalepreflight park files no leg-red ticket and blocks the drive issue on nothing.scripts/tests/per the house pattern, exercising rc=3 with a pre-existing older run dir present.Evidence
/home/dev/swarm/rehearsal-executor.logonmatou-workstation(the cycle quoted above); tickets #912, #913, #916, #917; drivetest-results/drive-idip/20260827T185504Z.Filed by the watch under ADR 0174 after closing the fourth phantom by hand. Veto anytime.
swarm-claim host=matou-dev-server-01 run=13007
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #918 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope