agent: device-transport — the agent enrolls against a remote control plane over HTTP #207
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
Depends on
Reference
Matou/idss#207
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
Device-add spec #13; consumes #192's real device-side adapters. Gap audit 2026-07-30 (post #191–#195 sweep of the composition roots and both app shells). Filed per the #191–#195 precedent: a close-out blocker of #183 found while preparing the run, confirmed by Ben.
What's true today
/get— has no server: nothing serves that route.What to build
Acceptance criteria
Task manifest
Blocked by
Blocks
#183 — leg B·2 (both joins are wire-driven) and Phase A's call-in.
Landed as
9db23c5onmain.The device↔control-plane wire now exists — a device on another machine enrolls over HTTP; every agent subcommand no longer builds its own in-process ledger and enrolls against itself.
internal/enrollwirecarries both ends of the enroll device face (ADR 0037):RegisterDevicemounts redeem/pair/poll/confirm over the real*enroll.Ledger, andClientis the agents realenroll.ControlPlaneHTTP client. The seams typed error taxonomy (code errors + spec-gate/virt/arch, with detail) is encoded and reconstructed across the wire, so joins Redeem outcomes and Pair rejection screens are identical local-or-remote. A transport fault (no reachable gateway) fails loud (ADR 0100).controlapi.WithInstallDoorwayserves/getwith the fleets pinned per-arch agent from the gateways own seeded cache (install.CacheSource,OURCLOUD_AGENT_CACHE, ADR 0054/0051); an unseeded cache fails loud (ADR 0100).internal/devicekey, ed25519, persisted 0600): retires the 32-zero placeholder — the private half never leaves the machine.enrollTransportForoverOURCLOUD_COMMUNITY_ORIGIN, fail-loud without it); the in-process ledger is a-tags devtest double only. The whole control-plane composition wires the real ledger + cache; resting fails loud on both.Acceptance (seam:
internal/enrollwire/device_transport_integration_test.go):/getinstall route serves the real payload (driven by the real install command viainstall.Gateway).Error-taxonomy round-trip additionally covered in
taxonomy_test.go. Reviewed compile/lint-clean (no Go toolchain in the sandbox, #198). Unblocks #183 leg B·2 and Phase As call-in.Next slice: the device heartbeat (fleet-reporting) transport —
unbuiltFleetfails loud until it lands.removableon the catalogue read, and the live client's two verbs — the UI is on main and draws no button until this lands #1590