land the stranded #2100 + #2102 — found another / Forget per community / private refusal, and the prove-the-move script + docs (ADR 0298) #2118

Merged
ben merged 2 commits from session/land-2100-2102 into main 2026-11-02 16:18:22 +00:00
Owner

Lands the two stranded closes of the many-communities arc (ADR 0298 + DDR 0299): both tickets closed "pre-land" on 2026-10-31 but the host never promoted their worker branches to main.

  • #2100 — found another community; Forget and scrub act on one folder; leaving founding blocked mid-step; one private-path community per computer (Task 7). Worker commit d1de7bfd (branch sandcastle/worker/20261030-204811-23d7d8).
  • #2102 — scripts/prove-0298-move.sh + docs; ADR 0050 superseded (Task 9). Worker commit 01b44d6d (branch sandcastle/worker/20261031-022408-03ae8b).

The two worker commits were siblings off c9a71e0f (#2102 was built without #2100 underneath). Cherry-picked in order onto current main (c9a71e0f) — both applied clean, no conflicts.

Verified on this branch (stacked)

  • pnpm test (app): 190 files / 2335 tests pass, plus the isolated renderer-build file (3/3)
  • pnpm build (vue-tsc): clean
  • go vet + go test ./... in app/helper: pass
  • scripts/tests/prove-0298-move-test.sh: PASS (4 checks)

After merge, #2103 (Ben proves the move on a COPY of ~/.config/IDSS) is the only open item in the arc.

🤖 Generated with Claude Code

Lands the two **stranded closes** of the many-communities arc (ADR 0298 + DDR 0299): both tickets closed "pre-land" on 2026-10-31 but the host never promoted their worker branches to `main`. - #2100 — found another community; Forget and scrub act on one folder; leaving founding blocked mid-step; one private-path community per computer (Task 7). Worker commit `d1de7bfd` (branch `sandcastle/worker/20261030-204811-23d7d8`). - #2102 — `scripts/prove-0298-move.sh` + docs; ADR 0050 superseded (Task 9). Worker commit `01b44d6d` (branch `sandcastle/worker/20261031-022408-03ae8b`). The two worker commits were **siblings** off `c9a71e0f` (#2102 was built without #2100 underneath). Cherry-picked in order onto current `main` (`c9a71e0f`) — both applied clean, no conflicts. ## Verified on this branch (stacked) - `pnpm test` (app): 190 files / 2335 tests pass, plus the isolated renderer-build file (3/3) - `pnpm build` (vue-tsc): clean - `go vet` + `go test ./...` in `app/helper`: pass - `scripts/tests/prove-0298-move-test.sh`: PASS (4 checks) After merge, #2103 (Ben proves the move on a COPY of `~/.config/IDSS`) is the only open item in the arc. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Closes build-plan Task 7 of the many-communities arc (depends on #2099's
board + #2097's sessions, both in this worker-branch stack).

Key decisions:
- shellBoard.ts gains `createBoardWiring(deps)` — the board's shell-wiring
  factory the composition root now calls (replacing bootstrap.ts's inline
  `board` object), so + Found another and Forget are a real seam the unit
  tests drive, not wiring re-implemented in a test.
  - Found another: `sessions.add()` (registry + folder + its own helper
    session, d.1) then `switchActive(newId, → founding)` opens P1-S1 on the
    new community; the others are untouched (the anti-goal).
  - Forget: `sessions.remove(id)` (that session's bridges disposed, d.5) then
    re-lands on `landing()`'s answer (board if others remain, founding if none).
- The `forgotten` event bubbles OperatorHome → RestingRoot → AppShell;
  RestingRoot emits it only when `boardAvailable` (else keeps its single-
  community seat-refresh landing), and the shell calls `board.forget(activeId)`.
- FoundingAccess.vue takes `privateTakenBy?: string` — disables the Local-
  sandbox radio and shows a `data-field=private-taken` line naming the other
  community (`founding.access.privateTaken`, all four locales); d.6.
- New FoundingLeave.vue (the "All communities" leave + the "Wait for this step
  to finish" reason) mounts top-right in FoundingPage only when
  `boardAvailable`, disabled while `inFlight` (the stand-up/deploy); AppShell
  routes its `leave` back to the board; d.9. Copy via `founding.leave.*`.
- scrub_test.go pins the one-folder scoping: two seat folders seeded
  identically, scrubbing one leaves the other byte-identical.

Files: app/src/lib/shellBoard.ts, app/src/bootstrap.ts,
app/src/components/AppShell.vue, app/src/components/shell/RestingRoot.vue,
app/src/components/founding/{FoundingAccess,FoundingPage,FoundingLeave}.vue,
app/src/i18n/founding/g6.{en,es,fr,nl}.ts,
app/helper/cmd/helper/scrub_test.go,
app/tests/unit/{foundAnother,healthBoardScreen}.test.ts, STATUS.md.

Tests: app unit suite green (2330 pass; the 2 reds are the pre-existing
`go`-less updatesFeed/boot fixtures), vue-tsc + eslint clean. The Go scrub
test runs in CI (no `go` in-sandbox).

unproven_by_seam: a real second rented founding from the board — Ben's
business founding is the live proof.

Next iteration: the keychain IPC resolving <folder>/idip-keychain.json by
active-community id (deferred from #2097) remains OWED.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Factory-Account: d631bd58e1e9
sandcastle: #2102 — prove the 0298 move on a copy + docs (ADR 0050 superseded, Task 9)
Some checks failed
ci / seam (pull_request) Successful in 12m45s
ci / publish-broker (pull_request) Has been skipped
ci / publish (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
0284362488
The code/docs half of build-plan Task 9 (the many-communities arc).

Script:
- scripts/prove-0298-move.sh <copy> reads the seat (community, apex, path)
  BEFORE on a throwaway pristine copy (top-level layout), runs the REAL
  migrateLegacySeat into communities/<id>/, reads the seat AFTER through the
  helper at that folder, and exits non-zero on ANY difference or an incomplete
  move. It REFUSES the real ~/.config/IDSS by construction (checked before
  existence) — the anti-goal: never disturb Whakatōhea Demo's live seat.
- scripts/lib/prove-0298-migrate.mts drives the shipped migrateLegacySeat via
  node --experimental-strip-types (not a re-implementation); --corrupt lets a
  test prove the sha256 verify catches a bad copy.
- scripts/tests/prove-0298-move-test.sh (offline, 4 checks): passes on a
  synthetic seed (real migrate + a header-reading stub helper, before == after,
  exit 0); fails loudly on an injected copy corruption and on a tampered seat
  read; refuses the real path. The real end-to-end path (Go helper `found` op
  `seat` + real migrate) was verified green in-sandbox on a Whakatōhea-shaped
  synthetic seed.

Docs (ADR 0042):
- ADR 0050 -> status: superseded by 0298.
- One-line supersession notes on ADR 0121/0126/0168 (the citations that assume
  the seat lives at the app root); 0125/0127/0162/0187 cite 0050 only for
  resume/persistence discipline or naming, which 0298 preserves — left as-is.
- docs/architecture/09-founding-sequence.md updated at both 0050 references.
- CONTEXT.md gains Health board and Community folder.
- docs/GOTCHAS.md #403: the pre-0298 seat lives at the app root; the move
  refuses vm/; prove on a COPY only.
- STATUS.md: milestone-log entry prepended.

Nothing contacts a gateway (the seat read is a header read). unproven_by_seam:
Ben's real seat — the human ticket (#2103) runs the prove script on his laptop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Factory-Account: d631bd58e1e9
ben force-pushed session/land-2100-2102 from 0284362488
Some checks failed
ci / seam (pull_request) Successful in 12m45s
ci / publish-broker (pull_request) Has been skipped
ci / publish (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
to 68c749bf05
Some checks failed
ci / seam (pull_request) Successful in 17m13s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
2026-11-02 13:28:22 +00:00
Compare
ben merged commit c3a7812537 into main 2026-11-02 16:18:22 +00:00
Sign in to join this conversation.
No reviewers
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!2118
No description provided.