Repository navigation
Preserve encrypted agent messages in Guardian reviews - #49038
Merged
copyberry[bot] merged 1 commit intoSep 28, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Guardian transcripts omitted encrypted agent messages, leaving reviews without evidence such as encrypted parent replies. ## What changed - Carry encrypted `agent_message` items through synchronous reviews and asynchronous scoring, preserving their order, author, recipient, and ciphertext. - Account for native messages in context budgets and omit them whole with an explicit notice when limits require it. - Support mixed text and native messages during review admission while retaining user-content annotations. ## Testing Add coverage for transcript ordering and budget eviction in both reviewer profiles, plus a mocked scenario verifying that an encrypted parent reply appears exactly once in each of two incremental Guardian reviews. GitOrigin-RevId: abc2f1ce5accd83beb06f799ef9ed9d7fa2cd90a
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/abc2f1ce5accd83beb06f799ef9ed9d7fa2cd90a
branch
from
September 28, 2026 17:40
11aa1d8 to
368e5ea
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/abc2f1ce5accd83beb06f799ef9ed9d7fa2cd90a
branch
September 28, 2026 17:40
jameskennedy370-create
deployed
to
issue-triage
September 28, 2026 17:43 — with
GitHub Actions
Active
jameskennedy370-create
deployed
to
issue-triage
September 28, 2026 17:43 — with
GitHub Actions
Active
jameskennedy370-create
deployed
to
issue-triage
September 28, 2026 17:43 — with
GitHub Actions
Active
This branch was successfully deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Preserve encrypted agent messages in Guardian reviews
Why
Guardian transcripts omitted encrypted agent messages, leaving reviews without evidence such as encrypted parent replies.
What changed
agent_messageitems through synchronous reviews and asynchronous scoring, preserving their order, author, recipient, and ciphertext.Testing
Add coverage for transcript ordering and budget eviction in both reviewer profiles, plus a mocked scenario verifying that an encrypted parent reply appears exactly once in each of two incremental Guardian reviews.