rehearsal: THE DRIVE — run the #183 journey on the droplet (standing issue; blocked-by = the frontier) #378
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.
Depends on
#390 rehearsal drive red at pre-legs
Matou/idss
#397 rehearsal drive red at wizard
Matou/idss
#402 rehearsal drive red at wizard
Matou/idss
#410 enroll-configure times out: guest-trust/id_ed25519 never written before eval preflight
Matou/idss
#412 enroll-configure: own-VPS droplet never came back over SSH after reboot (known frontier)
Matou/idss
#431 enroll-activate: acme-dns-register never reaches acme-dns's loopback API, drive times out
Matou/idss
#432 supply leg red: guest-trust SSH key never created for own-vps carrier before fleetwire uses it
Matou/idss
#456 enroll-configure: masked_exit misreads sops-install-secrets' ssh-host-key probe as failure
Matou/idss
Reference
Matou/idss#378
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 standing drive issue of the #183 rehearsal ratchet (spec
docs/superpowers/specs/2026-08-09-183-vps-rehearsal-ratchet-design.md,plan
docs/superpowers/plans/2026-08-09-183-vps-rehearsal-ratchet.md,runbook
docs/operator-app/rehearsal-drive.md). This issue IS the cycle'sstate machine (Ben's ruling, 2026-08-09): its label + dependency state
decide when a drive runs. Nobody schedules anything.
Lifecycle — standing instructions to any executor
ready-for-agentand unblocked,run one drive:
scripts/rehearsal-cycle.sh(refresh → payload gate →scripts/smoke-private-path.sh --target droplet→ reporter → teardown).(
.sandcastle/rehearsal-report.sh) files/matches the bug issues, wireseach as a native dependency ("blocked by") of THIS issue, and posts one
evidence comment here (stamp, red legs, blocking issues). If nothing
could be filed or matched, swap this issue's
ready-for-agentforready-for-humaninstead — this issue must never sit ready andundepended after a red.
ready again and the next executor pick re-drives — verifying the plugs
and surfacing the next hole. Multiple blockers coalesce: no drive until
all of them close.
ONLY close. Post the run evidence (stamp, leg durations, host facts) in
the closing comment. At that point #183 is ready to be boring — say so
to Ben.
Current state
no-triage— the harness isn't ready for the first drive yet. Flippingthis to
ready-for-agentis the declaration of readiness (Ben's call, orthe driver session's once the gates pass). Prerequisites before the flip:
--target dropletseam)scripts/rehearsal-executor.shis built (62f8706)contract completed in
62f8706(offline test 6 cases)REHEARSAL_DRIVE_ISSUE=378in.sandcastle/.env)The first drives are EXPECTED to red at the pairing frontier until #368
(own-VPS founding carrier) lands — that red is the ratchet working, not a
failure of this issue.
Plan Tasks 5+6 landed — ticked on the pre-flip checklist.
bf028ec:app/tests/e2e/journey.droplet.spec.ts(own-VPS wizard branch through the shared fixtures, install command over ssh, honest red at the pairing frontier #368, legs #368/#369/#370 as named skips intoartifacts/legs.json) +playwright.config.tskeys the default spec offOC_E2E_TARGET, composed on top of #376'sOC_E2E_SPECoverride (advances #376).6829b21:scripts/lib/rehearsal-droplet.sh(clan-labcreate --fresh6h TTL, evidence off-box, best-effort offboard with the wizard's own claim secret, destroy) + the--target local-guest|droplet/--keep-dropletseam inscripts/smoke-private-path.sh. Droplet runs land intest-results/drive-droplet/.Verified:
--dry-runGREEN on both targets (local-guest output unchanged — kvm/qcow2/warm-cache gates stay its alone; droplet preflight passed with doctl authed, no guest machinery mentioned);playwright test --listselects exactly one spec per target and theOC_E2E_SPECoverride still wins; tsc adds no new errors; shellcheck clean on both scripts; fixture unit suite 30/30.Deviations recorded in the commit messages: the #375 memory floor gets a droplet-sized 2048 MiB variant, and
--drivewith--target dropletrefuses rather than composing. The Stage-1 checkpoint (a real--target dropletdrive to the pairing red) remains for the workstation per the plan.Task 8 landed (
62f8706):scripts/rehearsal-cycle.sh(one firing —drive, report on red, close THIS issue with evidence on GREEN) and
scripts/rehearsal-executor.sh(host-mode cron applying the swarm's exactreadiness rule to this issue — #377's verdict selected this branch). The
reporter now wires dependencies and holds the blocked invariant (6-case
offline test).
All code on this issue's path is now landed. What remains before the
flip is ops + rulings:
(
docs/operator-app/rehearsal-drive.md) + install the executor crontab.Include one local-guest drive there as host verification — that also
closes the Task-3 GREEN gate #377 left outstanding (substrate refusal
was its honest second path; the GREEN itself still wants a KVM host).
epic) and the #369 SMTP/contact ruling. Neither blocks the FIRST drive —
it reds honestly at pairing by design — but #368 is the tooth the
ratchet turns on after that.
no-triage→ready-for-agent. That is the declaration of readiness.Reopened — the close at 22:48 was Forgejo auto-close misreading the Task-8 commit body ("close #378 with evidence on GREEN" described the cycle script's behaviour, not an instruction). This issue is the standing drive issue and stays OPEN
no-triageuntil Ben flips itready-for-agent; the cycle script closes it only on a real GREEN droplet drive with evidence attached.This drive issue surfaced in the swarm ready-queue this iteration, but per your #380 ruling (2026-08-10) it is executed host-mode by
scripts/rehearsal-executor.shon the workstation cron — the swarm containers carry none of the drive credentials/substrate. This sandbox confirmed it: no.sandcastle/.env, noOURCLOUD_PAYLOAD_DIR, noOURCLOUD_BROKER_URL, noDIGITALOCEAN_ACCESS_TOKEN, nogo, no/dev/kvm. A swarm pick here would hot-loop on a drive it structurally cannot run (the sibling of #381`s undepended-red hot loop).Rather than drive (impossible here) or strip
ready-for-agent(which would disarm the host cron — the executor requires it), I closed the hole at the source:.sandcastle/list-ready-tasks.shnow excludes the standing drive issue (REHEARSAL_DRIVE_ISSUE, default 378 — the same env knob the two host-mode scripts default) from the swarm queue. The labelrehearsal-183is not excluded — the real holes the swarm plugs still surface. The executor reads this issue directly, so the ratchet`s real trigger is untouched.Fixed en route:
xargs -r— with this issue the only ready one left (todays live state), the emptied number stream would otherwise abort the whole list script (exit 123); the live run now returns[]` cleanly.Landed in
7b53c69(onorigin/main) with a new offline test.sandcastle/tests/list-ready-tasks-test.sh(5 cases). This issue stays OPEN andready-for-agentfor the host cron — GREEN is still its only close.drive
20260810T111039ZRED — now blocked by: #390 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T141050ZRED — now blocked by: #397 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T151050ZRED — now blocked by: #398 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T154053ZRED — now blocked by: #399 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T162053ZRED — now blocked by: #402 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T171130ZRED — now blocked by: #406 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T181051ZRED — now blocked by: #410 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T190054ZRED — now blocked by: #412 (evidence on each). The drive re-fires when the last blocker closes.drive
20260810T203119ZRED — now blocked by: #414 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T001112ZRED — now blocked by: #426 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T062137ZRED — now blocked by: #431 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T071123ZRED — now blocked by: #432 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T145107ZRED — now blocked by: #436 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260811T165115Zred atwizard(sig dcf630511b50) self-fixed — commit2523d880efea212502c997f1c89d574892c128d9(2 files changed, 45 insertions(+), 3 deletions(-)); checks: pnpm --filter app exec vitest run tests/unit/foundingOwnVPSCarrier.test.ts — 8/8 passed (incl. new post-connect-fault test); pnpm --filter app exec vitest run tests/unit/founding — 163/163 passed, no regressions. The drive stays armed; the next tick re-drives.drive
20260811T180057ZRED — now blocked by: #439 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260811T183121Zred atsupply(sig 404124947736) self-fixed — commit99393f9d27f12bf42244e90d51cb9cc15dacd504(1 file changed, 5 insertions(+), 3 deletions(-)); checks: pnpm exec vitest run tests/e2e/fixtures/journey.test.ts — 7/7 passed; pnpm exec tsc --noEmit -p . — no errors in journey.droplet.spec.ts; manual diff confirms OWN_VPS_ORDER now matches ownVPSJourneyRowIds (app/src/lib/founding.ts) element-for-element. The drive stays armed; the next tick re-drives.drive
20260811T185108ZGREEN end to end — evidence (legs.json, durations, trace, host facts) intest-results/drive-droplet/20260811T185108Z/on the executor host. Closing per the standing instructions: the droplet journey passes, #183 is ready to be boring.REOPENED — this was a FALSE GREEN. The harness reported DRIVE GREEN and auto-closed this issue, but
state/founding-state.jsonfrom run20260811T185108Zshowsstep: deploying(never founded-complete) and the finish leg carrying a real fault:scp: /var/lib/ourcloud/enroll.json: No such file or directory(the authority handover). GREEN is the ratchet contract for a COMPLETE founding; this run did not complete. Two defects filed and wired as blockers: the product scp fault, and the harness false-green (a faulted finish leg must fail the drive, not pass). The ratchet stays closed-on-genuine-green only.drive
20260811T195131ZRED — now blocked by: #442 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T204058ZRED — now blocked by: #443 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T221125ZRED — now blocked by: #451 (evidence on each). The drive re-fires when the last blocker closes.drive
20260811T232725ZRED — now blocked by: #456 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T000306ZRED — now blocked by: #457 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T003918ZRED — now blocked by: #458 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T010139ZRED — now blocked by: #461 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T024144ZRED — now blocked by: #462 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T032139ZRED — now blocked by: #464 (evidence on each). The drive re-fires when the last blocker closes.drive
20260812T035658ZGREEN end to end — evidence (legs.json, durations, trace, host facts) intest-results/drive-droplet/20260812T035658Z/on the executor host. Closing per the standing instructions: the droplet journey passes, #183 is ready to be boring.