rehearsal: a red before any leg looks green to the reporter — wizard-stage reds never block the drive, the loop refires forever #392
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.
Blocks
Reference
Matou/idss#392
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?
2026-08-10, 07:00–11:10Z: 25 consecutive red drives (exit 1 at the S5 fixture), and after every one the reporter said
no red legs — green drive, nothing to file. #378 was never blocked, so the executor re-fired on every */10 tick for over four hours — ~25 paid droplet create/destroy cycles that would have continued indefinitely. The pre-legs path (exit 3) files correctly (it produced #390 and parked the loop); the wizard-stage path falls through.Invariant: any red drive must end with #378 blocked. A playwright red that produces zero red legs in
legs.json(the wizard died before the legs ran) must file a "drive red at wizard" issue — same shape as the pre-legs filing, with the playwright failure line + run dir as evidence — and add the native dependency.Evidence:
rehearsal-executor.loglines ~317–7879 on matou-workstation; any run dir from20260810T070055Zthrough20260810T110036Z.Fixed in commit
e2fd149onmain.Root cause: the reporter derived "green" from the red-leg count in
legs.json, but a wizard-stage red (the wizard dies at S1–S5 beforedriveLegsruns) leaves an EMPTYlegs.json— zero red legs — so a real red drive fell through tono red legs — green drive, nothing to file, #378 was never blocked, and the */10 executor re-fired indefinitely.Fix:
scripts/rehearsal-cycle.shnow passes the drive exit code torehearsal-report.shas arg 2..sandcastle/rehearsal-report.sh: a red drive (rc != 0) with zero red legs synthesizes awizardred leg from the playwright failure line — same shape as the existing pre-legs synthesis — files a drive-red-at-wizard issue and wires the native dependency onto #378. A green drive (rc 0) with zero red legs still files nothing. Thewizardleg name gives repeats a stable dedup signature.Invariant restored: any red drive ends with #378 blocked.
Evidence:
.sandcastle/tests/rehearsal-report-test.shcases 10 (wizard red files+blocks) and 11 (green rc=0 files nothing); 11/11 pass locally.