Allow interactive editing of sandbox permission requests

Open 💬 3 comments Opened May 18, 2026 by pmetzger
💡 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?

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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 3 months ago

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

  • #22181

Powered by Codex Action

pmetzger · 3 months ago

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.

pmetzger · 29 days ago

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