mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## Why Guardian V2 should not override a managed approval-reviewer policy that excludes the user reviewer. ## What changed - Force `features.guardianv2` off when `allowed_approvals_reviewers` does not include `user`, for both local requirements and cloud config bundles. - Preserve Guardian V2 when the user reviewer remains allowed or when only legacy Guardian feature settings are present. - Return the effective disabled value through `config/read`. ## Testing Added coverage for cloud requirements and the app-server config RPC. GitOrigin-RevId: 82b6d0aaf47fbaa58ae349d4e56777cd442f5807