founding S11: BUILD IT provisions the whole plan, not just the gateway — a bench of machines and a build that stands up one #1417
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#1417
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?
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:
What to build
standup.go'sattachJourneygains a row set per additional device, so the rail shows each machine's own legs.Acceptance criteria
Contract
DDR 0241 decisions 3, 4 and 5; DDR 0240 decision 8; ADR 0047; #1392 (its open question is now ruled).
Triage Notes
Routing:
needs-design(missing-design gate).What we've established:
docs/adr/— the highest-numbered record is0239-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.needs-design; #1391 and #1392 are closed/merged.Why
needs-design, notready-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.
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-placementrecordsPlacement{devices, where}on the draft when the Infrastructure bench's Continue is pressed (the TS half of #1391's shape, already onmainin Go). The build reads the plan; it is not held in the renderer.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"). Beforefinishis the load-bearing part: the community is not handed over until every machine it was designed with has joined.What is still this ticket: the same thing in
internal/founding—attachJourneygaining 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 andwithDeviceRows()is generic over the row list.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
finishinrentedJourneyRows(
rentedpath.go:389),ownVPSJourneyRows(ownvpspath.go:844) andjourneyRows(
journey.go:80) viaattachJourney(standup.go:988). Events per row as the fake logsthem (
founding.ts:4168-4200).MintCode+ broker rent with the cloud-init that carries the code (internal/controlapi/enroll_rent.go DeviceRentSpec, #1397), withPlacementDevice.preset/region; wait for the call-inprovision.Deploy(internal/provision/deploy.go:204) forPlacement.whereslugs on that node — the ONE install path (ADR 0058, #1392'sCommitGatewayServicespattern)OwnVPSCarrier.Connectand VERIFY the host key selection pinned (#1414)A device's failed leg reds its own three rows +
Standup.DeviceFaults[id]and the buildproceeds to
finish(DDR 0241 decision 4). T1 renders that.AC3 (takeover stated before the build) is a
FoundingConfirm.vueline on an own-VPSadded 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
06105d24and the founding-page replacement onfounding-ui-two-colour-rail-ceremony)AppShell.vuemountsFoundingPage.vue; the wizard is deleted. No env switch — there is one surface.FakeFoundingClientinapp/src/lib/founding.ts—connectDevice(a refusal registers the device for its dial-in code and records nothing; a correction typed on Connect replacesaccess.ip),offerDialIn/awaitDialIn(waiting | connected | expired),checkDevice,savePlacement(PlacementDevicenow carriesplace,ip,preset,region,memSource: 'ordered' | 'measured'),deviceSnapshots()(every carrier splicesdevice:<id>:reach|enrol|deploybeforefinish;deviceFailsAtreds ONE machine's row and leaves the gateway's standing).FoundingStandup.vuefleetAsBuilt): a machine isliveonly when itsdevice:<id>:deployrow is done, else WAITING with no doors.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 viadeviceFailsAt(foundingBuildFleet.test.ts).Label
needs-designstays untilfounding-ui-two-colour-rail-ceremonymerges tomain: the DDRs, the frames and the TS half this ticket builds against live on that branch, and a swarm worker builds frommain. At the merge, flip toready-for-agent— nothing else gates it.The branch merged to
main(fcf1c5b2): DDR 0240/0241, the S4d/S1c frames and the built TS half are onmainnow, soneeds-designcomes off and this isready-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=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:
91d36160c9is not reachable from origin/main (not landed)envelope
close-report for #1417 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope