Destroy community 6/9 — honest facts for every gateway place and fleet: own VPS, home, owned devices, no idss.nz name, no claim secret #1790
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#1790
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
#1784 (spec) — from #1781.
What to build
The dialog must never over-promise "deletes all data". The preview and DC1 render the truth for each case:
gateway-faterenders exactly one variant (rented / own VPS / home). An own-VPS community gets the own-VPSdestroy-headline: the server and its data are not deleted.goes-owned-devices(count; their data stays until wiped). Rented devices are released with the gateway and get no row.goes-nameis absent, and the act only takes the gateway terminal (plus the rented release if rented).Acceptance criteria
gateway-faterenders exactly one variant,data-variantrented / own-vps / home, matching the gateway's recorded place (spec #1784 story 8)destroy-headline(server and data not deleted); rented and home → the standard headline (8)goes-owned-deviceswith their count; none → absent; rented devices → no row (9)goes-nameabsent; the act makes no name-freeing claim; DC6 omitsname-freedconfirm-destroynever arms, and nothing is sent to the brokerDesign contract: DDR 0274, flow
docs/ux/flows/destroy-community.mermaid, framesdocs/ux/wireframes/destroy-community/— thedata-field/data-action/data-statusattributes are the element contractdesign-verifychecks.Blocked by
swarm-claim host=elitebook-distributed-server-03 run=30978
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Decision:
owned_device_countin the destroy preview counts every fleet device besides the gateway (fleet.Nodes()), honest-absent (0) on a fleet read error.Why: the fleet store carries no per-device rented/owned marker — a rented device's lease lives only at the broker, keyed by host, and is released with the gateway. So the local preview cannot distinguish a rented device from an owned one at any existing seam. Counting every enrolled device is the conservative choice:
goes-owned-devicessays the data on them stays until you wipe them, which is true of any disk the broker leave does not touch, and it never under-names a device the operator must go wipe (a mild over-count of a rented box that the provider already destroyed is safe; an under-count would lose data).Two-way door: revertible in a later commit and proven by
destroy_wiring_test.go(count = N nodes / 0 / 0-on-error) + the dashboard vitest (row present at N>0, absent at 0). Refinable the moment the fleet store records the rented split.Not on the one-way-door list (no credential, no security-posture widening, no member-facing trust accept, no data destruction — a preview only, no spend).
close-report for #1790 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope