rehearsal: the journey leg registry — named skips, never silent passes (plan Task 2) #371
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#371
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?
Implements Task 2 of
docs/superpowers/plans/2026-08-09-183-vps-rehearsal-ratchet.md(spec:docs/superpowers/specs/2026-08-09-183-vps-rehearsal-ratchet-design.md).Follow the plan task's steps exactly — it carries the full test and
implementation code.
Build
app/tests/e2e/fixtures/legs.ts(typesJourneyLeg,LegRecord;function
driveLegs) with the colocated vitest testapp/tests/e2e/fixtures/legs.test.ts, TDD, exactly as written in the plan.A leg whose carrier isn't built is a NAMED skip (recorded with its reason),
never a silent pass; a red records, aborts via rethrow (retries stay 0), and
hands partial records to
onAbort.Acceptance:
pnpm --filter app exec vitest run tests/e2e/fixtures/legs.test.tsruns, then both passdriveLegsruns, then the leg'srunis never invoked and the record carries the reason verbatimpnpm --filter app exec tsc --noEmitstays cleanSelf-contained: touches only the two new files; no dependency on other
rehearsal tasks.
Done in
372a3c8(on origin/main). Addedapp/tests/e2e/fixtures/legs.ts(typesJourneyLeg,LegRecord;driveLegs) and its colocated vitest testlegs.test.ts, TDD, verbatim from plan Task 2.pnpm --filter app exec vitest run tests/e2e/fixtures/legs.test.ts→ 2 pass (named-skip records without runningrun; red records + hands partial records toonAbort+ rethrows, later legs never run).carrier unbuilt (#000)),runnever invoked. ✓tsc --noEmit: my two files add zero new errors. Two pre-existing errors (AppUpdateSurfaceinsrc/bootstrap.ts/tests/unit/appShell.test.ts) predate this slice — confirmed by running tsc on the clean tree without my files — and are out of scope for this self-contained task.Self-contained: touched only the two new files; no STATUS.md change (engineering fixture, matching sibling T7 #373).