← Playbook
Practice 06 · Engineering
Make the codebase ready for agents
The practice in short
Coding agents perform as well as the repository allows. Fast tests, clear documentation, and small review steps come before the agent licences.
Archer & Linc · Updated October 2, 2026
Why it matters
An agent in a repository with thin tests produces changes that nobody can trust. The team then reviews every line by hand, and the speed gain disappears. The same agent in a well-tested repository can complete real tasks with light review.
How to apply it
- Measure the basics: test coverage on critical paths, CI time, review time.
- Write a short context file that tells an agent how the project is built and tested.
- Make the test suite fast enough to run on every change.
- Start agents on low-risk work: tests, documentation, small refactors.
- Keep changes small, and require a passing test run before human review.
Signs it works
- Agent-written changes pass review at the same rate as human changes.
- CI gives a result in minutes.
- New engineers also get productive faster. The same fixes help people.