Field Guides / Set up coding agents with review gates / Checklist

Printable checklist · last checked December 2, 2026

Coding agent setup checklist

Sign off each line before agents merge anything on their own. The guide explains each step.

The repository

FieldAnswer
Repository and main branch
Verify command
Required checks
Owner, and second owner

Checks

CheckWhat must be trueDoneBy
1. RulesA rules file in the repo says how to build, test and verify, and what the agent must not touch.
2. VerifyOne command runs every check, and it passes on the main branch today.
3. TestsA bug fix starts with a test that fails before the fix.
4. TasksEach task fits one branch and one pull request a person can review in one sitting.
5. ParallelParallel sessions each work in their own branch and working folder.
6. GateThe main branch takes changes only through pull requests whose required checks passed on an up-to-date branch.
7. ClassesWritten risk classes say which changes an agent may merge and which wait for a person.
8. OwnersSensitive paths have named owners whose review is required.
9. HandoffsEvery session leaves what changed, what it checked and what is left in the pull request or ticket.
10. TokensAgent tokens reach only the repositories and permissions they need, and they expire.
11. SecretsPushes that contain credentials are blocked before they reach the repository.
12. MeasureCost per merged change and the change fail rate are reviewed every month.

Signed off by ______________ on ____________ · Next review ____________