Repository navigation
P5-O18: the audience frame names who a change withdrew (M2 follow-up for M4) - #489
Merged
Merged
Conversation
… 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)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An O18 M2 follow-up that M4 (sminos) needs. The endpoint's RL10
audienceframe for a local session now carries an optionalwithdrawn: the members that the change at thatpolicyRevwithdrew. 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
unlistednotice. Removing a share already worked, since sminos could compute that set from two audience frames.What changed.
withdrawnBy(previous, next, everyone)insrc/endpoint/rl10/audiences.tsis now the single computation behind both the frame and the signer's#noticecheck (log-relay.ts). The set sminos is told is therefore, by construction, exactly the set the signer accepts.#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.orgframe.Tests. I added assertions to
test/endpoint/rl10/conversation.local.test.ts:withdrawnon a first rev;[B]when B's share is removed;They failed before the change (
removed.withdrawnwas undefined) and pass with it. audience-signing (21), policy-cache (8) and reach (8) pass locally, andtsc -p tsconfig.node.jsonis 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)