The required permissions are configured in the file

Resolved 💬 2 comments Opened Nov 11, 2025 by gonyua Closed Dec 14, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

<img width="280" height="319" alt="Image" src="https://github.com/user-attachments/assets/7811ca8a-b34c-43e5-becc-81dc8faa8f91" /> 

  1. When Codex is working in directory A and executes a command like Bash(./gradlew:xx), it automatically adds Bash(./gradlew:xx) into a configuration file in some directory.
  2. The next time Codex opens that directory to work, it detects this command and executes it automatically without asking for confirmation.
  3. This is more intuitive and controllable than full-access permissions.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 9 months ago

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

  • #4987
  • #4665
  • #5112
  • #6395
  • #5491

Powered by Codex Action

etraut-openai contributor · 8 months ago

We've implemented a new feature called "rules" that is effectively what you're asking for. It's in preview currently, and we'd appreciate feedback if you'd like to give it a try. You can find the documentation here.