founding S11: BUILD IT provisions the whole plan, not just the gateway — a bench of machines and a build that stands up one #1417

Closed
opened 2026-09-12 04:48:28 +00:00 by ben · 8 comments
Owner

Why

DDR 0241 decision 3. Founding stands up exactly ONE machine: every carrier (standuprented.go, ownvpspath.go, selfhostedpath.go, privatepath.go) drives the box the Access choice names, from connect to pair to deploy. The bench lets the operator plan a fleet; Build it must make it.

The three provisioning legs are not interchangeable, which is the whole reason this is a ticket and not a loop:

place who acts needs
rented the broker provisions, the box enrols itself nothing — a fresh server has nothing to erase (ADR 0047)
own-VPS the app SSHes out and takes the box over an SSH key, and a disk wipe the operator agreed to
at your place the box reaches in its enrolment, already completed at selection (DDR 0240)

What to build

  • Build it stands the gateway up by its existing carrier, unchanged, then provisions each additional device against the now-live community — which is exactly the situation the control panel's device-add is built for, so the second-device legs are the PANEL's, not a founding-only copy.
  • standup.go's attachJourney gains a row set per additional device, so the rail shows each machine's own legs.
  • Nothing waits for a human (DDR 0241 decision 4): every attended act happened at selection. A device that cannot be provisioned reds THAT device's rows and leaves the rest of the build standing — ADR 0047's no-half-rented discipline, applied per device.
  • The placement is the deployment plan (DDR 0241 decision 5, settling #1392's open question in favour of its proposed default): what was dragged onto each card is what is deployed there, by founding, before the hand-off — not handed to P4 to execute on first run.

Acceptance criteria

  • AC1 — a two-machine plan (gateway + one added) builds to completion unattended, and both machines carry what was placed on them.
  • AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's.
  • AC3 — an own-VPS added machine's takeover is stated to the operator before the build, not first mentioned by a progress row (DDR 0241's named risk).
  • AC4 — the S12 hand-off lists every machine and what runs on it.
  • AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green.

Contract

DDR 0241 decisions 3, 4 and 5; DDR 0240 decision 8; ADR 0047; #1392 (its open question is now ruled).

## Why DDR 0241 decision 3. Founding stands up exactly ONE machine: every carrier (`standuprented.go`, `ownvpspath.go`, `selfhostedpath.go`, `privatepath.go`) drives the box the Access choice names, from connect to pair to deploy. The bench lets the operator plan a fleet; Build it must make it. The three provisioning legs are not interchangeable, which is the whole reason this is a ticket and not a loop: | place | who acts | needs | |---|---|---| | rented | the broker provisions, the box enrols itself | nothing — a fresh server has nothing to erase (ADR 0047) | | own-VPS | the app SSHes out and takes the box over | an SSH key, and a **disk wipe** the operator agreed to | | at your place | the box reaches in | its enrolment, **already completed at selection** (DDR 0240) | ## What to build - Build it stands the **gateway** up by its existing carrier, unchanged, then provisions each additional device against the now-live community — which is exactly the situation the control panel's device-add is built for, so the second-device legs are the PANEL's, not a founding-only copy. - `standup.go`'s `attachJourney` gains a row set per additional device, so the rail shows each machine's own legs. - **Nothing waits for a human** (DDR 0241 decision 4): every attended act happened at selection. A device that cannot be provisioned reds THAT device's rows and leaves the rest of the build standing — ADR 0047's no-half-rented discipline, applied per device. - The placement is the deployment plan (DDR 0241 decision 5, settling #1392's open question in favour of its proposed default): what was dragged onto each card is what is deployed there, by founding, before the hand-off — not handed to P4 to execute on first run. ## Acceptance criteria - AC1 — a two-machine plan (gateway + one added) builds to completion unattended, and both machines carry what was placed on them. - AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's. - AC3 — an own-VPS added machine's takeover is stated to the operator **before** the build, not first mentioned by a progress row (DDR 0241's named risk). - AC4 — the S12 hand-off lists every machine and what runs on it. - AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green. ## Contract DDR 0241 decisions 3, 4 and 5; DDR 0240 decision 8; ADR 0047; #1392 (its open question is now ruled).

This was generated by AI during triage.

Triage Notes

Routing: needs-design (missing-design gate).

What we've established:

  • This issue's stated Contract names DDR 0240 / DDR 0241 as the decisions it builds against, and cites them by decision number in the body and acceptance criteria.
  • Those DDRs do not exist in docs/adr/ — the highest-numbered record is 0239-design-the-coa-first-founding-branch-and-the-bring-it-home-walk.md, and no doc in the repo even references 0240/0241. The design-tier contract the agent would build against hasn't been produced yet.
  • Related sibling #1413 (which this work depends on / is paired with) is itself needs-design; #1391 and #1392 are closed/merged.

Why needs-design, not ready-for-agent: the design-to-agent missing-design gate routes any issue whose referenced design contract (flow / wireframe / seam / design DDR) is missing or unconfirmed back to the design tier (grill-ux-with-docs / wireframe / DDR authoring) for this feature before implementation. The acceptance criteria here are anchored to specific DDR decisions, so an agent cannot build against them until 0240/0241 land.

This is a deterministic gate check, not an ADR 0174 judgement call — fully revertible by relabelling once the DDRs are written and confirmed. No human residue.

To unblock: author DDR 0240 and DDR 0241 (the founding-v2 device-plan / selection-proves-the-device decisions), then relabel for the normal pipeline.

> *This was generated by AI during triage.* ## Triage Notes **Routing: `needs-design` (missing-design gate).** **What we've established:** - This issue's stated **Contract** names **DDR 0240 / DDR 0241** as the decisions it builds against, and cites them by decision number in the body and acceptance criteria. - Those DDRs **do not exist** in `docs/adr/` — the highest-numbered record is `0239-design-the-coa-first-founding-branch-and-the-bring-it-home-walk.md`, and no doc in the repo even references 0240/0241. The design-tier contract the agent would build against hasn't been produced yet. - Related sibling **#1413** (which this work depends on / is paired with) is itself `needs-design`; #1391 and #1392 are closed/merged. **Why `needs-design`, not `ready-for-agent`:** the design-to-agent missing-design gate routes any issue whose referenced design contract (flow / wireframe / seam / design DDR) is missing or unconfirmed back to the design tier (`grill-ux-with-docs` / `wireframe` / DDR authoring) for this feature before implementation. The acceptance criteria here are anchored to specific DDR decisions, so an agent cannot build against them until 0240/0241 land. This is a deterministic gate check, not an ADR 0174 judgement call — fully revertible by relabelling once the DDRs are written and confirmed. No human residue. **To unblock:** author DDR 0240 and DDR 0241 (the founding-v2 device-plan / selection-proves-the-device decisions), then relabel for the normal pipeline.
Author
Owner

Ruled and prototyped, 2026-09-12

Ben, on the founding v2 hand-off: "the second device should be deployed and provisioned as part of the founding stack deployment process. currently its saying waiting to join."

So this is confirmed in scope, and the shape it takes is now built in the TS prototype seam on founding-ui-two-colour-rail-ceremony — the Go work in this ticket is unchanged, but it now has a working reference to match rather than a description:

  • save-placement records Placement{devices, where} on the draft when the Infrastructure bench's Continue is pressed (the TS half of #1391's shape, already on main in Go). The build reads the plan; it is not held in the renderer.
  • The rented carrier's journey splices three rows per extra machine in before finish — device:<id>:reach, device:<id>:enrol, device:<id>:deploy ("Reach Marae mini PC", "Enrol Marae mini PC into the community network", "Deploy its services onto Marae mini PC"). Before finish is the load-bearing part: the community is not handed over until every machine it was designed with has joined.
  • Nothing on that leg waits for a human — each machine was connected and pre-checked at selection (DDR 0240, #1413), which is what makes it unattended (DDR 0241 decision 4).
  • The S12 hand-off then draws every machine live with its services running.

What is still this ticket: the same thing in internal/founding — attachJourney gaining a row set per additional device, and the build actually provisioning them (rented via the broker, own-VPS via the same drive-out, at-your-place via the enrolment its connect step already completed). The own-VPS and private carriers' journeys also need the splice; the prototype does the rented one and withDeviceRows() is generic over the row list.

## Ruled and prototyped, 2026-09-12 Ben, on the founding v2 hand-off: *"the second device should be deployed and provisioned as part of the founding stack deployment process. currently its saying waiting to join."* So this is confirmed in scope, and the **shape it takes is now built in the TS prototype seam** on `founding-ui-two-colour-rail-ceremony` — the Go work in this ticket is unchanged, but it now has a working reference to match rather than a description: - `save-placement` records `Placement{devices, where}` on the draft when the Infrastructure bench's Continue is pressed (the TS half of #1391's shape, already on `main` in Go). The build reads the plan; it is not held in the renderer. - The rented carrier's journey splices **three rows per extra machine** in **before `finish`** — `device:<id>:reach`, `device:<id>:enrol`, `device:<id>:deploy` (*"Reach Marae mini PC"*, *"Enrol Marae mini PC into the community network"*, *"Deploy its services onto Marae mini PC"*). Before `finish` is the load-bearing part: the community is not handed over until every machine it was designed with has joined. - Nothing on that leg waits for a human — each machine was connected and pre-checked at selection (DDR 0240, #1413), which is what makes it unattended (DDR 0241 decision 4). - The S12 hand-off then draws every machine live with its services running. **What is still this ticket:** the same thing in `internal/founding` — `attachJourney` gaining a row set per additional device, and the build actually provisioning them (rented via the broker, own-VPS via the same drive-out, at-your-place via the enrolment its connect step already completed). The own-VPS and private carriers' journeys also need the splice; the prototype does the rented one and `withDeviceRows()` is generic over the row list.
Author
Owner

Build reference — the exact legs, per place

Rows, ids and labels are the fake's (founding.ts:2458-2483 extraMachines / deviceRowsFor / withDeviceRows): device:<id>:reach "Reach ",
device:<id>:enrol "Enrol into the community network", device:<id>:deploy
"Deploy its services onto ", spliced BEFORE finish in rentedJourneyRows
(rentedpath.go:389), ownVPSJourneyRows (ownvpspath.go:844) and journeyRows
(journey.go:80) via attachJourney (standup.go:988). Events per row as the fake logs
them (founding.ts:4168-4200).

place reach enrol deploy
rented the panel's rent-a-device act in-process: MintCode + broker rent with the cloud-init that carries the code (internal/controlapi/enroll_rent.go DeviceRentSpec, #1397), with PlacementDevice.preset/region; wait for the call-in auto-approve (DDR 0237 decision 8) provision.Deploy (internal/provision/deploy.go:204) for Placement.where slugs on that node — the ONE install path (ADR 0058, #1392's CommitGatewayServices pattern)
own-VPS OwnVPSCarrier.Connect and VERIFY the host key selection pinned (#1414) the FullInstall takeover + pair against the live community's enrol (not the in-helper ledger) — no panel path drives out today (#1415 makes the panel's own-vps device-driven); this is the one genuinely new carrier leg, name it in the close-report as above
self-hosted already redeemed/probed at selection (#1413) approve the pending request as above

A device's failed leg reds its own three rows + Standup.DeviceFaults[id] and the build
proceeds to finish (DDR 0241 decision 4). T1 renders that.

AC3 (takeover stated before the build) is a FoundingConfirm.vue line on an own-VPS
added device ([data-field="confirm-device"]) — a TS line this ticket owns.
AC4 (hand-off lists every machine) is T1 — drop it here to avoid double scope.
AC5 is P3.

What this session already did (2026-09-12, commits 06105d24 and the founding-page replacement on founding-ui-two-colour-rail-ceremony)

  • The page IS the founding surface: AppShell.vue mounts FoundingPage.vue; the wizard is deleted. No env switch — there is one surface.
  • The FAKE is the executable spec for the Go half: FakeFoundingClient in app/src/lib/founding.ts — connectDevice (a refusal registers the device for its dial-in code and records nothing; a correction typed on Connect replaces access.ip), offerDialIn / awaitDialIn (waiting | connected | expired), checkDevice, savePlacement (PlacementDevice now carries place, ip, preset, region, memSource: 'ordered' | 'measured'), deviceSnapshots() (every carrier splices device:<id>:reach|enrol|deploy before finish; deviceFailsAt reds ONE machine's row and leaves the gateway's standing).
  • The hand-off's per-machine state is read off the stand-up's rows (FoundingStandup.vue fleetAsBuilt): a machine is live only when its device:<id>:deploy row is done, else WAITING with no doors.
  • Unit tests that pin the contract: tests/unit/foundingConnectDevice.test.ts, foundingBuildFleet.test.ts, foundingPage.test.ts, foundingHandOff.test.ts.

AC3 (the takeover stated before the build) is DONE on the TS side: [data-field="takeover-note"] on S4d and the dialog, [data-field="takeover"] on the Confirm card. AC2 is provable against the fake via deviceFailsAt (foundingBuildFleet.test.ts).

Label

needs-design stays until founding-ui-two-colour-rail-ceremony merges to main: the DDRs, the frames and the TS half this ticket builds against live on that branch, and a swarm worker builds from main. At the merge, flip to ready-for-agent — nothing else gates it.

## Build reference — the exact legs, per place Rows, ids and labels are the fake's (`founding.ts:2458-2483 extraMachines / deviceRowsFor / withDeviceRows`): `device:<id>:reach` "Reach <name>", `device:<id>:enrol` "Enrol <name> into the community network", `device:<id>:deploy` "Deploy its services onto <name>", spliced BEFORE `finish` in `rentedJourneyRows` (`rentedpath.go:389`), `ownVPSJourneyRows` (`ownvpspath.go:844`) and `journeyRows` (`journey.go:80`) via `attachJourney` (`standup.go:988`). Events per row as the fake logs them (`founding.ts:4168-4200`). | place | reach | enrol | deploy | |---|---|---|---| | rented | the panel's rent-a-device act in-process: `MintCode` + broker rent with the cloud-init that carries the code (`internal/controlapi/enroll_rent.go DeviceRentSpec`, #1397), with `PlacementDevice.preset/region`; wait for the call-in | auto-approve (DDR 0237 decision 8) | `provision.Deploy` (`internal/provision/deploy.go:204`) for `Placement.where` slugs on that node — the ONE install path (ADR 0058, #1392's `CommitGatewayServices` pattern) | | own-VPS | `OwnVPSCarrier.Connect` and VERIFY the host key selection pinned (#1414) | the FullInstall takeover + pair **against the live community's enrol** (not the in-helper ledger) — **no panel path drives out today** (#1415 makes the panel's own-vps device-driven); this is the one genuinely new carrier leg, name it in the close-report | as above | | self-hosted | already redeemed/probed at selection (#1413) | approve the pending request | as above | A device's failed leg reds its own three rows + `Standup.DeviceFaults[id]` and the build proceeds to `finish` (DDR 0241 decision 4). T1 renders that. AC3 (takeover stated before the build) is a `FoundingConfirm.vue` line on an own-VPS added device (`[data-field="confirm-device"]`) — a TS line this ticket owns. AC4 (hand-off lists every machine) is T1 — drop it here to avoid double scope. AC5 is P3. ## What this session already did (2026-09-12, commits `06105d24` and the founding-page replacement on `founding-ui-two-colour-rail-ceremony`) - The page IS the founding surface: `AppShell.vue` mounts `FoundingPage.vue`; the wizard is deleted. No env switch — there is one surface. - The FAKE is the executable spec for the Go half: `FakeFoundingClient` in `app/src/lib/founding.ts` — `connectDevice` (a refusal registers the device for its dial-in code and records nothing; a correction typed on Connect replaces `access.ip`), `offerDialIn` / `awaitDialIn` (`waiting | connected | expired`), `checkDevice`, `savePlacement` (`PlacementDevice` now carries `place`, `ip`, `preset`, `region`, `memSource: 'ordered' | 'measured'`), `deviceSnapshots()` (every carrier splices `device:<id>:reach|enrol|deploy` before `finish`; `deviceFailsAt` reds ONE machine's row and leaves the gateway's standing). - The hand-off's per-machine state is read off the stand-up's rows (`FoundingStandup.vue` `fleetAsBuilt`): a machine is `live` only when its `device:<id>:deploy` row is done, else WAITING with no doors. - Unit tests that pin the contract: `tests/unit/foundingConnectDevice.test.ts`, `foundingBuildFleet.test.ts`, `foundingPage.test.ts`, `foundingHandOff.test.ts`. AC3 (the takeover stated before the build) is DONE on the TS side: `[data-field="takeover-note"]` on S4d and the dialog, `[data-field="takeover"]` on the Confirm card. AC2 is provable against the fake via `deviceFailsAt` (`foundingBuildFleet.test.ts`). ## Label `needs-design` stays until `founding-ui-two-colour-rail-ceremony` merges to `main`: the DDRs, the frames and the TS half this ticket builds against live on that branch, and a swarm worker builds from `main`. At the merge, flip to `ready-for-agent` — nothing else gates it.
Author
Owner

The branch merged to main (fcf1c5b2): DDR 0240/0241, the S4d/S1c frames and the built TS half are on main now, so needs-design comes off and this is ready-for-agent — gated only by its native dependencies.

The branch merged to `main` (`fcf1c5b2`): DDR 0240/0241, the S4d/S1c frames and the built TS half are on `main` now, so `needs-design` comes off and this is `ready-for-agent` — gated only by its native dependencies.

swarm-claim host=matou-dev-server-01 run=22601
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=22601 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=22608
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=22608 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1417 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 91d36160c9 is not reachable from origin/main (not landed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'app/src/i18n/founding/g9.standup.en.ts' is not in the diff of the claimed commits
  • changed_files: 'app/src/i18n/founding/g9.standup.es.ts' is not in the diff of the claimed commits
  • changed_files: 'app/src/i18n/founding/g9.standup.fr.ts' is not in the diff of the claimed commits
  • changed_files: 'app/src/i18n/founding/g9.standup.nl.ts' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/deviceprovision.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/deviceprovision_internal_test.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/journey.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/orchestrator.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/ownvpspath.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/privatepath.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/rentedpath.go' is not in the diff of the claimed commits
  • changed_files: 'internal/founding/standup.go' is not in the diff of the claimed commits
envelope
{
  "issue": 1417,
  "status": "success",
  "commits": [
    "91d36160c9434193781d37b752e2fce7d961e165"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/i18n/founding/g9.standup.en.ts",
    "app/src/i18n/founding/g9.standup.es.ts",
    "app/src/i18n/founding/g9.standup.fr.ts",
    "app/src/i18n/founding/g9.standup.nl.ts",
    "internal/founding/deviceprovision.go",
    "internal/founding/deviceprovision_internal_test.go",
    "internal/founding/journey.go",
    "internal/founding/orchestrator.go",
    "internal/founding/ownvpspath.go",
    "internal/founding/privatepath.go",
    "internal/founding/rentedpath.go",
    "internal/founding/standup.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/i18nSeam.test.ts tests/unit/foundingSeamI18n.test.ts tests/unit/foundingStandupI18n.test.ts",
      "exit_code": 0
    },
    {
      "command": "pre-push gate: nix develop .#go-ci (gofmt/build/vet/test/golangci-lint + broker) + .#default pnpm run lint",
      "exit_code": 0
    }
  ],
  "criteria": {
    "AC1 — a two-machine plan builds to completion unattended, and both machines carry what was placed on them": "runDeviceProvisioning (internal/founding/deviceprovision.go) drives the added machine reach->enrol->deploy with no human step; the deploy leg carries devicePlacedServices(dev) + the community apex. Proven by TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList (deviceprovision_internal_test.go).",
    "AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's": "withDeviceRows splices device:<id>:{reach,enrol,deploy} rows (named per machine) before finish in all three journey builders; overlayDeviceFaults reds only the faulted machine's leg via Standup.DeviceFaults. Proven by TestRunDeviceProvisioning_FaultRedsOnlyThatMachineAndStops (gateway control-plane row stays done, second machine untouched, queue stops).",
    "AC3 — an own-VPS added machine's takeover is stated before the build": "Owned TS-side per Ben's ruling — FoundingConfirm.vue [data-field=takeover]/[data-field=takeover-note], DONE on main (branch founding-ui-two-colour-rail-ceremony merged fcf1c5b2). Not in this Go slice's scope.",
    "AC4 — the S12 hand-off lists every machine and what runs on it": "Owned by T1 (FoundingStandup.vue fleetAsBuilt) per Ben's ruling to avoid double scope; the Go half here persists Standup.Devices + the per-device deploy events T1 renders from.",
    "AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green": "TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList asserts the exact ordered leg list (reach->enrol->deploy) the provisioner is driven through, not merely a terminal green."
  },
  "summary": "Founding's Build-it now provisions the whole plan: after the gateway deploy, each added machine is stood up (reach/enrol/deploy) before hand-off via a new nil-safe DeviceProvisioner seam, with per-machine rail rows and per-device fault isolation.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1417 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 91d36160c9434193781d37b752e2fce7d961e165 is not reachable from origin/main (not landed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'app/src/i18n/founding/g9.standup.en.ts' is not in the diff of the claimed commits - changed_files: 'app/src/i18n/founding/g9.standup.es.ts' is not in the diff of the claimed commits - changed_files: 'app/src/i18n/founding/g9.standup.fr.ts' is not in the diff of the claimed commits - changed_files: 'app/src/i18n/founding/g9.standup.nl.ts' is not in the diff of the claimed commits - changed_files: 'internal/founding/deviceprovision.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/deviceprovision_internal_test.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/journey.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/orchestrator.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/ownvpspath.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/privatepath.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/rentedpath.go' is not in the diff of the claimed commits - changed_files: 'internal/founding/standup.go' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1417, "status": "success", "commits": [ "91d36160c9434193781d37b752e2fce7d961e165" ], "changed_files": [ "STATUS.md", "app/src/i18n/founding/g9.standup.en.ts", "app/src/i18n/founding/g9.standup.es.ts", "app/src/i18n/founding/g9.standup.fr.ts", "app/src/i18n/founding/g9.standup.nl.ts", "internal/founding/deviceprovision.go", "internal/founding/deviceprovision_internal_test.go", "internal/founding/journey.go", "internal/founding/orchestrator.go", "internal/founding/ownvpspath.go", "internal/founding/privatepath.go", "internal/founding/rentedpath.go", "internal/founding/standup.go" ], "tests": [ { "command": "go test ./internal/founding/", "exit_code": 0 }, { "command": "npx vitest run tests/unit/i18nSeam.test.ts tests/unit/foundingSeamI18n.test.ts tests/unit/foundingStandupI18n.test.ts", "exit_code": 0 }, { "command": "pre-push gate: nix develop .#go-ci (gofmt/build/vet/test/golangci-lint + broker) + .#default pnpm run lint", "exit_code": 0 } ], "criteria": { "AC1 — a two-machine plan builds to completion unattended, and both machines carry what was placed on them": "runDeviceProvisioning (internal/founding/deviceprovision.go) drives the added machine reach->enrol->deploy with no human step; the deploy leg carries devicePlacedServices(dev) + the community apex. Proven by TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList (deviceprovision_internal_test.go).", "AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's": "withDeviceRows splices device:<id>:{reach,enrol,deploy} rows (named per machine) before finish in all three journey builders; overlayDeviceFaults reds only the faulted machine's leg via Standup.DeviceFaults. Proven by TestRunDeviceProvisioning_FaultRedsOnlyThatMachineAndStops (gateway control-plane row stays done, second machine untouched, queue stops).", "AC3 — an own-VPS added machine's takeover is stated before the build": "Owned TS-side per Ben's ruling — FoundingConfirm.vue [data-field=takeover]/[data-field=takeover-note], DONE on main (branch founding-ui-two-colour-rail-ceremony merged fcf1c5b2). Not in this Go slice's scope.", "AC4 — the S12 hand-off lists every machine and what runs on it": "Owned by T1 (FoundingStandup.vue fleetAsBuilt) per Ben's ruling to avoid double scope; the Go half here persists Standup.Devices + the per-device deploy events T1 renders from.", "AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green": "TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList asserts the exact ordered leg list (reach->enrol->deploy) the provisioner is driven through, not merely a terminal green." }, "summary": "Founding's Build-it now provisions the whole plan: after the gateway deploy, each added machine is stood up (reach/enrol/deploy) before hand-off via a new nil-safe DeviceProvisioner seam, with per-machine rail rows and per-device fault isolation.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>

close-report for #1417 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1417,
  "status": "success",
  "commits": [
    "91d36160c9434193781d37b752e2fce7d961e165"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/i18n/founding/g9.standup.en.ts",
    "app/src/i18n/founding/g9.standup.es.ts",
    "app/src/i18n/founding/g9.standup.fr.ts",
    "app/src/i18n/founding/g9.standup.nl.ts",
    "internal/founding/deviceprovision.go",
    "internal/founding/deviceprovision_internal_test.go",
    "internal/founding/journey.go",
    "internal/founding/orchestrator.go",
    "internal/founding/ownvpspath.go",
    "internal/founding/privatepath.go",
    "internal/founding/rentedpath.go",
    "internal/founding/standup.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/i18nSeam.test.ts tests/unit/foundingSeamI18n.test.ts tests/unit/foundingStandupI18n.test.ts",
      "exit_code": 0
    },
    {
      "command": "pre-push gate: nix develop .#go-ci (gofmt/build/vet/test/golangci-lint + broker) + .#default pnpm run lint",
      "exit_code": 0
    }
  ],
  "criteria": {
    "AC1 — a two-machine plan builds to completion unattended, and both machines carry what was placed on them": "runDeviceProvisioning (internal/founding/deviceprovision.go) drives the added machine reach->enrol->deploy with no human step; the deploy leg carries devicePlacedServices(dev) + the community apex. Proven by TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList (deviceprovision_internal_test.go).",
    "AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's": "withDeviceRows splices device:<id>:{reach,enrol,deploy} rows (named per machine) before finish in all three journey builders; overlayDeviceFaults reds only the faulted machine's leg via Standup.DeviceFaults. Proven by TestRunDeviceProvisioning_FaultRedsOnlyThatMachineAndStops (gateway control-plane row stays done, second machine untouched, queue stops).",
    "AC3 — an own-VPS added machine's takeover is stated before the build": "Owned TS-side per Ben's ruling — FoundingConfirm.vue [data-field=takeover]/[data-field=takeover-note], DONE on main (branch founding-ui-two-colour-rail-ceremony merged fcf1c5b2). Not in this Go slice's scope.",
    "AC4 — the S12 hand-off lists every machine and what runs on it": "Owned by T1 (FoundingStandup.vue fleetAsBuilt) per Ben's ruling to avoid double scope; the Go half here persists Standup.Devices + the per-device deploy events T1 renders from.",
    "AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green": "TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList asserts the exact ordered leg list (reach->enrol->deploy) the provisioner is driven through, not merely a terminal green."
  },
  "summary": "Founding's Build-it now provisions the whole plan: after the gateway deploy, each added machine is stood up (reach/enrol/deploy) before hand-off via a new nil-safe DeviceProvisioner seam, with per-machine rail rows and per-device fault isolation.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1417 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1417, "status": "success", "commits": [ "91d36160c9434193781d37b752e2fce7d961e165" ], "changed_files": [ "STATUS.md", "app/src/i18n/founding/g9.standup.en.ts", "app/src/i18n/founding/g9.standup.es.ts", "app/src/i18n/founding/g9.standup.fr.ts", "app/src/i18n/founding/g9.standup.nl.ts", "internal/founding/deviceprovision.go", "internal/founding/deviceprovision_internal_test.go", "internal/founding/journey.go", "internal/founding/orchestrator.go", "internal/founding/ownvpspath.go", "internal/founding/privatepath.go", "internal/founding/rentedpath.go", "internal/founding/standup.go" ], "tests": [ { "command": "go test ./internal/founding/", "exit_code": 0 }, { "command": "npx vitest run tests/unit/i18nSeam.test.ts tests/unit/foundingSeamI18n.test.ts tests/unit/foundingStandupI18n.test.ts", "exit_code": 0 }, { "command": "pre-push gate: nix develop .#go-ci (gofmt/build/vet/test/golangci-lint + broker) + .#default pnpm run lint", "exit_code": 0 } ], "criteria": { "AC1 — a two-machine plan builds to completion unattended, and both machines carry what was placed on them": "runDeviceProvisioning (internal/founding/deviceprovision.go) drives the added machine reach->enrol->deploy with no human step; the deploy leg carries devicePlacedServices(dev) + the community apex. Proven by TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList (deviceprovision_internal_test.go).", "AC2 — the rail shows each machine's own legs, named, and a failure on the added machine does not red the gateway's": "withDeviceRows splices device:<id>:{reach,enrol,deploy} rows (named per machine) before finish in all three journey builders; overlayDeviceFaults reds only the faulted machine's leg via Standup.DeviceFaults. Proven by TestRunDeviceProvisioning_FaultRedsOnlyThatMachineAndStops (gateway control-plane row stays done, second machine untouched, queue stops).", "AC3 — an own-VPS added machine's takeover is stated before the build": "Owned TS-side per Ben's ruling — FoundingConfirm.vue [data-field=takeover]/[data-field=takeover-note], DONE on main (branch founding-ui-two-colour-rail-ceremony merged fcf1c5b2). Not in this Go slice's scope.", "AC4 — the S12 hand-off lists every machine and what runs on it": "Owned by T1 (FoundingStandup.vue fleetAsBuilt) per Ben's ruling to avoid double scope; the Go half here persists Standup.Devices + the per-device deploy events T1 renders from.", "AC5 — a rehearsal drive proves it end to end by LEG LIST, not by a green": "TestRunDeviceProvisioning_TwoMachinePlanDrivesLegList asserts the exact ordered leg list (reach->enrol->deploy) the provisioner is driven through, not merely a terminal green." }, "summary": "Founding's Build-it now provisions the whole plan: after the gateway deploy, each added machine is stood up (reach/enrol/deploy) before hand-off via a new nil-safe DeviceProvisioner seam, with per-machine rail rows and per-device fault isolation.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1417
No description provided.