Files
codex/codex-rs/core/src
Dylan Hurd a8b4b569fb fix(core) Filter non-matching prefix rules (#12314)
## Summary
`gpt-5.3-codex` really likes to write complicated shell scripts, and
suggest a partial prefix_rule that wouldn't actually approve the
command. We should only show the `prefix_rule` suggestion from the model
if it would actually fully approve the command the user is seeing.

This will technically cause more instances of overly-specific
suggestions when we fallback, but I think the UX is clearer,
particularly when the model doesn't necessarily understand the current
limitations of execpolicy parsing.

## Testing
 - [x] Add unit tests
 - [x] Add integration tests
2026-02-20 22:02:35 -08:00
..
2026-02-21 00:47:15 +00:00
2026-01-27 11:04:23 -08:00
2026-02-10 16:12:31 +00:00
2026-02-20 19:06:35 -08:00
2026-02-18 18:28:34 +00:00
2026-02-20 19:06:35 -08:00
2026-02-10 11:45:23 -08:00
2025-11-28 11:34:57 +00:00