Files
codex/codex-rs
jif 93beee910d Add conservative restriction helpers for tool policies (#38183)
## 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
2026-08-12 12:53:07 +00:00
..
2026-07-29 13:53:15 +00:00
…
…
…
2026-07-29 13:53:15 +00:00
…