Skip to content

Add --ignore-user-config option#280

Closed
joshavant wants to merge 1 commit into
zed-industries:mainfrom
joshavant:feature/ignore-user-config
Closed

Add --ignore-user-config option#280
joshavant wants to merge 1 commit into
zed-industries:mainfrom
joshavant:feature/ignore-user-config

Conversation

@joshavant

Copy link
Copy Markdown

Summary

Add a --ignore-user-config option to codex-acp that starts the adapter without loading $CODEX_HOME/config.toml, while continuing to use CODEX_HOME for authentication and other Codex state.

This mirrors the codex exec --ignore-user-config flag added upstream in OpenAI Codex in openai/codex#18646 (be4fe9f9b21a3e3909c641c9c74e08cbaf355cc8). The option is useful for ACP clients that want to provide their own session configuration and avoid user-level hooks or MCP servers, while still using the user's existing Codex login.

The existing -c/--config overrides continue to apply when user config is ignored. The README notes that callers can pass settings such as -c cli_auth_credentials_store=auto explicitly if those settings normally come from config.toml.

Verification

  • cargo fmt --all -- --check
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo run -- --help
  • git diff --check

@benbrandt

Copy link
Copy Markdown
Member

Hi thanks for taking the time to dig in!
Development is moving to agentclientprotocol/codex-acp. The new adapter is built on the new Codex App Server, and we are pooling implementation and maintenance work across teams there. If this is still needed, please open a PR for that one. Thanks!

@benbrandt benbrandt closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants