# Incident 2026-11-04 — the Loomio sync rehearsal ran against the live services and invited the whole membership Backfilled 2026-11-11 (self-reported by the audit's missing-write-ups list). The operator's brief dates this 2026-11-05; the delegation record that fixed it (fixed the same evening) dates the blast itself to 2026-11-04 — that verified date is used here. ## What happened The portal's Loomio integration keeps the co-op's Loomio group in step with the membership: it adds members who join, removes members who deactivate, and notifies by email on invite. A **rehearsal** of the sync/deactivation path was run to verify proposed behaviour. The harness was not made structurally incapable of a write: the function's dependencies pointed at the **live portal database** and the **live Loomio API**, and a rehearsed path calls exactly the path it was given. The rehearsal re-ran a full membership sync against both, and Loomio issued a **whole-group invite notification — ~83 in-app recipients (Loomio notification id 744)** — to essentially the entire membership, plus the invite emails that path sends. ## Blast radius - ~83 members received a redundant Loomio invite notification and its email for a group most of them were already in. No member data was changed destructively (the sync's add path is additive); the damage was a membership-wide bogus notification, and trust. - The portal database was not corrupted; the live Loomio group state ended up correct (the invited people were mostly already members — which is why the notifications were noise, not access changes). ## Detection gap Our own code recorded nothing — a rehearsal leaves no "blast" record in the portal, and the sync had no per-subject send log. The evidence came from the **third party's own notification log** (Loomio's notification 744), not from anything we monitor. A rehearsal that touches live services does not announce itself; only the receiver's records showed it. ## Resolution (same day, deployed and verified) The fix job (`deleg_8b616d58`, completed 2026-11-04 ~19:00 UTC) re-enabled the sync with the guard that was missing and deployed portal image `20261104-c78acf5` (manifest pinned `d945ba1`): 1. **Idempotent add path** — the sync now checks the destination's actual state before acting: a member already in the Loomio group is never invited or emailed again, no matter how many times the sync runs. The normal schedule keeps admitting genuinely new people. 2. **Removal reconciliation preserved** — the guard must not block removals: a deactivated member still propagates (removals verified idempotent too), so the invite guard cannot silently strand lapsed members in the group. 3. **Verified by the operation's own class of effect**: 0 notification deliveries after the deploy, group total 84 vs 94 portal members (the only roster email not in the portal is `bot@inference.coop`, the allowlist account, correctly excluded), 26/26 portal tests passing (`tests/test_loomio_guard.py` among them). ## Root cause A rehearsal brief that said "test the sync path" without making production unreachable. "Use a fixture, never the live row" is not a control: any function whose dependencies point at live services WILL act on them. The harness must be *structurally incapable* of a write — stub the network layer, copy the database and point the code at the copy, and **prove the isolation before the harness runs** (assert the stub recorded the call instead of the service receiving it). ## The fix that now exists - The add-path idempotence and preserved removal reconciliation above (in the portal image since 2026-11-04; guarded by `tests/test_loomio_guard.py`, which has run green on every push since 2026-11-11 via Woodpecker). - The standing rule, recorded in the steward skill: a rehearsal brief must make production unreachable, and the boundary must be verified before the harness runs — plus a per-subject send record for any path that notifies, seeded from live state, so a first enabled run cannot re-blast the population it is meant to leave alone.