Destroy community 9/9 — LIVE PROOF: destroy a rented community from the panel, then re-found under the SAME name (#1751 regression) #1793

Closed
opened 2026-09-23 18:07:06 +00:00 by ben · 2 comments
Owner

Parent

#1784 (spec) — from #1781.

What to build

A drive on a live founding host proves the whole arc against the real broker and provider:

  1. found a rented community on a throwaway name;
  2. back up at least one dataset in the dialog;
  3. type the word and destroy from the panel;
  4. photograph DC6;
  5. assert the droplet is gone at the provider, the broker ledger shows the rental released (or owed and then reaped) and the name free, and the gateway's records are removed;
  6. in the operator app, assert DCA1, then Forget, landing on Welcome;
  7. re-found under the same name, which succeeds.

Step 7 is #1751's failure, proven in the positive. It needs the broker deploy of tickets 1 and 3 (deploy-pending cleared) and a host that can found live, so it is a session ticket, not a swarm one. A debug green never counts (ADR 0221): the proof is a prove-it fire, with frames eyeballed.

Acceptance criteria

  • the installed broker carries leave + the tombstone + CORS on available (tickets 1/3 deploy-verified)
  • a rented founding → destroy from Settings → DC6 photographed with name-freed confirmed by the page's own broker call
  • the provider shows the droplet destroyed; the broker ledger shows the rental released (or owed, then reaped) and the slug free
  • the operator app shows DCA1 and Forget lands on Welcome with the community's local state gone
  • re-founding under the same name claims it successfully (the #1751 regression)
  • the leg list and frames are read and eyeballed in session; the drive is a prove-it fire, not a debug green (ADR 0221)

Blocked by

## Parent #1784 (spec) — from #1781. ## What to build A drive on a live founding host proves the whole arc against the real broker and provider: 1. found a **rented** community on a throwaway name; 2. back up at least one dataset in the dialog; 3. type the word and destroy from the panel; 4. photograph DC6; 5. assert the droplet is gone at the provider, the broker ledger shows the rental released (or owed and then reaped) and the name free, and the gateway's records are removed; 6. in the operator app, assert DCA1, then Forget, landing on Welcome; 7. **re-found under the same name**, which succeeds. Step 7 is #1751's failure, proven in the positive. It needs the broker deploy of tickets 1 and 3 (`deploy-pending` cleared) and a host that can found live, so it is a session ticket, not a swarm one. A debug green never counts (ADR 0221): the proof is a prove-it fire, with frames eyeballed. ## Acceptance criteria - [ ] the installed broker carries `leave` + the tombstone + CORS on `available` (tickets 1/3 deploy-verified) - [ ] a rented founding → destroy from Settings → DC6 photographed with `name-freed` confirmed by the page's own broker call - [ ] the provider shows the droplet destroyed; the broker ledger shows the rental released (or owed, then reaped) and the slug free - [ ] the operator app shows DCA1 and Forget lands on Welcome with the community's local state gone - [ ] re-founding under the **same** name claims it successfully (the #1751 regression) - [ ] the leg list and frames are read and eyeballed in session; the drive is a prove-it fire, not a debug green (ADR 0221) ## Blocked by - #1786 - #1787 - #1791

Routed ready-for-human — this live prove-it fire needs one-way doors a one-shot session cannot open (ADR 0174)

Ruled by agent under ADR 0174 — veto anytime. No code work remains: the build arc (tickets 1–8, #1785–#1792) is all landed and offline-green. What this ticket asks for is only the live drive, and the live drive is a one-way-door fire this standing session (matou-workstation) must not run:

  • Non-routine operator spend — a real DigitalOcean droplet rented to found a community, then a second rental to re-found under the same name. (ADR 0174 one-way door.)
  • Data destruction — destroying a live community from the panel. (ADR 0174 one-way door.)
  • It is a prove-it fire (ADR 0221) with frames eyeballed in session — the rehearsal-executor's queue-armed job (operator spend), not a one-shot session's. A debug green never counts.

A hard prerequisite gate also fails today (probed live, read-only)

Acceptance criterion 1 requires the installed broker to carry leave + tombstone + CORS on available (tickets 1/3 deploy-verified). Probing https://broker.idss.nz right now:

Check Result Verdict
POST /v1/gateways/leave (empty body) 400 (bogus route → 404; GET → 405) ticket 1 leave IS live
POST /v1/subdomains/available response headers 200, no access-control-allow-origin ticket 3 CORS NOT live
OPTIONS /v1/subdomains/available preflight 405 (allow: POST) ticket 3 CORS NOT live

So the deployed broker is at a SHA that includes #1785 (leave) but not #1787's CORS (commit 85e300b8, now at HEAD 65ac06e2). Until the broker is redeployed:

  • acceptance criterion 1 ("tickets 1/3 deploy-verified") is false, and
  • acceptance criterion 2 (DC6 name-freed confirmed by the page's OWN cross-origin broker call) is impossible — the SPA on admin.<community>.idss.nz, having lost its gateway, calls the broker's availability check directly; without CORS the browser blocks it and the page can only land in DC6u ("couldn't confirm from this page"), never DC6-with-name-freed.

Why human

  1. Redeploy the production broker first (prerequisite, step 0). Trigger the broker-deploy rail (workflow_dispatch, sha=65ac06e2 or current HEAD) so 85e300b8's CORS on /v1/subdomains/available goes live on the mail droplet, then re-run the two probes above (access-control-allow-origin: * on the POST, and the OPTIONS preflight answered) to deploy-verify tickets 1/3. See GOTCHAS #59 — this session's host has no verified ssh door to the mail droplet, and a broker redeploy is a member-facing production action.
  2. Arm the operator spend + data destruction and run (or queue to the rehearsal-executor) the live prove-it fire: found a rented throwaway community → back up a dataset in the dialog → type the word and destroy from Settings → photograph DC6 with name-freed confirmed by the page's own broker call → assert at the provider the droplet is gone, the broker ledger shows the rental released (or owed then reaped) and the slug free, the gateway records removed → in the operator app assert DCA1, then Forget → land on Welcome → re-found under the SAME name (the #1751 regression, proven in the positive). Read the leg list and frames in session; a debug green does not count (ADR 0221).

Leaving ready-for-human (dropping ready-for-session/agent-working). No two-way part remained for this session to land.

## Routed `ready-for-human` — this live prove-it fire needs one-way doors a one-shot session cannot open (ADR 0174) Ruled by agent under ADR 0174 — veto anytime. No code work remains: the build arc (tickets 1–8, #1785–#1792) is all landed and offline-green. What this ticket asks for is **only** the live drive, and the live drive is a one-way-door fire this standing session (matou-workstation) must not run: - **Non-routine operator spend** — a real DigitalOcean droplet rented to found a community, then a *second* rental to re-found under the same name. (ADR 0174 one-way door.) - **Data destruction** — destroying a live community from the panel. (ADR 0174 one-way door.) - It is a **prove-it fire (ADR 0221)** with frames eyeballed in session — the rehearsal-executor's queue-armed job (operator spend), not a one-shot session's. A debug green never counts. ### A hard prerequisite gate also fails today (probed live, read-only) Acceptance criterion 1 requires the installed broker to carry `leave` + tombstone + **CORS on `available`** (tickets 1/3 deploy-verified). Probing `https://broker.idss.nz` right now: | Check | Result | Verdict | |---|---|---| | `POST /v1/gateways/leave` (empty body) | **400** (bogus route → 404; GET → 405) | ticket 1 `leave` **IS live** | | `POST /v1/subdomains/available` response headers | **200, no `access-control-allow-origin`** | ticket 3 CORS **NOT live** | | `OPTIONS /v1/subdomains/available` preflight | **405** (`allow: POST`) | ticket 3 CORS **NOT live** | So the deployed broker is at a SHA that includes #1785 (`leave`) but **not** #1787's CORS (commit `85e300b8`, now at HEAD `65ac06e2`). Until the broker is redeployed: - acceptance criterion 1 ("tickets 1/3 deploy-verified") is **false**, and - acceptance criterion 2 (**DC6 `name-freed` confirmed by the page's OWN cross-origin broker call**) is **impossible** — the SPA on `admin.<community>.idss.nz`, having lost its gateway, calls the broker's availability check directly; without CORS the browser blocks it and the page can only land in DC6u ("couldn't confirm from this page"), never DC6-with-`name-freed`. ## Why human 1. **Redeploy the production broker first (prerequisite, step 0).** Trigger the `broker-deploy` rail (`workflow_dispatch`, `sha=65ac06e2` or current HEAD) so `85e300b8`'s CORS on `/v1/subdomains/available` goes live on the mail droplet, then re-run the two probes above (`access-control-allow-origin: *` on the POST, and the OPTIONS preflight answered) to deploy-verify tickets 1/3. See GOTCHAS #59 — this session's host has no verified ssh door to the mail droplet, and a broker redeploy is a member-facing production action. 2. **Arm the operator spend + data destruction** and run (or queue to the rehearsal-executor) the live prove-it fire: found a rented throwaway community → back up a dataset in the dialog → type the word and destroy from Settings → **photograph DC6** with `name-freed` confirmed by the page's own broker call → assert at the provider the droplet is gone, the broker ledger shows the rental released (or owed then reaped) and the slug free, the gateway records removed → in the operator app assert DCA1, then Forget → land on Welcome → **re-found under the SAME name** (the #1751 regression, proven in the positive). Read the leg list and frames in session; a debug green does not count (ADR 0221). Leaving `ready-for-human` (dropping `ready-for-session`/`agent-working`). No two-way part remained for this session to land.
Author
Owner

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.
ben 2026-10-21 21:53:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1793
No description provided.