Skip to content

Codex demands to create sandbox in YOLO mode #15078

Open

Description

@lostmsu

What version of Codex CLI is running?

codex-cli 0.115.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Windows

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

No response

What issue are you seeing?

Codex demands creating a sandbox even when I run it with --yolo

What steps can reproduce the bug?

On a fresh system run codex --yolo in any directory

You get trust folder prompt (separate existing issue)

Followed by a prompt to create a sandbox

What is the expected behavior?

No questions asked

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    sandboxIssues related to permissions or sandboxing
    on Mar 18, 2026
  2. etraut-openai commented on Mar 18, 2026

    @etraut-openai
    Contributor

    This is working as intended. The trust prompt isn't the same as a sandbox. If you run with --yolo you will not have the protections of a sandbox. The trust prompt determines whether the project is trusted and controls, for example, whether to load configuration overrides from that project.

  3. lostmsu commented on Mar 19, 2026

    @lostmsu
    Author

    @etraut-openai the trust is not the subject of this bug. The subject of this bug is the demand to create sandbox when --yolo is on. If I only ever run codex with --yolo I will never need the sandbox.

  4. added
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    and removed
    CLIIssues related to the Codex CLI
    on Mar 19, 2026
  5. removed
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Jul 21, 2026
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

    bugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions