XP-007: AGENTS.md Exceeds Codex Byte Limit - Cross-Platform
Summary
- Rule ID:
XP-007 - Severity:
MEDIUM - Category:
Cross-Platform - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2025-05-01
Applicability
- Tool:
codex - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
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
# AGENTS.md
(content exceeding 32768 bytes - will be truncated by Codex CLI)
Valid
# AGENTS.md
## Overview
Concise project instructions under 32KB.
## Commands
- npm run build
- npm run test