Skip to content

Codex CLI 0.133.0 fails to start with default permissions, but starts when explicitly passing --sandbox workspace-write. #24405

@norman0686

Description

@norman0686

What version of Codex CLI is running?

0.133.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5

What platform is your computer?

Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

Ghostty / tmux

Codex doctor report

What issue are you seeing?

Description

Codex CLI 0.133.0 fails to start with default permissions, but starts when explicitly passing --sandbox workspace-write.

Environment

  • OS: Linux
  • Install path: /home/yunqing/.nvm/versions/node/v22.17.0/bin/codex
  • Version: codex-cli 0.133.0
  • CWD: /home/yunqing/projects/trade

Error

Running:

codex

fails with

Error: Failed to start a fresh session through the app server: thread/start failed during TUI bootstrap: thread/start failed: Invalid request: invalid type: string ":workspace", expected internally tagged enum PermissionProfileSelectionParams (code -32600)

Workaround

This works

codex --sandbox workspace-write

Downgrade also works

npm install -g @openai/codex@0.132.0

What steps can reproduce the bug?

Upgrade to codex 0.133.0 and run $ codex

What is the expected behavior?

Codex CLI should open without any error.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions