mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Remove legacy --full-auto handling from codex exec (#36054)
## What changed Stop accepting the hidden, deprecated `--full-auto` flag in `codex exec` and remove its implicit mapping to the `workspace-write` sandbox. Callers must now select the sandbox mode explicitly with `--sandbox workspace-write`. GitOrigin-RevId: 0a739eb028eb3e2dd16a7650569256a01123d742
This commit is contained in:
@@ -73,13 +73,3 @@ fn parses_config_isolation_flags() {
|
||||
assert!(cli.ignore_user_config);
|
||||
assert!(cli.ignore_rules);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn removed_full_auto_flag_reports_migration_path() {
|
||||
let cli = Cli::parse_from(["codex-exec", "--full-auto", "summarize"]);
|
||||
|
||||
assert_eq!(
|
||||
cli.removed_full_auto_warning(),
|
||||
Some("warning: `--full-auto` is deprecated; use `--sandbox workspace-write` instead.")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user