feat: add default allow-list for commands/scripts in auto-edit mode

Resolved 💬 2 comments Opened Apr 18, 2025 by jdemeulenaere Closed Apr 19, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

I have created some compile.sh, test.sh and format.sh script in my project, and codex always asks me if it can run them whenever I restart it. There should be a default allow list for these kind of commands that we expect codex to run.

View original on GitHub ↗

2 Comments

tibo-openai collaborator · 1 year ago

Ah you mean that these should always be allowed and codex should not have to ask for approval for these? Have you tried --full-auto?

tibo-openai collaborator · 1 year ago

Implemented in https://github.com/openai/codex/pull/386, please give it a try and raise an issue if it doesn't work well for your usecase!