Files
codex/codex-rs/analytics
marksteinbrick-oai 9c60cb0a27 Include classifier turn IDs in Guardian v2 analytics (#62125)
## 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
2026-11-17 23:15:04 +00:00
..