Destroy community 2/9 — destroy from Settings end to end: the door, the dialog, the word, the act, the gateway goes terminal, DC5/DC6/DC6x #1786
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
Depends on
Reference
Matou/idss#1786
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 tracer bullet. An operator on a rented community opens Settings and presses Destroy community… (the new last section, DS). The dialog (DC1) shows what goes, read from a new operator-only destroy preview on the control API that composes existing seams:
Typing the printed word (English here; the forgiving match ignores case, whitespace and diacritics) arms Destroy community (DC4). Confirm sends one destroy request to a new operator-only destroy act. The body must name this community's host exactly. The control plane calls the broker
leave(ticket 1) with its claim secret, replies with the outcome before anything else, then writes a durable left marker. From then on:The act is idempotent: a second call joins one in flight, and after
leftit returns the recorded outcome. It is logged in the activity log.The dashboard shows DC5 (no cancel, and the page-will-lose-its-server note). Then it shows either DC6 (drawn client-side, replacing the whole frame, no link back into the panel, Open the operator app) or DC6x (the broker's refusal verbatim,
try-again,close).The dialog is owned by the frame's dialog state (the device-add precedent). The terminal screens follow the unreachable-screen precedent (DDR 0096). The Settings section amends DDR 0099's inventory, and nothing else on Settings changes.
Acceptance criteria
destroy-community-sectionrenders after the not-here list for an operator, holding one sentence anddestroy-community; absent for a non-operator session (spec #1784 stories 1–3)destroy-headline,goes-services,goes-data,goes-members,goes-name,gateway-fate(rented) andmembers-notefrom it (4–7)cancel/closefrom DC1 or DC4 closes on Settings with nothing sent to the broker (10)confirm-wordprints the word;destroy-word-inputmatching it (ignoring case, surrounding whitespace, diacritics) setsconfirm-destroydata-status="armed", and anything else or an edit that stops matching setsdisabled(22, 24–26)destroy-stepsandpage-will-lose-server-note, no cancel; exactly one act request, exactly one brokerleave(27, 28)left: heartbeats rest, every control API answers 410 with a destroyed body, and a reload shows the ending rather than a broken dashboard (36)destroyed-at,server-released(or "release under way — IDSS finishes it" onrelease_owed),backup-recap("No backup taken" until ticket 4),next-step-forget,open-operator-app,reload-warning, and no panel link (31, 33);name-freedshows the gateway's reply for now (ticket 3 adds the browser's own witness)nothing-released,refusal-reasonverbatim,try-againre-runs the act without retyping,close→ DS (34)go testfor the touched packages greenDesign 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=bens-mac-04 run=30974
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1786 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
slug-takenand the app card dead-ends at "Coa already holds a page for this name" #1805slug-takenand the app card dead-ends at "Coa already holds a page for this name" #1805