founding: deploy-gateway — control-plane stand-up, VM-mode retry, full-install recovery #57
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.
Blocks
Depends on
#65 founding: seed-fleet-authority — enrol node #1, seed crown jewels, hand over config repo
Matou/idss
#66 founding: standup-manual-paths — own-VPS install, machine-at-place methods, device-end consent
Matou/idss
#67 founding: resumability-and-logging — resumable stand-up state, refuse-or-migrate, logged steps
Matou/idss
#77 founding: standup-rented — the folded rented-server checklist (shortest complete path)
Matou/idss
Reference
Matou/idss#57
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?
Parent
Feature spec: #11 (founding).
What to build
The gateway deploy (P1-S11) that turns a paired, reachable server into a working community over the established clan connection. When deploy runs and completes, the control plane — config repo, deploy runner, IdP, web dashboard — is live on the gateway, the brand kit is applied to every surface it binds (portal, IdP login, dashboard), the operator's admin account exists from seeded declarative config, and the whole deploy ran over the clan connection, fully logged with drill-in (ADR 0027). Failure is honest per install mode: a VM-mode deploy failure retries cleanly — the VM is deleted and stand-up retries from Review (S6), leaving no wreckage; a full-install failure offers resume-the-deploy or reinstall-the-agent / rescue boot and states plainly there is no old OS to roll back to, returning via S6.
This slice runs on the
foundingorchestrator (ADR 0052) drivingclan.Deploywith layered outcome detection. Seeding, identity hand-off, and scrub are downstream slices; this slice ends with a live control plane on the gateway.Acceptance criteria
Blocked by
Task manifest
Done in
fa49f6d(pushed tomain).P1-S11 gateway deploy — from the join nodes resting
StandupDeploying(issue #47), thefoundingorchestrators deploy face (internal/founding/deploy.go) over a narrowClanFace(clan.Deploy+Config):RunDeployruns the control-plane apply against the gateway node over the established clan connection (ADR 0043), streaming checklist-granular events into a drill-in log (ADR 0027, Open/Download). On success the control plane (config repo · deploy runner · sign-in service · web dashboard) is live, the captured brand kit is applied to portal/IdP-sign-in/dashboard (the realbrandkit.Compile), and the operator admin is seeded from declarative config (their P1-S2 identity).DeployLive— the slice ends here.Recover(retry-vm)removes the VM's node (no wreckage, proven via newclan.Fake.Edits()) and returns the wizard to Review (S6).Evidence: Go seam tests
internal/founding/deploy_test.go(stories 21/22/23 + resume + guards, fake clan scripting deploy-fail in both install modes); shipsFoundingDeployGateway.vue(wireframep1-s11-deploy-gateway.html, mounted inFoundingStandup.vue, auto-runs after the gate/reachability passes — no operator click) +run-deploy/recoverbridge ops +app/tests/unit/foundingDeployGateway.test.ts. STATUS.md updated.Note: the Go/pnpm toolchains are Nix-gated and absent from the Sandcastle sandbox, so the suites were verified statically (eslint clean, tsc on the TS lib clean, manual review); CI runs them in full.
Unblocked next: enrollment handover + crown-jewel seeding (seed-fleet-authority, stories 24–26); passkey enrolment, recovery kit, scrub, hand-off S12 (identity-handoff-scrub, stories 27–32).
provision — DigitalOcean refused: Not Found#682