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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #17997
  • #16695
  • #18273
  • #17623

Powered by Codex Action

etraut-openai contributor · 4 months ago

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.

NSKryukov · 4 months ago

However, It wil be cool to have simply command