enroll: the mint wire drops the device's name, kind and location — MintCodeRequest and the handler carry only role and TTL #1431
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#1431
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 → 09-12, commit
078cd5b3onfounding-ui-two-colour-rail-ceremony, merged to main 2026-09-12). Filed from the end-of-pass review (#1399 sweep): every place the shipped UI shows or implies something the product does not do yet. Browser harness:cd dashboard && pnpm harness→http://localhost:5198/panel.html?scenario=steady&tab=<tab>.Symptom
The Add device dialog captures name, kind and location (
dashboard/src/components/device-add/AddDeviceScreen.vue:47-58,DeviceAddSurface.vue:159),deviceAdd.ts:58-68carries them anddashboard/src/lib/api/enrollClient.ts:135snakeizes them onto the wire — but:MintCodeRequestis{intended_role, ttl_days}only (packages/openapi-spec/openapi.yaml~:7398-7408);internal/controlapi/enroll.go:163-166, 210-221).#1396 (closed,
878acba6) landedenroll.MintRequest.Name/Kind/Location, the ledger,fleetstate.Device.LocationandFleetNode.location(openapi ~:6838) — the READ path is whole and painted (DeviceCard.vue:33,FleetDiagram.vue:74). Only the rent path writes a location (controlapi/enroll_rent.go:190-201). So every device added by code shows no location and a generated name.Governing: ADR 0237 (device location), DDR 0202.
What to do
name,kind(enum of the four form factors) andlocationtoMintCodeRequest(optional, so old callers keep working); regeneratedashboard/src/lib/api/generated.ts.controlapi/enroll.go: read the three fields intoenroll.MintRequestand pass them through to the ledger — the same three assignments the rent path makes.enrollLive.test.tsgains the round trip (mint with a location →getFleetshows it).Acceptance criteria
dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399swarm-claim host=bens-mac-04 run=22593
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1431 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope