You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
approval white list or single git {add/commit} approvals #4665
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.
Activity
github-actions commentedon Oct 3, 2025
Potential duplicates detected:
Powered by Codex Action
etraut-openai commentedon Dec 23, 2025
We have added an experimental "execution policy rules" feature. You can read about it here.