Extend the Configuration Reference with the default values
Open 💬 2 comments Opened Feb 3, 2026 by SC-CTS
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What is the type of issue?
Documentation is missing
What is the issue?
The configuration reference only specifies the allowed values but is missing the default value used when not configured.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed this on current
main, checked the duplicate pointer to#8702, and compared the actual runtime default with the repo-owned config reference surface.Repro
agents.max_threadshas no limit when omitted.main, runtime config resolution falls back toDEFAULT_AGENT_MAX_THREADS, which isSome(6).Root Cause
AgentsToml::max_threadsstill documentsWhen unset, no limit is enforced.incodex-rs/core/src/config/mod.rs.codex-rs/core/config.schema.json, so both source-of-truth and generated fixture drift together.main.Validation
cargo run -p codex-core --bin codex-write-config-schemacargo test -p codex-core config_schema_matches_fixture -- --nocaptureDocs / Help Impact
When unset, Codex defaults this limit to 6.foragents.max_threads.Risk
Maintainer Pickup
gh pr create --repo openai/codex --base main --head middleDuckAi:middleDuck/codex-10517-extend-the-configuration-reference-with-the --title "$(gh pr view 9 --repo middleDuckAi/codex --json title --jq .title)" --body "$(gh pr view 9 --repo middleDuckAi/codex --json body --jq .body)"