Skip to content

full-auto doesn't activate on-failure approval policy #4847

Closed

Description

@kk-code-lab

What version of Codex is running?

codex-cli 0.45.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

Run codex --help and view --full-auto description. It says "Convenience alias for low-friction sandboxed automatic execution (-a on-failure, --sandbox workspace-write)"

Run codex --full-auto and /status. It shows Approval: on-request, Sandbox: workspace-write. The same effect without --full-auto.

What is the expected behavior?

The expected behavior is the on-failure mode for the approval policy when using --full-auto, as described in the help section.

Same when working in an approved directory.

What do you see instead?

I see Approval: on-request reported by /status.

Additional information

In "on-request" mode, the model is confused by commands such as "dotnet build" that attempt to reach the Internet and then sit silently and time out without reporting an error.

Activity

  1. added
    bug
    on Oct 6, 2025
  2. added a commit that references this issue on Oct 10, 2025
    e92e914
  3. added
    sandbox
    on Nov 2, 2025
  4. added a commit that references this issue on Feb 26, 2026
    dade48a
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

    bugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions