mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
## Why Shadow reviews used default routing and retrieval instructions even when the root thread supplied Guardian V3 settings. ## What changed - Replace `features.guardianv3_shadow` with `features.guardianv3.shadow_enabled` to opt into shadow reviews alongside Guardian V2. Project config cannot set the toggle, and feature requirements can override it. - Use the root thread's routing instructions, retrieval instructions, and board size limit for its shadow board. Child reviewers share the root's board and retrieval instructions. - Keep shadow boards in memory and skip shadow reviews when `features.guardianv3.message_board_in_memory` is explicitly false. ## Testing Add coverage for shadow-only opt-in, config precedence, in-memory enrollment, and root routing and retrieval instructions. GitOrigin-RevId: 085089d70a66c535a86d31906ff59a449ffcb61f