Repository navigation
Include preceding assistant context in Guardian sender reviews - #49951
Merged
copyberry[bot] merged 1 commit intoOct 1, 2026
Conversation
## Why Short sender replies such as `👍` need preceding assistant context to be understood during a delegation review. User messages alone omit that context. ## What changed - Capture preceding assistant context alongside up to three recent sender user messages at delivery, for Guardian only. Label assistant messages as untrusted context rather than authorization or verified questions. - Share the existing 900-byte budget per exchange, prioritize user evidence, and report unavailable assistant context. - Recognize `cloud_threads.send_message` deliveries and accept both compact and indented delegation envelopes. ## Testing Expand integration coverage for app, TUI, and cloud-thread deliveries, contextual replies, and budget-driven omissions. Assert that sender user and assistant context stays out of the delegated agent's prompt. GitOrigin-RevId: 4eca369cbb30241635273f729dec81b78ea57faf
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/4eca369cbb30241635273f729dec81b78ea57faf
branch
from
October 1, 2026 10:47
519dffb to
f70810b
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/4eca369cbb30241635273f729dec81b78ea57faf
branch
October 1, 2026 10:47
promethLon
temporarily deployed
to
issue-triage
October 1, 2026 10:50 — with
GitHub Actions
Inactive
promethLon
temporarily deployed
to
issue-triage
October 1, 2026 10:50 — with
GitHub Actions
Inactive
promethLon
temporarily deployed
to
issue-triage
October 1, 2026 10:50 — with
GitHub Actions
Inactive
AyinMostima
temporarily deployed
to
issue-triage
October 1, 2026 10:52 — with
GitHub Actions
Inactive
AyinMostima
temporarily deployed
to
issue-triage
October 1, 2026 10:52 — with
GitHub Actions
Inactive
AyinMostima
temporarily deployed
to
issue-triage
October 1, 2026 10:52 — with
GitHub Actions
Inactive
This branch was previously 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.
Include preceding assistant context in Guardian sender reviews
Why
Short sender replies such as
👍need preceding assistant context to be understood during a delegation review. User messages alone omit that context.What changed
cloud_threads.send_messagedeliveries and accept both compact and indented delegation envelopes.Testing
Expand integration coverage for app, TUI, and cloud-thread deliveries, contextual replies, and budget-driven omissions. Assert that sender user and assistant context stays out of the delegated agent's prompt.