mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## What changed - Capture accepted, successful `node_repl` results from Code Mode and include them as bounded, untrusted evidence in Guardian review prompts. - Enable the enhanced transcript through `guardian_enhanced_node_repl_transcripts` or when the selected model requires automatic Node REPL review. - Keep this evidence out of the parent model history, exclude encrypted and failed results, and avoid resending admitted evidence when a Guardian session is reused. - Clear retained evidence and invalidate review sessions when a thread is rolled back. ## Testing - Add unit coverage for evidence ordering, escaping, truncation, and empty responses. - Add an integration test covering feature-disabled, feature-enabled, and model-required behavior, including filtering and review-session reuse. GitOrigin-RevId: edc3dca5d5b88d472a492f35531ec46889a89d72