device-add DDR + wireframes: the add-a-device DIALOG opens on P1-S4's place screen and can RENT another VPS from the panel (amends DDR 0109; p2-s1 becomes a dialog) #1395
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
Reference
Matou/idss#1395
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
Control-panel UI pass, Ben 2026-09-10/11 (branch
founding-ui-two-colour-rail-ceremony, unmerged at filing). Device-add spec #13 (ADRs 0053–0057, DDR 0109); founding Access step P1-S4/S4a (ADR 0189 / DDR 0190). The dashboard half is BUILT on the branch:dashboard/src/components/device-add/{PlaceScreen,RentServerScreen,RentedScreen}.vue,DeviceAddSurface.vue(stages place → rent → rented | form),shell/DeviceAddDialog.vue, seamdashboard/src/lib/deviceAdd.ts(DevicePlaceOption,ServerOffer,RentServerRequest,RentedServer; OPTIONALplaceOptions/serverOffer/rentServeronDeviceAddSource), fakedashboard/tests/fakes/deviceAdd.ts, browser harnesscd dashboard && pnpm harness→http://localhost:5198/panel.html?scenario=steady.What to record
The design contract for what is already built on the branch, so
/design-verifyand the swarm have a wireframe to hold the code to:NNNN-design-device-add-dialog-and-place-screen.md(next free number — checkorigin/mainbefore minting, the 0145 lesson) amending DDR 0109 (device-add mounted in place on the Fleet tab): device-add is now ONE modal dialog owned by the frame (navigatordialogstate), opened from the Overview's add-a-device skeleton, the Fleet tab's "+ Add device" and the codes ledger's "+ New code". Its FIRST screen is founding's P1-S4 "where will it live?" — three picture cards (rented · recommended, I already have a VPS, a machine at your place;private/local sandbox is a place to FOUND in, never to add a device). Rented → P1-S4a's rent card (device name, the broker's sizes + prices, provider · region, Rent) → a rented outcome (name, address, size, region; Done closes) — the box enrols ITSELF, no code is handed over. Own-VPS → the enrol form with kind=server preset. Self-hosted → the enrol form (name → kind picker → location → role hint → two doorways; Back). Record the rulings: the place art is the KIT's (packages/ui-kit/src/components/OcPlaceArt.vue, the app'sFoundingAccessArt.vueis a wrapper); a seam without a broker opens straight on the form; a failed rent stays on the card, nothing half-rented (ADR 0047).docs/ux/wireframes/p2-device-add-cli/:p2-s1-fleet-add-device.htmlredrawn as the dialog's enrol form; newp2-s1a-where-will-it-live.html(the place screen) andp2-s1b-rent-a-server.html(rent card + rented outcome). Samedata-field/data-actionnames the built components use (device-place,place-options,option:<kind>,rent-server,server-presets,preset:<slug>,region,rent,rented-server,done,device-name-input,kind-<kind>,device-location-input,intended-role-select,path-cli,path-app,back).docs/ux/flows/p2-device-add-cli.mermaid: edge DF/A4/DF2 → P2-S1 now lands on S1a; S1a → S1b (rented) → done; S1a → S1 (own-vps, self-hosted).docs/architecture/diagram touched by the dialog ruling, if any (ADR 0042), in the same commit.Acceptance criteria
data-field/data-actionthe built components emit appears on the frame that owns it, and nothing on a frame is absent from the code.STATUS.md, when the commit lands, then the header line and the device-add row record the amended contract.Why session
Design-tier run (
/wireframe, DDR) on an unmerged branch — session standing, not a swarm worker.placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screenjourney.rented-device.spec.tson the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only closeGET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screen #1398journey.rented-device.spec.tson the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only close #1400Close-report — ruled by agent under ADR 0174 (veto anytime).
Design-tier session; the design contract for the add-a-device dialog built on the unmerged branch
founding-ui-two-colour-rail-ceremonyis now recorded. Commit7f5c9188e75ca207db586be2ec6ac22788676d62onmain.Landed
0237-design-device-add-dialog-and-place-screen.md(next free number, checked againstorigin/main) — amends DDR 0109. States, each dated Ben 2026-09-11: the dialog ruling (one frame-owned modal, navigatordialogstate, opened from the Overview add-a-device skeleton / Fleet+ Add device/ codes ledger+ New code); the place-screen ruling (first screen = founding P1-S4, cardsoption:rented·recommended /option:own-vps/option:self-hosted, kit'sOcPlaceArt.vuewithFoundingAccessArt.vuea wrapper, private deliberately absent); the rented-enrols-itself rule (no code handed over, ADR 0047); the no-broker fallback (placeOptionsabsent → straight to the enrol form); and the failed-rent-stays-in-place / nothing-half-rented rule (ADR 0047 · DDR 0190).docs/ux/wireframes/p2-device-add-cli/:p2-s1-fleet-add-device.htmlredrawn as the dialog's enrol form; newp2-s1a-where-will-it-live.html(place) andp2-s1b-rent-a-server.html(rent card + rented outcome). Everydata-field/data-actionfrom the ticket appears on the owning frame — place:device-place,place-options,option:<kind>; rent:rent-server,device-name-input,server-presets,preset:<slug>(s-2vcpu-4gb/s-4vcpu-8gb, #1393),region,rent,rented-server,done; form:device-name-input,kind-<kind>,device-location-input,intended-role-select,path-cli,path-app,back.docs/ux/flows/p2-device-add-cli.mermaid: entry edges (DO/DF/DF2/A4) land on S1a; S1a→S1b (rented)→done; S1a→S1 (own-vps, self-hosted); no edge on the old in-place Fleet mount.shell.mermaidentry labels relabelled to "opens the device-add dialog" (ADR 0042 same-commit). Both parse:node scripts/check-mermaid.mjs✓ 2/2.docs/architecture/diagram encodes where in the dashboard device-add renders (02/15/08 draw the seam/lifecycle/containers, unmoved). ADR 0042 satisfied vacuously (recorded in the DDR).Proof / caveat (honest residue). The dashboard half is built but unpushed on Ben's local branch — unreachable from this host (confirmed: no
founding-ui-two-colour-rail-ceremonyonorigin, noPlaceScreen.vue/DeviceAddDialog.vueanywhere on the box, none ofDevicePlaceOption/ServerOffer/RentServerRequest/RentedServeronorigin/main). So the wireframes encode the contract this ticket enumerated, cross-checked against the on-mainsources for every slug I could verify —option:<kind>fromFoundingAccess.vue,preset:<slug>from the #1393 broker config. The one inferred family is the enrol form'skind-<kind>(drawnserver/machine);/design-verifyagainst the merged branch is the closing check that the literals matchdeviceAdd.ts— noted in DDR 0237's consequences.Closing as done: the DDR, three wireframes, flow and STATUS are all landed and proven (mermaid parse; every ticket-listed attr present on its frame).
dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399