rehearsal-4: rented carrier — own-VPS worker in clan.VMMode (no takeover) + S4a/S7 rented screens per DDR 0190 #649
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#649
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?
Arc: #183 rehearsal phase 4 — rented gateway (S4a). Spec:
docs/superpowers/specs/2026-08-21-183-phase-4-rented-gateway-rehearsal-design.md. Plan:docs/superpowers/plans/2026-08-21-183-phase-4-rented-gateway-rehearsal.md(read its Global Constraints first — they apply to this task). This ticket's body is the plan's task verbatim. Phase-3 precedent: #515–#523.Task 5: Rented carrier
rentedpath.go+ S7 rented screen — own-VPS worker in VMModeFiles:
internal/founding/rentedpath.gointernal/founding/rentedpath_test.go(seam tests withfoundingtesting.NewFakeOwnVPSCarrier()+ fakes)internal/founding/standuprented.go—StandUpRentedbecomes: guard (AccessRented, seams present) → pre-mark the three rows →launchRentedJourney(ctx, s);RentedProbe+ErrRentedProbeUnavailableretire (the carrier'sConnectfacts ARE the probe) — updatestanduprented_test.gointernal/founding/manualpath.goBeginStandupdispatch (AccessRented→requireRentedSeams()→launchRentedJourney), resume path (resumeRented, mirroringresumeOwnVPS)internal/founding/orchestrator.go(droprentedProbe;requireRentedSeams= ownVPSCarrier + guestSupply + guestTrust + enroll + clan)app/helper/cmd/helper/wiring_prod.gocomment: the own-VPS carrier now serves the rented path too (root@<ip>over the app's key — the key DO injected, ruling 4: the app's own-VPS operator key IS thePubKeysent inRentRequest; find where that key lives —ownVPSKnownHostsPath()neighbour — and exposefounding.WithRentPubKey(path)soRentServerreads it)app/src/components/founding/FoundingAccess.vue(S4a per DDR 0190: offer facts,data-action="rent",data-status="rent-error"),FoundingStandup.vue(rented checklist: the three pre-marked rows then the live carrier rows — same row component as own-VPS)STATUS.mdInterfaces:
Consumes: Task 4's
RentResult/draft shape; existingOwnVPSCarrier.Connect,GuestSupply.Seed,guestTrust.Ensure,clan.Enroll,driveEnrollment,runJourneyDeploy,runJourneyFinish,ownVPSJourneyRows/DeployRowvocabulary.Produces:
launchRentedJourney(ctx, s State) StandupView; rowsconnect → point → seed → supply → enroll-configure(update) → pair → deploy…;StandupRentedlog rowsrented,install,pairingpre-marked (existing strings kept);JourneyRowConnect/JourneyRowPointreused.Step 1: Write
rentedpath_test.go(failing):TestRentedJourney_RowsNeverIncludeInstallPhases(nokexec/diskoevents; enroll request captured by the fake clan hasInstall == clan.VMMode,AmbientSSH == true,Network.Zero()allowed);TestRentedJourney_SupplyRunsBeforeEnroll(order of fake calls);TestRentedJourney_ConnectFailureIsResumable;TestRentedJourney_PreMarkedRowsPresentBeforeConnect;TestStandUpRented_RefusesOffPath.Step 2: Run
go test ./internal/founding -run Rented -v→ FAIL.Step 3: Write
rentedpath.go— copyrunOwnVPSJourneyand edit: afterconnect+point+seedCommunityConfig+guestTrust.Ensure, supply first (o.guestSupply.Seed(ctx, ip, ownVPSSSHPort)— the box is already NixOS, the private path's order), theninstallRented=installOwnVPSwithInstall: clan.VMMode, noNetwork,AuthorizedKeys: appendGuestTrust(facts.RootAuthorizedKeys, trust), sameGateway: publicGatewayFacts(d, ip, claim, smtp); noRotateHostKey(no reboot); thenpairOwnVPS(ctx, s, st, facts)withConsentHash: rentedConsent; thenrunJourneyDeploy+runJourneyFinish. Step constantStandupRentedfor events. Rows builderrentedJourneyRows=ownVPSJourneyRowsprefixed by the three pre-marked done rows.Step 4: Run → PASS. Then
go test ./internal/founding/...whole package → PASS (updatestanduprented_test.goexpectations).Step 5: App screens — S4a + S7 per the wireframes; add a Vitest unit for the S4a component (offer renders
terms; no payment input;rent-errorshows stage+message).Step 6: Run
pnpm --filter app test && pnpm -r typecheck→ PASS.Step 7: Commit —
git commit -m "rehearsal-4: rented carrier — own-VPS worker in VMMode, no takeover; S4a/S7 rented screens per DDR 0190 (#649)".swarm-claim host=matou-dev-server-01 run=8645
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #649 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope