control panel: the device-add dialog CONNECTS and pre-checks the machine before it becomes a fleet row #1415
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#1415
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 0240 decision 7: one step, wherever a device is chosen. Founding's Add-a-device dialog already takes it (branch
founding-ui-two-colour-rail-ceremony,app/src/components/founding/FoundingConnectDevice.vueembedded as the dialog's third stage). The control panel's dialog — the ORIGINAL, which founding's is a duplicate of (DDR 0237) — does not.Today the panel's
own-vpsandself-hostedpaths go straight from the enrol form to a code and a wait: the operator can name and enrol a machine that was never reached, and the fleet row appears with no measured size.rentedis the exception and stays as it is — the broker provisions from the gateway image and the box enrols itself on its own key (DDR 0237 decisions 4 and 8), so there is nothing to reach until it exists.What to build
connectstage indashboard/src/components/device-add/between the enrol form and the device's own rows, drawing the same two doors and the same refusal-with-fallback as founding's.dashboard/src/lib/deviceAdd.ts) gains the four ops' faces, optional likeplaceOptions/serverOffer— a seam that cannot reach devices skips the stage rather than showing a dead door.When the shared dialog moves into the UI kit, founding's duplicate goes with it — the connect panel is the piece most worth sharing, since both surfaces now draw it identically.
Acceptance criteria
cd dashboard && pnpm harness,panel.html?scenario=steady) drives all three.Contract
DDR 0240 decision 7; DDR 0237; wireframe
docs/ux/wireframes/p2-device-add-cli/p2-s1c-connect-and-check.html; flowdocs/ux/flows/p2-device-add-cli.mermaidS1c.Triage Notes
Category: enhancement. State:
needs-design(missing-design gate).What we've established:
dashboard/src/components/device-add/) has noconnectstage today — confirmed net-new work, not already implemented onmain. Founding's dialog carries the connect stage on branchfounding-ui-two-colour-rail-ceremony(the duplicate per DDR 0237); the panel — the original — does not.panel.html?scenario=steadyharness drive) are concrete and driveable.Why
needs-design, notready-for-agent: the design contract is not in the repo:mainis 0239. The ruling has not been written up.docs/ux/wireframes/p2-device-add-cli/p2-s1c-connect-and-check.htmldoes not exist — that folder holds s1, s1a, s1b, s2, s3, s4, s5, but nos1c.docs/ux/flows/p2-device-add-cli.mermaid.Per the missing-design gate (
docs/agents/triage-labels.md,docs/PROCESS.md), this routes back towireframe/ the DDR write-up for the p2 S1c connect-and-check screen. Note this issue is the panel-side twin of #1413 (founding-side); both are blocked on the same missing DDR 0240 + their respective S1c/S4d wireframes. Once those land, re-triage toready-for-agent.Not
ready-for-human: the residue is a missing design artifact (design tier's job), not a one-way door.Build reference
Founding's twin is
FoundingConnectDevice.vuemountedembeddedinsideadddevice/FoundingAddDeviceDialog.vue(stageconnectafter theownform;[data-action="connect-next"]), withdevice=<name>so the facts are keyed to theplanned machine. Lift THAT component into the kit rather than re-drawing it; the
panel's seam (
dashboard/src/lib/deviceAdd.ts DeviceAddSource) gains the four facesoptional, and the four ops ride the control-plane API (a live community exists here, so
the transport is the panel's normal enrol API, not ADR 0181's relay).
Proof: P4 (a
connectleg onjourney.device.spec.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=22596
(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)
close-report for #1415 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope