Files
codex/codex-rs/tui/src
zhao-oaiandGitHub 87666695ba execpolicy tui flow (#7543)
## Updating the `execpolicy` TUI flow

In the TUI, when going through the command approval flow, codex will now
ask the user if they would like to whitelist the FIRST unmatched command
among a chain of commands.

For example, let's say the agent wants to run `apple | pear` with an
empty `execpolicy`

Neither apple nor pear will match to an `execpolicy` rule. Thus, when
prompting the user, codex tui will ask the user if they would like to
whitelist `apple`.

If the agent wants to run `apple | pear` again, they would be prompted
again because pear is still unknown. when prompted, the user will now be
asked if they'd like to whitelist `pear`.

Here's a demo video of this flow:


https://github.com/user-attachments/assets/fd160717-f6cb-46b0-9f4a-f0a974d4e710

This PR also removed the `allow for this session` option from the TUI.
2025-12-04 07:58:13 +00:00
..
2025-12-04 07:58:13 +00:00
2025-12-04 07:58:13 +00:00
2025-12-03 11:25:44 -08:00
2025-12-03 20:30:43 +00:00
2025-12-03 20:30:43 +00:00
2025-12-03 20:54:48 -08:00
2025-12-04 07:58:13 +00:00
2025-09-15 00:42:53 -07:00
2025-12-03 16:29:13 +00:00
2025-08-05 04:23:22 +00:00
2025-11-17 11:49:09 -08:00
2025-12-03 11:25:44 -08:00
2025-09-15 06:44:40 -07:00
2025-12-03 16:29:13 +00:00
2025-09-30 00:10:04 +00:00