build: the prove-the-move script + docs — ADR 0050 superseded, architecture, glossary, gotcha, STATUS (ADR 0298) — #2094 #2102

Closed
opened 2026-10-30 02:53:04 +00:00 by ben · 3 comments
Owner

Parent

  • Spec: #2094
  • 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.

What to build

scripts/prove-0298-move.sh <copy> refuses the real ~/.config/IDSS. It runs the move against a copy, reads the seat (community name, apex, path) before and after through the helper, and exits non-zero on any difference. Docs:

  • ADR 0050's status becomes superseded by 0298.
  • One-line notes go on the citing ADRs that assumed the singleton.
  • docs/architecture/09-founding-sequence.md is updated (ADR 0042).
  • CONTEXT.md gains Health board and Community folder.
  • A GOTCHAS entry: the pre-0298 seat lives at the app root, and the move refuses vm/.
  • A STATUS update.

Plan Task 9, the code/docs half.

Anti-goal (Ben): never disturb Whakatōhea Demo's existing seat (~/.config/IDSS on Ben's laptop). Nothing in this ticket may sync, push, deploy or open SSH to a gateway except where the ticket says so.

Acceptance criteria

  • The prove script passes on a synthetic seeded root and fails loudly on an injected difference; it refuses the real ~/.config/IDSS path.
  • ADR 0050 is marked superseded; the architecture diagram, glossary, GOTCHAS and STATUS are updated in the same commit.

Blocked by

Task manifest

task: prove-script-and-docs
implements_flow: shell
implements_edge: none
wireframe: none
interface: scripts/prove-0298-move.sh <copy-of-app-root>
seam: a synthetic seeded root in the script's own test
unproven_by_seam: Ben's real seat — the human ticket runs it
acceptance:
  - given: a synthetic seat copy
    when: prove-0298-move.sh runs
    then: before equals after and it exits 0
depends_on: [communities-registry-and-move, undo-and-trial-reset, found-another-forget-private, breakglass-readonly-prod]
out_of_scope: [running-on-bens-laptop]
needs_human_decision: []
## Parent - Spec: #2094 - 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. ## What to build `scripts/prove-0298-move.sh <copy>` refuses the real `~/.config/IDSS`. It runs the move against a copy, reads the seat (community name, apex, path) before and after through the helper, and exits non-zero on any difference. Docs: - ADR 0050's status becomes `superseded by 0298`. - One-line notes go on the citing ADRs that assumed the singleton. - `docs/architecture/09-founding-sequence.md` is updated (ADR 0042). - CONTEXT.md gains **Health board** and **Community folder**. - A GOTCHAS entry: the pre-0298 seat lives at the app root, and the move refuses `vm/`. - A STATUS update. Plan Task 9, the code/docs half. **Anti-goal (Ben):** never disturb Whakatōhea Demo's existing seat (`~/.config/IDSS` on Ben's laptop). Nothing in this ticket may sync, push, deploy or open SSH to a gateway except where the ticket says so. ## Acceptance criteria - [ ] The prove script passes on a synthetic seeded root and fails loudly on an injected difference; it refuses the real `~/.config/IDSS` path. - [ ] ADR 0050 is marked superseded; the architecture diagram, glossary, GOTCHAS and STATUS are updated in the same commit. ## Blocked by - #2093 - #2095 - #2096 - #2100 - #2101 ## Task manifest ```yaml task: prove-script-and-docs implements_flow: shell implements_edge: none wireframe: none interface: scripts/prove-0298-move.sh <copy-of-app-root> seam: a synthetic seeded root in the script's own test unproven_by_seam: Ben's real seat — the human ticket runs it acceptance: - given: a synthetic seat copy when: prove-0298-move.sh runs then: before equals after and it exits 0 depends_on: [communities-registry-and-move, undo-and-trial-reset, found-another-forget-private, breakglass-readonly-prod] out_of_scope: [running-on-bens-laptop] needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=57699
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=57699 (automated multi-host claim — lowest live claim id works this ticket)

⏩ independent reviewer for #2102 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2102 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>

close-report for #2102 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261031-022408-03ae8b (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2102,
  "status": "success",
  "commits": [
    "01b44d6ddff98216ec553a90cf659a5c7279eccd"
  ],
  "changed_files": [
    "CONTEXT.md",
    "STATUS.md",
    "docs/GOTCHAS.md",
    "docs/adr/0050-one-community-per-app-installation-v1.md",
    "docs/adr/0121-private-path-vm-is-app-scoped-user-systemd.md",
    "docs/adr/0126-founding-seeds-the-community-flake-and-the-vm-standup-chain-completes.md",
    "docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md",
    "docs/architecture/09-founding-sequence.md",
    "scripts/lib/prove-0298-migrate.mts",
    "scripts/prove-0298-move.sh",
    "scripts/tests/prove-0298-move-test.sh"
  ],
  "tests": [
    {
      "command": "bash scripts/tests/prove-0298-move-test.sh",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The prove script passes on a synthetic seeded root and fails loudly on an injected difference; it refuses the real ~/.config/IDSS path": "scripts/tests/prove-0298-move-test.sh (4 checks, exit 0): a synthetic seeded root gives before==after/exit 0; an injected copy corruption and a tampered seat read both exit non-zero loudly; the real ~/.config/IDSS path is refused. scripts/prove-0298-move.sh's safety gate refuses the real app root before any work.",
    "ADR 0050 is marked superseded; the architecture diagram, glossary, GOTCHAS and STATUS are updated in the same commit": "docs/adr/0050-*.md front matter status: superseded by 0298; docs/architecture/09-founding-sequence.md updated at both 0050 references; CONTEXT.md gains Health board + Community folder; docs/GOTCHAS.md #403; STATUS.md milestone entry — all in commit 01b44d6d.",
    "given a synthetic seat copy, when prove-0298-move.sh runs, then before equals after and it exits 0": "scripts/tests/prove-0298-move-test.sh first check: real migrateLegacySeat + a header-reading stub helper → 'identical before and after', exit 0. The real Go-helper end-to-end path was also verified green in-sandbox on a Whakatōhea-shaped synthetic seed."
  },
  "summary": "scripts/prove-0298-move.sh proves the 0298 move preserves the seat on a copy, refusing the real app root; ADR 0050 superseded and architecture/glossary/GOTCHAS/STATUS updated.",
  "blockers": []
}
**close-report** for #2102 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261031-022408-03ae8b` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2102, "status": "success", "commits": [ "01b44d6ddff98216ec553a90cf659a5c7279eccd" ], "changed_files": [ "CONTEXT.md", "STATUS.md", "docs/GOTCHAS.md", "docs/adr/0050-one-community-per-app-installation-v1.md", "docs/adr/0121-private-path-vm-is-app-scoped-user-systemd.md", "docs/adr/0126-founding-seeds-the-community-flake-and-the-vm-standup-chain-completes.md", "docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md", "docs/architecture/09-founding-sequence.md", "scripts/lib/prove-0298-migrate.mts", "scripts/prove-0298-move.sh", "scripts/tests/prove-0298-move-test.sh" ], "tests": [ { "command": "bash scripts/tests/prove-0298-move-test.sh", "exit_code": 0 } ], "criteria": { "The prove script passes on a synthetic seeded root and fails loudly on an injected difference; it refuses the real ~/.config/IDSS path": "scripts/tests/prove-0298-move-test.sh (4 checks, exit 0): a synthetic seeded root gives before==after/exit 0; an injected copy corruption and a tampered seat read both exit non-zero loudly; the real ~/.config/IDSS path is refused. scripts/prove-0298-move.sh's safety gate refuses the real app root before any work.", "ADR 0050 is marked superseded; the architecture diagram, glossary, GOTCHAS and STATUS are updated in the same commit": "docs/adr/0050-*.md front matter status: superseded by 0298; docs/architecture/09-founding-sequence.md updated at both 0050 references; CONTEXT.md gains Health board + Community folder; docs/GOTCHAS.md #403; STATUS.md milestone entry — all in commit 01b44d6d.", "given a synthetic seat copy, when prove-0298-move.sh runs, then before equals after and it exits 0": "scripts/tests/prove-0298-move-test.sh first check: real migrateLegacySeat + a header-reading stub helper → 'identical before and after', exit 0. The real Go-helper end-to-end path was also verified green in-sandbox on a Whakatōhea-shaped synthetic seed." }, "summary": "scripts/prove-0298-move.sh proves the 0298 move preserves the seat on a copy, refusing the real app root; ADR 0050 superseded and architecture/glossary/GOTCHAS/STATUS updated.", "blockers": [] } ``` </details>
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#2102
No description provided.