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.
Dependencies
No dependencies set.
Reference
Matou/idss#2058
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
2026-10-16/-19; ADR 0267, the operator's words stay data).
docs/adr/0295-design-fleet-device-dialog.md,amends DDR 0202), flow
docs/ux/flows/p9-device-dialog.mermaid, wireframesdocs/ux/wireframes/p9-device-dialog/, researchdocs/research/2026-10-19-fleet-device-dialog.md.This spec is the child spec for the Fleet-tab device dialog feature. It is
no-triage(the contract, not an agent task) +landing-pr; the build ticketscut from the slice map carry the work and are blocked by #2050.
Problem Statement
When an operator clicks a device on the Fleet tab, they want to see what the
device is and do something with it — in one place. Today the click opens the P9
telemetry drill-in in place, the facts and actions a device carries are scattered
across the Fleet row, the P9 surface and provisioning, and a device's own facts
(name, kind, location) cannot be edited at all after it joins (#1432).
Solution
A device click opens a device dialog (the house
OcDialog, the device-adddialog's shape — ADR 0237) as the first stop, carrying the device's identity,
a status summary, and its management actions. It is the entry, not a
replacement: Full detail opens the existing observing P9-S1 drill-in in place
(DDR 0202, kept). The dialog owns one act of its own — editing the device's name,
kind and location; everything else routes to its existing owner. Remove states
its consequence and hands off to provisioning's gated remove review.
User Stories
identity, status and actions, so that I don't have to hunt across surfaces.
and role, so that I can confirm which device I'm looking at.
sample/heartbeat age), so that I can see how it's doing at a glance.
that the deep telemetry record is one click away and unchanged.
dialog, so that a device named wrongly at mint or physically moved can be
fixed (#1432).
so that I never lose my input to a silent failure.
provisioning, so that role/service changes stay in their standing surface.
dated last-known record and a door to monitoring's silence judgement, so that
I'm never misled that an old number is live.
yet" and a prominent Set up, so that empty reads as designed, not broken.
and then hand me to provisioning's review, so that I never destroy data or an
identity by a single click.
hidden, so that I can't try to move the front door by a click (DDR 0293).
leaving nothing changed.
Acceptance criteria
P9-D1 — dialog default (a reporting device)
dialog opens (URL stays
/fleet) showing name, kind, location, role, thehealth chip, the CPU/MEM/DISK glance with the sample age, and the heartbeat age.
P9-S1 observing drill-in opens in place (the
device-detail-<id>intent),unchanged.
closes and nothing is changed (
close-dialog).the warning tier, named in copy — the kit compiles no red, DDR 0202) and points
to Full detail; the dialog offers no fix of its own.
P9-D1s — a silent / last-known device
dated last-known record (muted, "last known ·
separately, and a door opens monitoring's silence classification (P5-S1x) —
the dialog never re-judges the silence.
P9-D3 — a device not set up yet
readings show
—(never 0%), the absence is named, and the prominent act isSet up this device (→ P4-S1).
location can be fixed before set-up; location reads
—until given.P9-D4 — edit name · kind · location (#1432)
the name field, a kind picker (server / machine) and the location field
pre-filled from the device.
PATCH /api/v1/fleet/nodes/{id}is called and Overview, Fleet and the dialog all showthe new value on the next read (one source, DDR 0155 §3); the dialog returns to
its summary.
dialog returns to its summary.
P9-D5 — remove confirm (the one one-way door)
then a confirm state states the consequence (services come off, the node is
dropped and its identity revoked — it must be set up again; data wiped if the
box is reachable, else "removed here, not erased there").
off to provisioning's existing remove review (the ⚠ LOSES gate, the
remove-device-<id>intent →FleetSurface.openRemove); the dialog itselfcalls no destructive seam.
change is shown (DDR 0293).
P9-D6 — an action refused
kind, a name in use), then the dialog stays open with the edit intact, states
the reason in plain language, marks the offending field, and writes nothing.
Actions that route out
(
change-device-<id>); Open/Download logs open the node log scope(
open-logs/download-logs); a service in the summary drills to monitoringP5-S3 (
service-detail-<svc>).Implementation Decisions
shell/DeviceDialog.vueoverOcDialog(ADR 0237'sdevice-add dialog pattern), opened as the frame's dialog navigator state. The
Fleet route that today opens the in-place drill-in instead opens the dialog;
the dialog's Full detail fires the former
device-detail-<id>intent.data-actionchanges fromdevice-detail-<id>todevice-dialog-<id>.PATCH /api/v1/fleet/nodes/{id}with optionalname/kind/location;HttpFleetClient.updateNode. The ledger + fleetstore update; the fleet read reflects it on the next poll (DDR 0155 §3). A
refusal (empty name / unknown kind / name in use) is rejected before any write.
FleetRowfrom theexisting
GET /api/v1/fleetaggregate (name/kind/location/role/chip/telemetry).POST /api/v1/provision/devices/{id}/removevia theexisting
remove-device-<id>→FleetSurface.openRemoveroute; the dialog addsonly the consequence screen and the routed entry, no new backend.
holds server-side).
Testing Decisions
FleetSource/ fleet client (asDeviceDetailSurface's tests do) — the dialog's states (D1/D1s/D3), theedit happy path + cancel, the refusal rendering (D6), and the remove
consequence routing (D5 fires the intent, calls no destructive seam).
the other
provision.go/fleet.gohandlers do) —PATCH /fleet/nodes/{id}write-through and its refusals.
DeviceDetailSurfaceunit tests; theprovision.gohandler tests;the device-add dialog's
OcDialoginteraction tests.data-*IDs, theseam call, the rendered reason), not implementation detail.
Out of Scope
temperature grading (DDR 0202 fence).
gated flows.
gated review).
Further Notes
needs_human_decision: the remove entry point (the trust-surface call) andthe landing-pr merge of the design PR — both ride #2050 / the build tickets.
/design-verifyagainst the merged branch is the closing check that thewireframe
data-field/data-actionliterals match the built components.