Skip to content

P5-O18: the audience frame names who a change withdrew (M2 follow-up for M4) - #489

Merged
SSFSKIM merged 1 commit into
masterfrom
p5-o18-withdrawn
Nov 6, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
p5-o18-withdrawn

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 6, 2026

Copy link
Copy Markdown
Owner

An O18 M2 follow-up that M4 (sminos) needs. The endpoint's RL10 audience frame for a local session now carries an optional withdrawn: the members that the change at that policyRev withdrew. Part of #477.

Why. Going private from listed or org-wide withdraws the org's members, less the new audience (D6). sminos holds no member list, so it couldn't name the stream writer for its unlisted notice. Removing a share already worked, since sminos could compute that set from two audience frames.

What changed.

  • The computation. withdrawnBy(previous, next, everyone) in src/endpoint/rl10/audiences.ts is now the single computation behind both the frame and the signer's #notice check (log-relay.ts). The set sminos is told is therefore, by construction, exactly the set the signer accepts.
  • The frame. #recordMoved (link.ts) computes the set against the newest rev before this one that the cache holds. It's absent when the change withdrew no one, and absent on a session's first rev.
  • Remote audiences are re-told without it.
  • The spec. Interfaces §B gains the field, and the Decision Log records it, rejecting the alternative of putting the head's member ids on the org frame.

Tests. I added assertions to test/endpoint/rl10/conversation.local.test.ts:

  • no withdrawn on a first rev;
  • [B] when B's share is removed;
  • every other member when a listed session goes private.

They failed before the change (removed.withdrawn was undefined) and pass with it. audience-signing (21), policy-cache (8) and reach (8) pass locally, and tsc -p tsconfig.node.json is clean.

Gate. static, unit and probes are GREEN on 1493136: https://github.com/SSFSKIM/MAWS/actions/runs/42146373571.

Review. reviewer-high with a confidentiality lens found the change correct, with no material findings. It checked the welcome and restatement paths, the cache's before-rev, and that remote frames omit the field.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)

… M4)

Going private from listed withdraws the org's members less the new audience,
and sminos holds no member list, so it could not name its unlisted notice's
stream. The audience frame now carries withdrawn, computed by the same
withdrawnBy the signer checks a notice against; absent when none.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T01:59:24.670744Z 1493136 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit a6bae52 into master Nov 6, 2026
SSFSKIM added a commit that referenced this pull request Nov 6, 2026
…udience frame names who a change withdrew

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@SSFSKIM
SSFSKIM deleted the p5-o18-withdrawn branch November 6, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant