CDX-REQ-001: Unknown Codex requirements.toml Key - Codex CLI
Summary
- Rule ID:
CDX-REQ-001 - Severity:
MEDIUM - Category:
Codex CLI - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-05-24
Applicability
- Tool:
codex - Version Range:
>=0.133.0 - Spec Revision:
unspecified
Evidence Sources
- https://github.com/openai/codex/blob/rust-v0.133.0/codex-rs/config/src/config_requirements.rs
- https://github.com/openai/codex/blob/rust-v0.133.0/docs/config.md
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
false - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
allowed_sandbox_mode = ["read-only"]
Valid
allowed_sandbox_modes = ["read-only"]