Skip to content

Fix #3129: restore “on-failure” approval selection and split approvals from sandbox in TUI (adds /sandbox) - #3205

Closed
oyiakoumis wants to merge 2 commits into
openai:mainfrom
oyiakoumis:fix-approvals-sandbox-commands
Closed

oyiakoumis wants to merge 2 commits into
openai:mainfrom
oyiakoumis:fix-approvals-sandbox-commands

Conversation

@oyiakoumis

Copy link
Copy Markdown
Contributor

What

Why

  • In-session changes forced “on-request”, making “on-failure” unreachable.
  • This broke the documented “Auto” behavior.

How

  • Remove presets coupling

    • Deleted: codex-rs/common/src/approval_presets.rs
    • Removed export: codex-rs/common/src/lib.rs
  • TUI changes

    • Approvals popup sets approval policy only; new Sandbox popup controls sandbox
      • codex-rs/tui/src/chatwidget.rs
    • Added /sandbox command and help text
      • codex-rs/tui/src/slash_command.rs
    • New-session tips include /sandbox
      • codex-rs/tui/src/history_cell.rs

@etraut-openai

Copy link
Copy Markdown
Contributor

Thanks for the contribution, and apologies for the slow response. We've received many PRs, and we don't have the bandwidth on the codex team to review all of them.

We've updated our contribution guidelines to clarify that we're currently accepting contributions for bugs and security fixes, but we're not generally accepting new features at this time. We need to make sure that all new features compose well with both existing and upcoming features and fit into our roadmap. If you would like to propose a new feature, please file or upvote an enhancement request in the issue tracker. We will generally prioritize new features based on community feedback.

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 5, 2025
@openai openai unlocked this conversation Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants