mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why A turn can contain multiple Guardian reviews, and denial reconsideration can produce multiple responses for one review. Thread and turn IDs alone cannot identify which review and provider response produced the recorded decision. ## What changed Add `review_id`, `reviewer_request_id`, and `reviewer_response_id` to opt-in Guardian failure reports when available. Keep the provider IDs with the selected decision, including the original denial when reconsideration fails and falls back to it. ## Testing Extend tests to check the recorded IDs for initial and reconsidered denials and verify that an invalid retry preserves the original denial's IDs. GitOrigin-RevId: 4bd906bfb9a80808cb3c2a8ac71c5354d4caad1f