CDX-AG-009: AGENTS.md Exceeds Codex project_doc_max_bytes
Summary
- Rule ID:
CDX-AG-009 - Severity:
MEDIUM - Category:
Codex CLI - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
codex - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://learn.chatgpt.com/docs/agent-configuration/agents-md
- https://learn.chatgpt.com/docs/config-file/config-advanced
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
one AGENTS.md of 40 KiB
Valid
AGENTS.md under 32 KiB, details in nested AGENTS.md files