rehearsal loop reports GREEN + closes #378 on a FAULTED finish leg — a faulted finish must fail the drive #440
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#440
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 rehearsal loop reported GREEN and auto-closed #378 on a FAULTED finish leg
Run
20260811T185108Z: playwright1 passed (4.2m), harnessDRIVE GREEN — closing drive issue #378. Butstate/founding-state.jsonshows the finish leg faulted:The drive did NOT complete a founding — it faulted at the last leg — yet passed and closed the standing drive issue. GREEN is the ratchet's only close; a false green defeats the entire contract.
Root cause
99393f9(a correct fix) addedfinishas the last entry ofOWN_VPS_ORDERinjourney.droplet.spec.ts. But the spec's success model is "wait for each leg; a leg is done once the bar's currentId advances past it" (legVerdict,journey.ts). When the bar advances tofinish— even a FAULTED finish —currentId === 'finish'(the last leg), so everywaitForLegreturnsdoneand the test ends passing.waitForLeg's only failure check issnap.state === 'failed', but a finish-leg fault setsstandup.fault/ overlays the row without flipping the BAR's overalldata-statetofailed(step staysdeploying) — so the guard never trips.Fix
The drive must assert the founding actually COMPLETED, not merely that the bar reached the last row:
[data-status="paired"]already asserted at spec:164, plus a founded/finish-done marker) AND assert nostandup.fault/ the bar is not in a failed/faulted row.snap.state === 'failed'(ordata-failed="finish") sowaitForLegthrows — the bar should render the overall failed state on a finish fault the same way it does for earlier legs (the2523d88overlay kept the row visible but the OVERALL state signal is what the harness polls).This is the top blocker — until it lands, any drive that reaches finish closes #378 whether or not the founding succeeded.
drive
20260811T185108Zfalse green; evidencetest-results/…/20260811T185108Z/state/founding-state.jsonFixed in
591374b(on origin/main).Root cause:
journey.droplet.spec.ts's leg loop only waited throughpair, then assertedpairedand ran no-op Stage-3 legs — so the whole deploy + finish leg went UNWATCHED, and a faulted finish (drive20260811T185108Z: the enroll.json scp on a missing/var/lib/ourcloud) slid past as a false green.Fix:
waitForLeg), then requires the finish leg to COMPLETE: it races the S12 hand-off ([data-status="hand-off"]) against the fault frame ([data-status="journey-fault"]) so a faulted finish reds in seconds, then asserts the hand-off opened with no fault standing. Reaching the finish ROW is not a founded community — the hand-off opening is (mirrors the proven private-pathfoundingPrefix.ts).state=failedat the seam; guarded that withTestJourneyRows_FinishFaultMarksFinishFailed— aStandupDeploying+DeployLive+Faultstandup marks the finish row FAILED (not running, not all-done) on BOTHjourneyRowsand the droplet'sownVPSJourneyRows.Verified:
go test ./internal/foundinggreen (incl. new guard), gofmt/vet clean,vue-tscclean,playwright --listparses the droplet spec. Next drive closes #378 only on a real founded hand-off.Files:
app/tests/e2e/journey.droplet.spec.ts,internal/founding/journey_test.go,STATUS.md.