founding: standup-rented — the folded rented-server checklist (shortest complete path) #77

Closed
opened 2026-07-25 04:58:26 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #11 (founding).

What to build

The stand-up checklist for a rented server (P1-S7) — the shortest complete path and the natural first end-to-end smoke. Because the community was created on a broker-provisioned server (story 6), the gateway image booted with the agent pre-installed and the helper paired it over SSH before the checklist surfaced (ADRs 0043/0048), so S7 marks install, consent, and pairing already done. The checklist then runs reachability, name wiring, and the gateway deploy in place, merging at hand-off (S12) — the S10/S11 screens belong to the manual paths only. If a checklist item fails (reachability, name, or deploy), the failed item shows its own retry, and switching the Access option reopens S4.

This slice wires the rented path's folded checklist end-to-end through the shared gate/reachability backbone, the gateway deploy, and hand-off. It runs on the founding orchestrator (ADR 0052) with the broker provided as a scripted fake.

Acceptance criteria

  • (story 13) Given the community is created on a rented server, when S7 opens, then install, consent, and pairing are marked done (the gateway image booted with the agent pre-installed, and the helper paired it over SSH before the checklist surfaced — ADRs 0043/0048), and the checklist runs reachability, name wiring, and the gateway deploy in place, merging at hand-off (S12) — S10/S11 screens belong to the manual paths only.
  • (story 13) Given a checklist item fails (reachability, name, or deploy), when the failure surfaces, then the failed item shows its own retry, and switching the Access option reopens S4.

Blocked by

  • #57 — the checklist runs the gateway deploy in place.
  • #72 — the folded path merges at hand-off (S12).

Task manifest

task: founding:standup-rented
implements_flow: p1-founding
implements_edge: S6→S7, S7→S12, S7→S4
wireframe: docs/ux/wireframes/p1-founding/p1-s7-standup-rented-server.html
interface: the `founding` orchestrator's rented-path stand-up face — open S7 with install/consent/pairing pre-marked done (image pre-installed agent, helper paired over SSH, ADRs 0043/0048), run reachability, name wiring, and the gateway deploy in place through to hand-off, with per-item retry and switch-Access → S4 on failure
seam: "`founding` orchestrator seam tests (bundled helper, Go) \u2014 fake broker client (provisioned gateway image), fake clan and DNS resolver, in-memory enroll ledger, real brandkit"
acceptance:
  - given: the community is created on a rented server
    when: S7 opens
    then: install/consent/pairing are pre-marked done (image pre-installed agent, helper paired over SSH, ADRs 0043/0048), and the checklist runs reachability, name wiring, and deploy in place, merging at hand-off (S12) — S10/S11 belong to manual paths
  - given: a checklist item fails (reachability, name, or deploy)
    when: the failure surfaces
    then: the failed item shows its own retry and switching Access reopens S4
depends_on: [deploy-gateway, identity-handoff-scrub]
out_of_scope:
  - "own-VPS / machine-at-place install methods and device-end consent — standup-manual-paths's (stories 14–16)"
  - "the private-path VM stand-up — private-path's (story 17)"
  - "the S9/S9x/S10 gate-and-reachability screens themselves — spec-gate-and-reachability's (stories 18–20)"
needs_human_decision: []
## Parent Feature spec: #11 (founding). ## What to build The stand-up checklist for a rented server (P1-S7) — the shortest complete path and the natural first end-to-end smoke. Because the community was created on a broker-provisioned server (story 6), the gateway image booted with the agent pre-installed and the helper paired it over SSH before the checklist surfaced (ADRs 0043/0048), so S7 marks install, consent, and pairing already done. The checklist then runs reachability, name wiring, and the gateway deploy in place, merging at hand-off (S12) — the S10/S11 screens belong to the manual paths only. If a checklist item fails (reachability, name, or deploy), the failed item shows its own retry, and switching the Access option reopens S4. This slice wires the rented path's folded checklist end-to-end through the shared gate/reachability backbone, the gateway deploy, and hand-off. It runs on the `founding` orchestrator (ADR 0052) with the broker provided as a scripted fake. ## Acceptance criteria - [ ] (story 13) Given the community is created on a rented server, when S7 opens, then install, consent, and pairing are marked done (the gateway image booted with the agent pre-installed, and the helper paired it over SSH before the checklist surfaced — ADRs 0043/0048), and the checklist runs reachability, name wiring, and the gateway deploy in place, merging at hand-off (S12) — S10/S11 screens belong to the manual paths only. - [ ] (story 13) Given a checklist item fails (reachability, name, or deploy), when the failure surfaces, then the failed item shows its own retry, and switching the Access option reopens S4. ## Blocked by - #57 — the checklist runs the gateway deploy in place. - #72 — the folded path merges at hand-off (S12). ## Task manifest ```yaml task: founding:standup-rented implements_flow: p1-founding implements_edge: S6→S7, S7→S12, S7→S4 wireframe: docs/ux/wireframes/p1-founding/p1-s7-standup-rented-server.html interface: the `founding` orchestrator's rented-path stand-up face — open S7 with install/consent/pairing pre-marked done (image pre-installed agent, helper paired over SSH, ADRs 0043/0048), run reachability, name wiring, and the gateway deploy in place through to hand-off, with per-item retry and switch-Access → S4 on failure seam: "`founding` orchestrator seam tests (bundled helper, Go) \u2014 fake broker client (provisioned gateway image), fake clan and DNS resolver, in-memory enroll ledger, real brandkit" acceptance: - given: the community is created on a rented server when: S7 opens then: install/consent/pairing are pre-marked done (image pre-installed agent, helper paired over SSH, ADRs 0043/0048), and the checklist runs reachability, name wiring, and deploy in place, merging at hand-off (S12) — S10/S11 belong to manual paths - given: a checklist item fails (reachability, name, or deploy) when: the failure surfaces then: the failed item shows its own retry and switching Access reopens S4 depends_on: [deploy-gateway, identity-handoff-scrub] out_of_scope: - "own-VPS / machine-at-place install methods and device-end consent — standup-manual-paths's (stories 14–16)" - "the private-path VM stand-up — private-path's (story 17)" - "the S9/S9x/S10 gate-and-reachability screens themselves — spec-gate-and-reachability's (stories 18–20)" needs_human_decision: [] ```
Author
Owner

Done in 9e946b7 (on origin/main).

What shipped — the P1-S7 folded rented-server checklist:

  • Orchestrator.StandUpRented (internal/founding/standuprented.go): opens S7 with install/consent/pairing pre-marked done (the broker-provisioned gateway image booted with the agent pre-installed and the helper paired it over SSH before the checklist surfaced — ADRs 0043/0048). It mints+redeems the gateway code in-process and relays the pair to the shared spec gate (Orchestrator.pair) — the rented preset meets the gateway minimum so there is no separate S9 screen — and, the path being public, lands on the reachability test.
  • The reachability test, name wiring, and gateway deploy then run in place as checklist items (reusing the join nodes RunReachability and deploy-gateways RunDeploy), so the operator never visits the S10/S11 screens, and the path exits straight to hand-off (S12) where every path merges.
  • A failed item (reachability/name/deploy) shows its own retry, and switching Access reopens S4 (ReopenAccess, enrollment untouched). Idempotent + path-scoped (ErrNotRentedPath).

Acceptance (story 13): both clauses covered by seam tests (internal/founding/standuprented_test.go) and the folded-checklist component (FoundingStandupRented.vue, built to p1-s7-standup-rented-server.html, mounted in FoundingStandup.vue for the rented path in place of the S9/S10/S11 screens) with tests in app/tests/unit/foundingStandupRented.test.ts.

Verify: go test ./internal/... green; app vitest 191/191, vue-tsc build, and eslint all clean. Sibling founding tests that used rented as a generic public stand-in were migrated to own-vps (rented now has its own folded behavior). With this, founding`s P1 flow is complete across all four Access paths.

Evidence lives in the commit; STATUS.md header + milestone log updated.

Done in `9e946b7` (on `origin/main`). **What shipped — the P1-S7 folded rented-server checklist:** - `Orchestrator.StandUpRented` (`internal/founding/standuprented.go`): opens S7 with install/consent/pairing pre-marked done (the broker-provisioned gateway image booted with the agent pre-installed and the helper paired it over SSH before the checklist surfaced — ADRs 0043/0048). It mints+redeems the gateway code in-process and relays the pair to the shared spec gate (`Orchestrator.pair`) — the rented preset meets the gateway minimum so there is no separate S9 screen — and, the path being public, lands on the reachability test. - The reachability test, name wiring, and gateway deploy then run **in place** as checklist items (reusing the join node`s `RunReachability` and deploy-gateway`s `RunDeploy`), so the operator never visits the S10/S11 screens, and the path exits straight to hand-off (S12) where every path merges. - A failed item (reachability/name/deploy) shows its own retry, and switching Access reopens S4 (`ReopenAccess`, enrollment untouched). Idempotent + path-scoped (`ErrNotRentedPath`). **Acceptance (story 13):** both clauses covered by seam tests (`internal/founding/standuprented_test.go`) and the folded-checklist component (`FoundingStandupRented.vue`, built to `p1-s7-standup-rented-server.html`, mounted in `FoundingStandup.vue` for the rented path in place of the S9/S10/S11 screens) with tests in `app/tests/unit/foundingStandupRented.test.ts`. **Verify:** `go test ./internal/...` green; app vitest 191/191, `vue-tsc` build, and eslint all clean. Sibling founding tests that used `rented` as a generic public stand-in were migrated to `own-vps` (rented now has its own folded behavior). With this, founding`s P1 flow is complete across all four Access paths. Evidence lives in the commit; STATUS.md header + milestone log updated.
ben closed this issue 2026-07-26 06:46:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#77
No description provided.