mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## What changed - Add `restrict_to` helpers that combine parent and requested `WebSearchMode` and `AppToolApproval` values without granting access beyond either policy. - Treat `Auto` and `Writes` approval modes as incomparable, falling back to `Prompt` when they are combined. ## Testing - Cover every pair of web search and app tool approval modes. GitOrigin-RevId: 41b3da5ace2fbdaab667c4b834bc2051a8e5e9cf