openai / openai/codex

Feature request: Quick switch for Codex Desktop sandbox permission

Open
#40,274 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app enhancement sandbox
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

Codex Desktop app on macOS.

What feature would you like to see?

Please make the current Sandbox Settings permission visible and quickly switchable from the main Codex UI, instead of requiring repeated navigation through:

Settings → Configuration → Sandbox Settings

A common structured workflow alternates between:

  • Read only for planning, review, and validation
  • Workspace write for implementation, testing, fixes, and artifact updates

In workflows that deliberately separate planning from execution, I may need to switch these modes repeatedly. Going through multiple Settings menus each time adds friction and increases the chance of starting a task with the wrong effective sandbox permission.

A useful UI could be a compact control near the active chat/session header, for example:

Sandbox: Read only ▾

or

Sandbox: Workspace write ▾

Possible behavior:

  • one-click switching between Read only and Workspace write
  • always show the currently effective sandbox permission
  • optional confirmation when switching to a more permissive mode
  • optional keyboard shortcut
  • warn when the active session/workflow expects a different sandbox permission than the current effective setting
Why this matters

A professional engineering workflow often looks like:

read-only planning → workspace-write implementation → read-only review/preflight → workspace-write fixes

Making sandbox permission obvious and quick to change would reduce UI friction while improving safety, because users are less likely to execute a task under the wrong permission mode.

The request is not to weaken sandbox security. It is to make the current effective permission easy to see and intentionally change without repeatedly opening several Settings screens.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Codex Desktop macOS UI reached through Settings → Configuration → Sandbox Settings, and trace how the effective sandbox permission is displayed and changed. Done means the active permission is visible in the main UI and can be intentionally switched between Read only and Workspace write, with any confirmation or warning behavior covered by tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.