founding: standup-manual-paths — own-VPS install, machine-at-place methods, device-end consent #66
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.
Depends on
Reference
Matou/idss#66
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 device-end stand-up for the two manual public paths — the operator's own VPS and a machine at the operator's place — up to the shared spec gate. On own VPS (P1-S7a) the operator is given a one-line install command; running it installs the agent on the stock OS and the flow proceeds to install-mode consent (S8). For a machine at the operator's place (P1-S7b) the operator chooses the install method: the command-line method runs the install command on the device and proceeds to S8; the desktop-app method (GUI installer) hands off to device-add's P3-S2 (Join with a code), and on Linux the desktop path also offers full install. Once the P3-S2 hand-off completes and the app's agent pairs, probes the device, and specs meet the declared minimum, the flow rejoins at the spec gate (S9). At the device end, install-mode consent (P1-S8) is where the device owner consents on the device itself: they choose full install (wipes and replaces the OS at first deploy — consequences stated) or VM mode (keeps the OS, dedicates resources), and only then does the agent probe the device and pair — nothing wipes or claims a machine without the owner.
The S7b desktop-app method hands off to device-add's Join-with-a-code screen (P3-S2), which is device-add's contract — so this slice depends on device-add:app-join-happy (Ben-confirmed cross-feature edge, 2026-07-25). Runs on the
foundingorchestrator (ADR 0052).Acceptance criteria
Blocked by
Task manifest
Done in
9fa2535(onorigin/main).The device-end stand-up for the two manual public paths (P1-S7a/S7b) up to the shared spec gate. The
foundingorchestrator gains its manual-path face (internal/founding/manualpath.go):BeginStandupmints the one gateway enrollment code through the in-processenrollface (ADR 0043,GatewayRolehint ADR 0055) and rests at the one-line install command (curl … | sh -s -- <CODE>) carrying it, targeting the VPS IP. Running it → device-end consent (S8) → pair → S9.ChooseInstallMethodroutes the choice — the command-line method shows the same install command (S7b→S8, exactly the VPS path); the desktop-app method hands off to device-add's Join-with-a-code (P3-S2,StandupAppJoin) carrying the same code, and on Linux the app also offers full install (device-add's P3-S3L). founding touches device-add only at the hand-off (depends on #50). Once the app pairs/probes and specs meet the minimum, the flow rejoins at S9.enroll.PairRequest's Mode into the join node (Orchestrator.Pair), which records it and rejoins the spec gate (S9/S9x) — nothing wipes or claims a machine without the owner. The S8 device-end screen is device-add's shared surface; this slice reaches it, it does not re-own it. Rented/private paths stay unstarted (standup-rented's / private-path's).Ships: the
install-own-vps/install-machine/app-joinstand-up steps +Standup.Install, thebegin-standup/choose-install-methodstdio ops, andFoundingInstallOwnVPS.vue/FoundingInstallMachine.vuemounted inFoundingStandup.vue(which now loads via the idempotentbegin-standup).Evidence:
internal/founding/manualpath_test.go(stories 14–16 + idempotency/path-scope guards),internal/founding/stdio_test.go,app/tests/unit/foundingManualPaths.test.ts;go test ./internal/founding/green, all 174 app unit tests green.Note for the next iteration: the in-process
enrollface is still unwired in thefoundhelper bridge (spec-gate #47'sPairand this slice'sbegin-standupboth need it) — that production wiring is seed-fleet-authority's (#65, the app-hosted enroll control-plane face).