Repository as system of record

instruction blockloaded on demandstale
AGENTS.mddocs/Context windowdesign-docs/exec-plans/product-specs/references/QUALITY_SCORE.mdAGENTS.mdexec-plans/
  1. A monolithic AGENTS.md crowds context and rots.
  2. AGENTS.md becomes a table of contents into docs/.
  3. Progressive disclosure: the agent follows one pointer.
  4. 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