Release door: POST /api/release frees a community's name on its IDSS claim secret, verified through the broker (idss ADR 0276) #148
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa#148
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?
Why (ruled 2026-09-24, idss ADR 0276 — Ben, option A on idss#1805)
A community destroyed on IDSS keeps its app page on Coa forever: the broker frees the server and the
.idss.nzname, Coa has no door that frees a name. Proven on the cold manual re-test ofwhakatohea-demo: the 09-16 page still incommunities/whakatohea-demo/refused the re-founding with409 slug-taken; it was freed by hand (git rm -rqf, GOTCHAS 14's dirtystatus.json).The door
POST /api/releasebody{ "slug": "<slug>" }, headerAuthorization: Bearer <the community's claim secret>(idss ADR 0135).POST https://broker.idss.nz/v1/subdomains/verify{ "host": "<slug>.idss.nz" }with the same Bearer (idss side ships this; 204 = the secret claimed that host, 403 = wrong secret, 404 = host not claimed). Anything but 204 → Coa answers 403{error:'forbidden'}and touches nothing.communities/<slug>/(page, status, logo, installers underinstallers/<slug>/if the installer store is per-slug), commitrelease: <slug>, pull --rebase, push — the same publisher chain aspublish, but tolerant of a dirtystatus.json(GOTCHAS 14:git rm -rf, never a refusal on local modifications).GET /c/<slug>/status.json→ 404 afterwards;GET /c/<slug>→ 404.{error:'not-found'}; a repeat after success answers 404 too. Never 500 on a missing dir.state: building) is released too — the build's callback for a released slug is answered 404 and ignored.The fake
rehearsal-coa(idsscmd/rehearsal-coa) refuses a release without a valid secret exactly as this door does — the lesson of idss#1806/#1807: the fake must fail the way production fails. Coordinate the verify semantics with the idss ticket.Tests
status.json(patchStatus after publish) → still released.{error:'broker'}, nothing touched.Relates to: idss ADR 0276, idss#1805, idss#1785 (broker LEAVE), DDR 0007 (this repo), GOTCHAS 14.
slug-takenand the app card dead-ends at "Coa already holds a page for this name" #1805swarm-claim host=matou-dev-server-01 run=11148
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #148 — status
success✅ close-report gates passed — every claim verified against main; PR #149 (#149) was already merged (a reconcile pass landed it before this close-report ran) and the merge closed this issue via
closes #148.envelope