approval white list or single git {add/commit} approvals
Resolved 💬 2 comments Opened Oct 3, 2025 by o1lo01ol1o Closed Dec 23, 2025
What feature would you like to see?
Codex needs a smarter way to handle approvals. I've had to spend way too long repeatedly approving requests to add and commit changes to git. When I approve "git commit {foo}" this should hold for "git commit {bar}". Same with git add, git branch, git checkout, git diff, git status, git push, etc. Only for --force , git reset, git delete, git rm, etc should multiple approvals be required.
This could be implemented with a whitelist of regexps or similar.
FWIW, yolo mode won't work, i've already had codex try to rm -rf .git twice today.
Are you interested in implementing this feature?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗