Destroy community 7/9 — the operator app notices a destroyed community, finishes an unconfirmed release, and Forgets it (DCA1/DCA3) #1791
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#1791
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 operator app is the seat that survives the box (DDR 0096, DDR 0274 §5).
Detection. The app treats "its community's host reads available at the broker, and the gateway does not answer" as destroyed. Only a claim-secret-authorised leave frees a name, so this is a sound witness. The operator home then shows DCA1.
Finish releasing. When the release can't be confirmed, DCA1 makes Finish releasing primary. It re-runs the idempotent
leave(ticket 1) with the claim secret revealed from the app's own sealed clan vars (the existing headless vars-get path) and shows the broker's outcome.Forget (DCA3) is a separate, explicit step (Ben, 2026-09-23). It removes the community's local state: keys, config replica, logs, the This computer backup copies and, for a home community, the gateway VM and its disk. Then it lands on Welcome. It never talks to the broker, and never touches downloaded export files.
Acceptance criteria
destroyedpill,destroyed-summary,name-freed,server-released,still-on-this-computer,keep-for-now,forget-community) (spec #1784 story 37)server-released"Not confirmed" withfinish-releasingas the primary action; pressing it runsleavewith the sealed claim secret and renders the outcome (a tombstone replay counts as confirmed) (38)keep-for-nowleaves DCA1 standing across an app relaunch (43)forget-keys,forget-replica,forget-this-computer-copies, andforget-home-gatewayfor a home community only;untouchednames the downloaded files (44)forgetcarries the name-may-stay-reserved warning andfinish-releasingstays primary on DCA1 (45)forgetremoves exactly the listed state (and a home VM + disk) and lands on Welcome;cancel→ DCA1; no broker call is made (46)Design 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=30973
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1791 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1791 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope