Skip to content

The required permissions are configured in the file #6490

Closed

Description

@gonyua

What feature would you like to see?

Image 
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

Activity

  1. added
    enhancement
    on Nov 11, 2025
  2. added
    CLI
    sandbox
    on Nov 11, 2025
  3. etraut-openai commented on Dec 14, 2025

    @etraut-openai
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIenhancementsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions