Selecting "always" doesn't work

Resolved 💬 2 comments Opened Sep 1, 2025 by cyruszad Closed Nov 28, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.27.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

Basically the issue is that whenever I give permission and select always it keeps asking me again for permission.

What is the expected behavior?

Shouldn't ask me again during the session

What do you see instead?

Asked again.

Additional information

_No response_

View original on GitHub ↗

2 Comments

yumosx · 12 months ago

HI @cyruszad I think the problem may arise because the command has not been transformed.
Can you provide more information or context? I can try to fix it.

etraut-openai contributor · 9 months ago

As mentioned above, this is probably because subsequent commands have different arguments. The "Allow always" conservatively approves only those commands that are identical or substantially similar to the allowed command.