AGENTS.md50–200 lines
Hard constraints
- Non-negotiable
- Global
- Short and testable
Routing map
- API → api.md
- Database → database.md
- Testing → testing.md
An entry file should route attention—not consume it.
Notes from Learn Harness Engineering · Lecture 04
10–20K tokens of instructions crowd out code, tool output, and reasoning.
Critical rules buried in long text are less likely to be retrieved and followed.
Hard constraints, guidelines, and old lessons look equally important.
Adding feels free; deleting feels risky. Signal-to-noise steadily declines.
Rules written at different times diverge, leaving the agent to choose.
A quick vocabulary map for remembering why routing beats accumulation.