CDX-PL-008: Too Many Default Prompts - Codex CLI
Summary
- Rule ID:
CDX-PL-008 - Severity:
MEDIUM - Category:
Codex CLI - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-04-01
Applicability
- Tool:
codex - Version Range:
>=0.117.0 - 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
{"name": "my-plugin", "interface": {"defaultPrompt": ["a", "b", "c", "d"]}}
Valid
{"name": "my-plugin", "interface": {"defaultPrompt": ["Fix the bug", "Add tests"]}}