mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
## What changed - Handle `TurnModerationMetadata` for the active turn, showing a temporary block notice while an explanation is pending. - Validate safety recourse metadata and render topic-specific explanations with safer ways to continue for biological and cybersecurity policy blocks. Apply the explanation only when the terminal policy error matches its domain; otherwise retain the existing error handling. - Queue input while recourse is pending and preserve prepared images when queued messages are submitted. ## Testing Add an integration test covering biological and cybersecurity blocks, the loading notice, and fallback for a mismatched policy error, plus a snapshot of the cybersecurity explanation. Extend queued-image coverage to verify submission succeeds after the original image file is removed. GitOrigin-RevId: dd9ca57cf3b2d842e3deb8aff5d7c3c73a92e14d