Repository as system of record
instruction blockloaded on demandstale
- A monolithic AGENTS.md crowds context and rots.
- AGENTS.md becomes a table of contents into docs/.
- Progressive disclosure: the agent follows one pointer.
- A doc-gardening agent finds stale docs and opens a fix-up PR.
Notes & references
Use when
Agents need project knowledge that outgrows one instruction file.
Avoid
Knowledge kept in chat or wikis: what the agent cannot read does not exist.
AGENTS.md # ~100 lines, pointers only
ARCHITECTURE.md
docs/
design-docs/
exec-plans/ # active/, completed/, tech-debt-tracker.md
product-specs/
references/
QUALITY_SCORE.md
- Harness engineeringOpenAI
- How Claude remembers your projectClaude Code
- Effective context engineering for AI agentsAnthropic