mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why Synchronous Guardian reviews could receive screenshots from Code Mode calls, but missed screenshots returned by direct calls to the same REPL connectors. ## What changed Capture screenshots from accepted direct `node_repl` and `cua_repl` MCP results when multimodal review evidence is enabled. Include them alongside Code Mode evidence in call order, with separate retention budgets. When the synchronous review prompt exceeds its fixed image budget, retry with only the last image in prompt order and keep it if the prompt fits. ## Testing Add coverage for screenshot delivery to synchronous permission reviews, including text-only mode and image budget overflow. Verify that direct screenshots preserve call order and do not consume the Code Mode retention budget. GitOrigin-RevId: e74ee6c5578225efb284c1ca38494377a1d0762e