diff --git a/docs/confederation-room-removal.md b/docs/confederation-room-removal.md index 71ba81bc..12208960 100644 --- a/docs/confederation-room-removal.md +++ b/docs/confederation-room-removal.md @@ -20,8 +20,12 @@ room), and [confederation-profile.md](./confederation-profile.md), whose D5 to D of the room this plan takes apart. Read [group-inbox.md](./group-inbox.md) for the inbox the bridge writes to. -Written against `9db986c1`, on 2026-11-23. **Not built.** Paths starting `K/` are under -`composeApp/src/commonMain/kotlin/mobi/giza/compose/`. +Written against `9db986c1`, on 2026-11-23. **Being built**, one commit a phase. Paths starting +`K/` are under `composeApp/src/commonMain/kotlin/mobi/giza/compose/`. + +| phase | result | +|---|---| +| 0 | done but for check 6. (1) `GroupInboxReadJvmTest` already pins a stranger's seal opening on every admin's device with the stranger as the rumor's author. (2) by arithmetic, checked again in Phase 4's tests: a signed event is about 400 bytes before its content, a per-person nonce message for one seat about 600, a group's bundle of ten selected roles about 6 KB, and a 30390 carrying a 1.1 KB kind:0 and twelve vouchers about 8 KB, against `MAX_STATEMENT_BYTES` (60,000). (3) 30398 appears nowhere in the code, `RetiredKinds` or quartz; 30397 was only ever written in confederation.md. (4) `MarmotRouting`, `MarmotRetainedEpochSecret`, `MarmotSenderRatchet`, `Participant`, `GroupKeyState`, `GovernanceProposal`, `ChatMessage`, `GroupSignedEvent` and `ConfederationSigningAttempt` cascade from `ChatRoom`, and `ChatRoom.mlsGroupState` is a column of the room's row. Four tables name a room without a key onto it and must be deleted from by hand: `MarmotGroupEvent` (keyed onto `NostrEvent`), `MarmotInnerEvent` (onto `MarmotGroupEvent`, and an outbound one onto nothing), `MarmotCommitResult`, and `GiftWrapPayload`, which a Marmot room never holds. (5) `LiveSubscriptionManager.groupInboxFilters` asks with a `limit` and no `since`, so a wrap dated two days back is heard live. (6) **not done**: no emulator was reachable from this session. (7) five rounds, each room → carrier → inbox, and → room again for a group with a seated member who is not an admin: four relay legs at worst beside today's one, plus `k × 20` seconds when the first carrier is away | ---