Skip to content

chore(cli) deprecate --full-auto#20133

Merged
dylan-hurd-oai merged 6 commits into
mainfrom
dh--rm-full-auto
Apr 29, 2026
Merged

chore(cli) deprecate --full-auto#20133
dylan-hurd-oai merged 6 commits into
mainfrom
dh--rm-full-auto

Conversation

@dylan-hurd-oai
Copy link
Copy Markdown
Collaborator

Summary

Starts the process of getting rid of --full-auto, with some concessions:

  1. Fully removes the command from the tui, since it just resolves to the default permissions there, and encourages users to use the one-time trust flow if they're not in a trusted repo.
  2. Marks the command as deprecated in codex exec, in case users are actively relying on this. We'll remove in an upcoming n+X release.
  3. Cleans up some of the codex sandbox cli logic, to keep supporting legacy sandbox policies for now.

This isn't the cleanest setup, but I think it is worthwhile to warn users for one release before hard-removing it.

Testing

  • Updated unit tests

Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! There was one part that I needed to stare at for a while to convince myself that it was correct. Could maybe use a comment — up to you.

Comment thread codex-rs/cli/src/debug_sandbox.rs
@dylan-hurd-oai dylan-hurd-oai enabled auto-merge (squash) April 29, 2026 03:39
Account for the existing Windows behavior where workspace-write legacy sandbox mode is downgraded to read-only when the Windows sandbox is disabled. This keeps the test meaningful on Unix while matching Windows CI.

Co-authored-by: Codex <noreply@openai.com>
@dylan-hurd-oai dylan-hurd-oai merged commit 3d10ba9 into main Apr 29, 2026
25 checks passed
@dylan-hurd-oai dylan-hurd-oai deleted the dh--rm-full-auto branch April 29, 2026 04:41
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants