Skip to content

Allow interactive editing of sandbox permission requests #23227

Open

Description

@pmetzger

What variant of Codex are you using?

CLI

What feature would you like to see?

When the agent asks you if you are willing to approve a sandbox request, you are given the option of allowing commands starting with some prefix to be run without approval in the future. However, the prefixes that are chosen are often suboptimal, either allowing too broad a set of commands to be run in the future or too narrow a range

It would be nice to be able to enter a small editor and decide what fraction of the line will be permitted without further user authorization in the future. It would even be especially slick if one could label particular fields on a line as wildcards (say, unimportant things like a field which always has the names of a build directory and which you are always okay if the agent wants to remove.)

Additional information

No response

Activity

  1. added
    enhancement
    on May 18, 2026
  2. added
    CLI
    sandbox
    TUI
    on May 18, 2026
  3. github-actions commented on May 18, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. removed
    CLI
    on May 18, 2026
  5. pmetzger commented on May 18, 2026

    @pmetzger
    Author

    This is not a duplicate of that other one. Though they are both about the permission system, they cover different portions of it. It would probably be reasonable to provide quite a general mechanism for viewing and editing permissions.

  6. pmetzger commented on Jul 29, 2026

    @pmetzger
    Author

    Note that I would happily write this feature if the maintainers would entertain the pull request.

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

    TUIenhancementsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions