spec: many communities in one operator app — folder per community, the protected move, the HB health board, rescue's read-only checks (ADR 0298 + DDR 0299) #2094

Open
opened 2026-10-30 02:52:53 +00:00 by ben · 0 comments
Owner

What this is

Spec for many communities in one operator app (Ben's brainstorm 2026-10-29). One operator, on their own computer, founds and looks after several communities with one operator app install. Whakatōhea Demo is first, Ben's business is next (founding not started), and then the communities Ben is Administrator/technical lead for. The operator opens the app when a control panel is down, to run checks, or to found another community.

Design contract

ADR 0298 · DDR 0299 · wireframe docs/ux/wireframes/shell/shell-hb-health-board.html · flow docs/ux/flows/shell.mermaid node HB · build plan docs/superpowers/plans/2026-10-29-many-communities-one-app.md (exact names, signatures, file homes and tests per task). All land with design PR #2093.

Decisions (ADR 0298 / DDR 0299)

  • Per-community folders. A folder per community under a community-free app root, plus a versioned communities.json registry. ADR 0050 is superseded.
  • The one-shot move of the existing seat: copy → sha256-verify → set aside in pre-0298-backup/, never delete. Nothing reaches a gateway during it, the old layout is kept on any failure, it refuses a vm/ folder, and it is proven on a copy of the real seat before the build reaches Ben's laptop.
  • Opens on HB. With one or more communities the app opens on the HB health board:
    • one card per community, side by side, with + Found another community underneath
    • reachable → Open; not answering → Run checks (→ P8-S3); founding paused → Resume founding
    • Forget/Destroy are never on the board
  • Real probe. A read-only HTTPS check of each control panel.
  • Rescue's real read-only checks (SSH prober + replica reader) are wired in production (Ben's ruling). The acting ports stay fail-loud.
  • Founding. Found another is per folder. Leaving founding is blocked while a step is in flight. At most one private-path community per computer for now.

Build tickets

Filed by to-tickets; see the slice map docs/slices/many-communities.yaml. This spec is a Phase-1 artifact. Never ready-for-agent.

## What this is Spec for **many communities in one operator app** (Ben's brainstorm 2026-10-29). One operator, on their own computer, founds and looks after several communities with one operator app install. Whakatōhea Demo is first, Ben's business is next (founding not started), and then the communities Ben is Administrator/technical lead for. The operator opens the app **when a control panel is down, to run checks**, or **to found another community**. ## Design contract ADR 0298 · DDR 0299 · wireframe `docs/ux/wireframes/shell/shell-hb-health-board.html` · flow `docs/ux/flows/shell.mermaid` node HB · build plan `docs/superpowers/plans/2026-10-29-many-communities-one-app.md` (exact names, signatures, file homes and tests per task). All land with design PR #2093. ## Decisions (ADR 0298 / DDR 0299) - **Per-community folders.** A folder per community under a community-free app root, plus a versioned `communities.json` registry. ADR 0050 is superseded. - **The one-shot move** of the existing seat: copy → sha256-verify → set aside in `pre-0298-backup/`, never delete. Nothing reaches a gateway during it, the old layout is kept on any failure, it refuses a `vm/` folder, and it is proven on a copy of the real seat before the build reaches Ben's laptop. - **Opens on HB.** With one or more communities the app opens on the **HB health board**: - one card per community, side by side, with **+ Found another community** underneath - reachable → Open; not answering → Run checks (→ P8-S3); founding paused → Resume founding - Forget/Destroy are never on the board - **Real probe.** A read-only HTTPS check of each control panel. - **Rescue's real read-only checks** (SSH prober + replica reader) are wired in production (Ben's ruling). The acting ports stay fail-loud. - **Founding.** Found another is per folder. Leaving founding is blocked while a step is in flight. At most one private-path community per computer for now. ## Build tickets Filed by to-tickets; see the slice map `docs/slices/many-communities.yaml`. This spec is a Phase-1 artifact. **Never `ready-for-agent`.**
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#2094
No description provided.