rehearsal-9 Task 5: The journey — journey.rented-services.spec.ts (pick-files → place-files → rented prefix → services-row → hand-off-card → sign-in → files-healthy → door → branded-login → oidc-admin → branded-chrome → release)… #1489
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
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#1489
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?
Phase 9 (provision on founding) task 5 of 6. Spec:
docs/superpowers/specs/2026-09-15-183-phase-9-provision-on-founding-rehearsal-design.md. Plan (read the header, Global Constraints and plan-time inventory first — the Interfaces block below is how tasks learn each other's names):docs/superpowers/plans/2026-09-15-183-phase-9-provision-on-founding-rehearsal.md.Acceptance = every checkbox step below done, its verification commands green, one commit in the repo's voice. A blocked_by edge on this ticket names the task whose Interfaces it consumes.
Task 5: The journey —
journey.rented-services.spec.tsFiles:
app/tests/e2e/journey.rented-services.spec.tsapp/tests/e2e/fixtures/rentedServices.test.ts(the leg list + the row-verdict logic, offline)app/tests/e2e/fixtures/rentedServices.ts(RENTED_SERVICES_LEGS,servicesRowVerdict)Interfaces:
Consumes: Task 2 (
foundingServiceRows,foundingPlacementOf,pickServices,placeOnGateway), Task 3 (signInOperator,assertFilesBrandedLogin,assertFilesOidcAdmin,assertFilesBrandedChrome,assertPublicFilesDoor), Task 4 (expectServiceHealthyAtRest,readServiceDoorAtRest),runRentedPrefix/rentedPrefixCaptured/CEILING(fixtures/rentedPrefix.ts),assertHandOffFleet(fixtures/foundingFleet.ts:368), the rented spec's afterAll release/offboard shape (journey.rented.spec.ts:121-225) andreleaseleg (:358-387),panelAddress,sshDroplet.Produces:
export const RENTED_SERVICES_LEGS = ['pick-files','place-files','claim','wizard-rent','create','image-boot','point','deploy','activation','founded','services-row','hand-off-card','sign-in','files-healthy','door','branded-login','oidc-admin','branded-chrome','release'] as const;andexport function servicesRowVerdict(rows: FoundingServiceRow[], slug: string, apex: string): { ok: true; address: string } | { ok: false; reason: string }.Step 1: Failing fixture test (
rentedServices.test.ts):Step 2: Run, expect FAIL.
Step 3:
rentedServices.ts:Step 4: Run, expect PASS.
Step 5: The spec. Copy
journey.rented.spec.ts's header/imports/describe scaffolding (variableslive,legRecords,slug,reservedHost,reservedSecret,dropletIP,startedAt,commit,writeLegRecords,readState,brokerBase) and its afterAll VERBATIM minus the rentfail branch; verdict target string'rented-services'. No rentfail slug, no heartbeat leg. Body:Step 6: One prefix change — a
'confirm'entry.runRentedPrefix'sclaimleg doess5AddressSubdomain+servicesToAccess(rentedPrefix.ts:335-340), which phase 9 has already done with picks. Add'confirm'toPrefixEntry(rentedPrefix.ts:233): withenterFrom === 'confirm'the prefix asserts[data-status="founding-confirm"]is visible and theclaimleg records onlyreservedHost = foundingAddressHost(await readState())+ the host assertion (no re-walk);wizard-rent'ss4aRent+walkToConfirmare skipped the same way (the caller already placed and continued). Guard both withif (enterFrom !== 'confirm'). ExtendprefixNeedsWizardWalk(returns false for'confirm'). Add a case tofixtures/rentedPrefix.test.ts:prefixNeedsWizardWalk('confirm') === false.journey.rentedandjourney.devicepass'address'/'welcome'and are untouched — assert in the test that the default is still'address'.Step 7: The tail (continuing the spec body):
Wrap each
runRecordedLegcall withtest.step('journey: <leg>', …)exactly as the rented spec does; per-leg ceilings viatest.setTimeoutare NOT used — the fixtures carry their own timeouts (the spec table's ceilings are the fixtures' budgets:signInOperator5 min window,expectServiceHealthyAtRest6 min horizon, the prefix'sCEILING).Step 8: Verify offline —
pnpm --filter app build;pnpm exec vitest run tests/e2e/fixtures/(incl.rentedPrefix.test.ts); rootpnpm lint;grep -c "journey: " app/tests/e2e/journey.rented-services.spec.ts= 11 (the 8 prefix legs live in the fixture);grep -n "journey: " app/tests/e2e/journey.rented.spec.tsunchanged.Step 9: Commit —
e2e: phase 9 — journey.rented-services.spec.ts: Files picked and placed on the gateway at the founding page, the seam's S11 row + the hand-off card as the new teeth, then the droplet's Nextcloud proof at rest; runRentedPrefix gains a 'confirm' entry.donenever reads RUNNING (FoundingFleetSummary keys on the seam row; serviceFailsAt fake knob; locales; wireframe p1-s12)rented-services(smoke allowlist + machinery + rented teardown belt + cycle freshness gate), offline pin, rehearsal-drive.md markers, then ARM the drive issue on the workstation queueswarm-claim host=bens-mac-04 run=24539
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1489 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1489 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope