build: Fleet device dialog — edit name/kind/location + PATCH /fleet/nodes/{id} (slice 3/4, resolves #1432) #2061
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.
Depends on
Reference
Matou/idss#2061
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
docs/ux/flows/p9-device-dialog.mermaid; wireframes P9-D4 / D6.device-facts-editofdocs/slices/fleet-device-dialog.yaml.that does not exist,
fleetstate.go:167).What to build
The device dialog edits a device's own facts — name, kind, location — in
place (P9-D4): a name field, a kind picker (server / machine) and a location
field, pre-filled from the device, reusing the device-add dialog's field names
(
device-name-input/kind-server|machine/device-location-input, ADR0237). The one new seam:
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 (one source, DDR 0155
§3). A refused save (empty name, unknown kind, a name already in use) is rejected
before any write and the dialog stays open with the reason, the offending
field marked, nothing changed (P9-D6, #298 fail-loud). Cancel writes nothing.
This is a vertical slice: the seam (
PATCH), the Go handler + store write-through,the dialog edit UI, and tests at both seams.
Acceptance criteria
name, a kind picker (server/machine) and location pre-filled from the device.
PATCH /api/v1/fleet/nodes/{id}is called and Overview, Fleet and the dialog all show the new value on the next
read (DDR 0155 §3).
/ name in use), then the dialog stays open with the reason, the field marked,
and nothing is written (P9-D6).
dialog returns to its summary.
Task manifest
Blocked by
⏩ independent reviewer for #2061 — verdict
unauthenticatedreview JSON
close-report for #2061 — status
success✅ close-report gates passed — every claim verified against the PR head. PR #2171 (#2171) is open and green; a human merges it and the merge closes this issue via
closes #2061(MERGE_AUTHORITY=human).envelope
PR #2171 merged to main (
5947156f) — closing.