founding-time agent enroll: the install one-liner demands OURCLOUD_COMMUNITY_ORIGIN on a path where no gateway exists yet — wire the ADR 0043 founding enroll face #581
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
Reference
Matou/idss#581
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?
First phase-3 drive
20260815T062245Z(--target selfhosted, the first live outing of the manual founding path):wizard-precheck/claim/create/install-commandall green, red atagent-install:Cause
agent/cmd/agent/wiring_prod.go:69builds the ONLY production enroll transport fromOURCLOUD_COMMUNITY_ORIGIN— the ADR 0054 add-device-to-an-existing-community shape. On the FOUNDING path there is no gateway yet by construction. The 2026-08-09 ratchet plan (docs/superpowers/plans/2026-08-09-183-vps-rehearsal-ratchet.md:72) explicitly named this unbuilt: "the agent's founding-time origin (OURCLOUD_COMMUNITY_ORIGIN points at a gateway that doesn't exist yet; at founding the enroll face is the in-helper ledger — app/helper/cmd/helper/wiring_prod.go:280)" along with "the SSH relay carrier (helper reaches the device over SSH and relays the agent's redeem/pair calls; agent serves enrollment on a local Unix socket)" (ADR 0043). Phase 2 never hit it — the own-VPS path has the app drive the box itself (DDR 0154, no pasted command). None of #515–#522 built it (bootstrap host, walkthrough, fixtures, spec, executor target — checked).Direction
Wire the founding enroll face per ADR 0043/0053, honouring the phase-3 spec's leg contract (
agent-installbar = agent fetched + service up; enrollment proper happens at thepairleg):internal/join/socket.goexists), and the S8 terminal consent runs as designed. Keep the loud error for the add-device shape where a code implies an existing community (the honest-refusal contract stands there).helper/cmd/helper/wiring_prod.go~280). Check what already exists before building — the private path's in-helper ledger face and the join socket are live; the missing piece is plausibly ONLY the SSH-relayed dial between them.consent+pairlegs (journey.selfhosted.spec.ts, #520/#521 fixtures) hold the acceptance contract: terminal consent answered over the same SSH session, then "agent probed + paired; spec gate passes the droplet's hardware".If the relay carrier turns out to be genuinely large, split the agent-side founding-mode fix (unblocks
agent-install/consent) from the relay (unblockspair) — sequenced tickets, the first blocking this drive.Evidence:
test-results/drive-selfhosted/20260815T062245Z/(executor log + legs.json; get.idss.nz bootstrap itself proven live this drive).advances #523
swarm-claim host=matou-dev-server-01 run=6774
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #581 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope