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" />
- 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.
- The next time Codex opens that directory to work, it detects this command and executes it automatically without asking for confirmation.
- This is more intuitive and controllable than full-access permissions.
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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.