Repository navigation
Include classifier turn IDs in Guardian v2 analytics - #62125
Merged
copyberry[bot] merged 1 commit intoNov 17, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Guardian v2 classification events need the classifier's turn ID to correlate outcomes with the corresponding Responses requests. ## What changed Assign one turn ID per classification and reuse it across request retries. Once request preparation succeeds, include the same ID from `client_metadata.turn_id` as `classifier_turn_id` in the classification event. ## Testing Extend the scoped tool approval integration test to check that the event's classifier turn ID matches the request metadata. GitOrigin-RevId: b3ed4bea12cdc06d0b742775f34f296e9c4de376
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/b3ed4bea12cdc06d0b742775f34f296e9c4de376
branch
from
November 17, 2026 23:15
986c2ec to
9c60cb0
Compare
Contributor
Codex Review Summary: 🔄 RunningThis 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. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/b3ed4bea12cdc06d0b742775f34f296e9c4de376
branch
November 17, 2026 23:15
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 classifier turn IDs in Guardian v2 analytics
Why
Guardian v2 classification events need the classifier's turn ID to
correlate outcomes with the corresponding Responses requests.
What changed
Assign one turn ID per classification and reuse it across request retries.
Once request preparation succeeds, include the same ID from
client_metadata.turn_idasclassifier_turn_idin the classification event.Testing
Extend the scoped tool approval integration test to check that the event's
classifier turn ID matches the request metadata.