a community can be founded but never given up — a Destroy community act on Settings: understand, back up, type DESTROY, confirm #1781
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#1781
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?
The gap
A community can be founded from the app but never given up from it.
ReleaseGatewayhas exactly one product call site —internal/founding/standup.go:1008— and it fires only when an operator re-chooses away from a rented gateway during founding, abandoning a half-built community mid-walk:Once founding completes and hands off, nothing offers to release the rental or free the name. Neither the operator app nor the control panel carries a "delete this community" surface — searched both.
POST /v1/subdomains/offboardhas no product caller at all (theOffboard*symbols in the tree areOffboardFatefor departing members, unrelated).So an operator who wants to stop has no way to release the server they are billed for or free the name they claimed. The rental lapses only when the broker's 24 h TTL reaper notices the heartbeat stopped. Every teardown to date has been a hand repair: decrypt the sealed
idss-claim-secretclan var with sops, then curl the broker. That is what #1751 ran into from the other side — when the gateway is already dead the secret dies with it and even the hand path is gone.The broker's own terms text, shown to the operator at founding, says: "you can leave any time (ADR 0189)." Today there is no way to.
The design (Ben's ruling, 2026-09-23)
A button on community settings. The panel already has a Settings tab (
dashboard/src/lib/dashboardNavigator.ts:109); this is its home.It opens a dialog that requires the operator to understand what happens. The dialog states plainly that this will delete all services and all associated data.
It recommends a backup first, and offers to take one there and then — a "create and download backup now" action inside the dialog, so the operator does not have to leave, go elsewhere, and come back.
To complete it, the operator types the word
DESTROYand then presses confirm. Nothing else arms the confirm.What confirm must actually do
POST /v1/gateways/release, bearing the community's claim secret — the verb already exists ininternal/brokerclient/client.go:181).POST /v1/subdomains/offboard, same credential), so the slug is genuinely free and not merely lapsed.Design questions this raises, which the frames need to answer
DESTROYand the interface's language. The panel is being taken through full translation (#1377). Typing an English word into a te reo interface is a decision, not a detail: is the typed word translated, or is it deliberately a fixed token in every language? Either is defensible; it needs ruling rather than defaulting.<slug>.idss.nzis free for anyone. Say so in the dialog — it is part of what "understand" means here.Asks
DESTROYarming, and the terminal state after confirm — including where the operator lands when the page dies.Relates to #1751 (offboard impossible once the gateway is dead — the same credential, from the other side), ADR 0189 (the lease and its "leave any time" terms), ADR 0135 (the claim secret), DDR 0142 §4, #1377 (translation), DDR 0268 / ADR 0269 (offsite backups). Found while tearing down the 2026-09-23 manual founding by hand for the third time.
Designed and confirmed, landed in
50b93f94. Asks 1 and 2 are done; ask 3 (build) is next via/to-spec.docs/ux/flows/destroy-community.mermaid, plus new edges DS → DC1 and HOx → DCA2 inshell.mermaid.docs/ux/wireframes/destroy-community/.How the frames answer the six design questions:
Owed at spec time (engineering ADRs):
/v1/subdomains/availableso the panel can call it directly;Child spec filed: #1784 (no-triage, auto mode under ADR 0174). It carries 49 stories with acceptance criteria from the flow, three seams (the broker
leaveverb + tombstone + CORS onavailable; the control-API destroy preview + act; the app helper's leave / destroyed-detection / forget), and a live-proof drive that re-founds under the same name, the #1751 regression. Next:/to-tickets 1784.Ruled by agent under ADR 0174 — veto anytime.
Ruling:
no-triage(parent feature/design tracker; not a buildable unit).This is the Destroy-community feature-scoping ticket, not a work item. Its state is fully resolved and fanned out:
50b93f94(Ben's comments above)./to-spec→ spec #1784 (no-triage) →/to-tickets→ the nine implementation tickets #1785–#1793, each carrying## Parent #1784 (spec) — from #1781and already labelledready-for-agent/ready-for-session.It carries
enhancement+prioritybut no state role, so it re-surfaces as untriaged every headless run while carrying no takeable work. Applyingready-for-agentwould point the swarm at a whole-feature rebuild that already lives in its children; the correct disposition is theno-triageescape hatch, mirroring how its own spec #1784 is labelled.Why this is a two-way door: it is a single label change, revertible at any time, and provable by the existing children (#1784 spec + #1785–#1793 build tickets) which carry the actionable work. It is on none of the one-way-door lists (no credentials, no security-posture change, no member-facing trust accept, no data destruction, no spend). It leaves the ticket open as the feature umbrella — Ben can close it when the children land, or veto this ruling and route it otherwise.
slug-takenand the app card dead-ends at "Coa already holds a page for this name" #1805