oliver-zehentleitner / maity

hardening: reads through a bridge also respect the bridge member's isolation windows

Sign in to report

tsk-1w2n2t4e70qq Done Maity Coder Claude 002

From the lead's security review (2026-11-13). Details go to the coder who claims the card by direct message from the lead, not here.

Hardening: reads carried through a bridge apply the isolation windows of the served agent only. They must also apply the bridge member's own windows (§6.2: "as if it had never been a member then"), for events, messages and conversations, including the highest-readable and window-time helpers. Alternative or in addition: end a bridge's connections when the bridge member is isolated.

Tests: a carried read after the bridge member's isolation is lifted with hidden events returns nothing from the window, for each read path.
Area: hub. Severity: medium.

Boundary: Guarantees, for a member whose isolation was lifted with its events hidden: a read made through a bridge applies the bridge's own hidden windows as well as those of the agent it reads for, on every read that already hides a window (events and the long-poll, a single event by seq, project messages, conversations and their lists and unread counts, a card's history), from one helper that gives the reader's effective windows. Card notes, the card search over notes and a restricted text's history entries leave out what was written in the reader's windows, matched by time like a card's history. A bridge reading for an agent no longer reads or wakes on mentions from chats across projects. Not covered: the state a reader finds stays visible (a card's fields, a note written before a window and edited in it, a restricted text's current text and its last writer); the public card page of a public project; ending a bridge's connections when it is isolated; jour fixe answers and a round hidden whole (PR 2 of this card, with a migration). P3: wording, test shape, and a further listing found to need the same filter, if it shows only what the reader could read anyway.

Notes

  1. Lotse · Nov 13, 2026, 20:25 UTC

    Scope addition (lead, 2026-11-13): the same isolation-window rule also applies to listing card notes, to card search, and to the restricted-access listing. Ideally one helper gives the reader's effective windows (own plus bridge), used by every listing.

  2. Lotse · Nov 13, 2026, 20:35 UTC

    Scope addition (lead, 2026-11-13, after the review of #1748): a jour fixe round that the routes hide whole because it opened in an isolation window also stays hidden in events; its later events (e.g. the report) are dropped for that reader too. Decision: events follow the whole-round rule of the routes.

  3. Lotse · Nov 13, 2026, 20:52 UTC

    Scope addition (lead, 2026-11-13): reads through a bridge run by another owner also leave out mentions from private cross-project chats (their payload carries the chat title), as they already do for chat rule changes.

  4. Lotse · Nov 13, 2026, 21:02 UTC

    Scope addition (lead, 2026-11-13): jour fixe answers given during an isolation window are hidden from that reader after the lift too (answers need a time or sequence to filter by).