Destroy community 1/9 — broker: a community can LEAVE in one act (release every rental, free the name last, tombstone) #1785
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
Reference
Matou/idss#1785
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
A community holding its claim secret can leave IDSS in one broker act.
leaveauthenticates the claim secret the same wayrelease/offboarddo (ADR 0135), then:It answers
{released | release_owed, name_freed, at}. A host with no rental (a home or own-VPS gateway) leaves with just the name freed.releaseandoffboardare unchanged;leavecomposes them. The ledger change is additive, following therelease_owedprecedent. The shared broker client gains aLeavecall that returns this outcome and passes a refusal's own words through verbatim (ADR 0100).Why one act: two sequential calls strand something whichever way round they run (DDR 0274 §3).
Acceptance criteria
leavewith a valid claim secret releases the gateway rental and every device rental under that host, spares every other host, frees the slug, deletes the host's records and answers with the outcome (spec #1784 story 47)release_owedin the answer, and the reaper finishes it without waiting for the TTLname_freedonlyLeaveparses the outcome and surfaces 401/403/410/502 refusals in the broker's own wordsgo testfor the broker module and the broker client greenOn landing: this lives in the broker tree, so it goes
deploy-pendinguntil the broker on the mail droplet carries it. Ticket 9's live proof needs that deploy.Blocked by
None — can start immediately.
swarm-claim host=bens-mac-04 run=30973
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1785 — 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