Repository navigation
Deduplicate retained instructions in async Guardian context - #48110
Merged
copyberry[bot] merged 1 commit intoSep 25, 2026
Conversation
## Why Async Guardian requests include retained user instructions even when complete copies are already present in the same request's transcript. ## What changed - Include retained source metadata and order labels in async user transcript entries. - Omit retained instructions when the current transcript contains the same complete source revision. Keep ordering guidance in every async sample and never rely on previous samples for deduplication. - Preserve retained originals when transcript copies are incomplete or lack source metadata. ## Testing Extend retained-instruction tests to cover async deduplication, preservation of originals without complete source proof, and budget protection. Update async scorer expectations for source order labels and deduplicated instructions. GitOrigin-RevId: 7029731b296d2342eea4ad74ffa9d3447578d83e
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/7029731b296d2342eea4ad74ffa9d3447578d83e
branch
from
September 25, 2026 14:55
3379cc7 to
8592869
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/7029731b296d2342eea4ad74ffa9d3447578d83e
branch
September 25, 2026 14:55
jcsolucoesemcrm-cyber
deployed
to
issue-triage
September 25, 2026 14:57 — with
GitHub Actions
Active
jcsolucoesemcrm-cyber
deployed
to
issue-triage
September 25, 2026 14:57 — with
GitHub Actions
Active
jcsolucoesemcrm-cyber
deployed
to
issue-triage
September 25, 2026 14:57 — with
GitHub Actions
Active
jcsolucoesemcrm-cyber
deployed
to
issue-triage
September 25, 2026 14:58 — 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.
Deduplicate retained instructions in async Guardian context
Why
Async Guardian requests include retained user instructions even when complete copies are already present in the same request's transcript.
What changed
Testing
Extend retained-instruction tests to cover async deduplication, preservation of originals without complete source proof, and budget protection. Update async scorer expectations for source order labels and deduplicated instructions.