e2e: a resumable tail — re-enter a drive at finish-setup/S12 without re-founding #333
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#333
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?
Every tail defect this arc (Defects J/K drive 17, Finding L drive 18) cost a full ~12–25m founding drive to reach the last two minutes of spec. The harness deliberately never re-drives to diagnose, which is right — but it has no way to RESUME either: a drive that died at the S12 tail can only be reproduced from S1.
Wanted: a debugging loop that re-enters at the tail. The state seam already exists (
--user-data-dir= the run dir'sstate/; the helper persistsfounding-state.jsonatstep: hand-offwith the guest still up) — the missing piece is a harness entry point that relaunches the app against an EXISTING run dir + running guest and runs only the tail steps. Constraints: it must stay a debugging tool, never the spec (ADR 0132's drive is the proof); the guest-teardown preflight inscripts/smoke-private-path.shmust be bypassed knowingly; and it should refuse if the persisted step isn't at the tail (a half-founded resume is trial-reset territory).From the private-path live e2e arc (ledger:
.superpowers/sdd/2026-08-07-private-path-live-e2e/progress.md).Agent Brief
Category: enhancement
Summary: Add a debug-only entry point that resumes the private-path e2e drive harness at its tail steps, without re-running the full founding stand-up.
Current behavior: The live e2e harness always drives the app from a clean state through the entire founding journey (wizard S1 through stand-up completion). When a defect only manifests in the final steps (the hand-off tail), reproducing it costs a full ~12-25 minute drive from S1 every time, because the harness has no way to re-enter mid-journey. The underlying state seam already persists enough to resume: a run's
--user-data-dirholds the operator app's state, including afounding-state.jsonsnapshot written at thehand-offstep while the guest is still running.Desired behavior: A harness entry point (a script or flag) can relaunch the app against an EXISTING run directory and its still-running guest, and drive only the tail steps of the journey — skipping the founding stand-up that already completed. It must:
hand-offor later) — a partially-founded run is not a valid resume target and should fail loud rather than attempt a partial re-drive.Key interfaces:
Acceptance criteria:
hand-offstep, guest still running), the new entry point relaunches the app against that state dir and drives only the remaining tail steps.Out of scope:
Note on branch: This harness (the private-path live e2e drive script and spec, and the founding state seam it drives) lives on the
private-standup-polishbranch — it is not present onmainyet. Build this change on top of that branch, notmain.Blocked for a main-landing Sandcastle worker — branch conflict.
The Agent Brief's own "Note on branch" rules this explicitly: "This harness … lives on the
private-standup-polishbranch — it is not present onmainyet. Build this change on top of that branch, notmain."Confirmed on
main: there is no private-path e2e drive harness (app/tests/e2e/,app/playwright.config.ts, the drive scripts) and nofounding-state.jsonhand-offsnapshot seam — all of it lives only onorigin/private-standup-polish, which is not an ancestor ofmain.The Sandcastle workflow lands every commit on
origin/main; it cannot honour the "build onprivate-standup-polish" ruling. Resolving this needs a human decision: either run a Sandcastle worker rooted onprivate-standup-polishfor this arc's tasks, or merge the private-path e2e arc intomainfirst (same underlying decision as #338/#337). Moving toready-for-human.Approved by Ben 2026-08-08 (decision sweep) as scoped: debug-only entry point that relaunches against an existing run dir + running guest and runs only the tail; refuses when the persisted step isn't at the tail; bypasses the teardown preflight knowingly; never the spec (ADR 0132's drive stays the proof). Harness work proven by local drives → stays session work,
no-triage.Backlog walk (Ben, 2026-08-12): promoted
ready-for-agentwith offline-test acceptance (the entry point's refuse/bypass logic unit-tested); the live tail-resume proof happens at the next e2e sitting. The in-body constraints are the contract: debugging tool only (never the spec — ADR 0132's drive is the proof), knowing teardown-preflight bypass, refuse a non-tail persisted step.close-report for #333 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope