-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing
Description
What version of Codex is running?
0.57.0
What subscription do you have?
ChatGPT
Which model were you using?
No response
What platform is your computer?
Darwin 24.3.0 arm64 arm
What issue are you seeing?
The current description of full-auto when running codex --help and codex exec --help is as follows:
--full-auto
Convenience alias for low-friction sandboxed automatic execution (-a on-failure, --sandbox workspace-write)However when looking at the code inside codex-rs/tui/src/lib.rs it seems that full-auto is on-request rather than on failure:
pub async fn run_main(
mut cli: Cli,
codex_linux_sandbox_exe: Option<PathBuf>,
) -> std::io::Result<AppExitInfo> {
let (sandbox_mode, approval_policy) = if cli.full_auto {
(
Some(SandboxMode::WorkspaceWrite),
Some(AskForApproval::OnRequest),
)which is also aligned with what is written in https://github.com/openai/codex/blob/main/docs/sandbox.md#platform-sandboxing-details
What steps can reproduce the bug?
Run codex --help and codex exec --help
What is the expected behavior?
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing