AGM-001: Valid Markdown Structure - AGENTS.md
Summary
- Rule ID:
AGM-001 - Severity:
HIGH - Category:
AGENTS.md - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-02-09
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://developers.openai.com/codex/guides/agents-md
- https://docs.cursor.com/en/context
- https://docs.cline.bot/prompting/cline-memory-bank#cline-memory-bank-custom-instructions-[copy-this]
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
# Project
```python
def hello():
print("world")
This code block is never closed.
Valid
# Project
```python
def hello():
print("world")
```
See [docs](https://example.com) for more.