Add feature to forbid codex to push to git repo or to execute db commands
Resolved 💬 3 comments Opened Apr 18, 2026 by NSKryukov Closed Apr 18, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
Add command or smth to tune codex permissions in cli:
- Strong disable git push
- Strong disable executing db commands
- Strong disable executing any kubectl commands
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
You can steer the model to avoid using certain commands by specifying instructions in your AGENTS.md. You can also specify tool execution policy rules.
However, It wil be cool to have simply command