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
| Field | Answer |
|---|---|
| Repository and main branch | |
| Verify command | |
| Required checks | |
| Owner, and second owner |
Checks
| Check | What must be true | Done | By |
|---|---|---|---|
| 1. Rules | A rules file in the repo says how to build, test and verify, and what the agent must not touch. | ||
| 2. Verify | One command runs every check, and it passes on the main branch today. | ||
| 3. Tests | A bug fix starts with a test that fails before the fix. | ||
| 4. Tasks | Each task fits one branch and one pull request a person can review in one sitting. | ||
| 5. Parallel | Parallel sessions each work in their own branch and working folder. | ||
| 6. Gate | The main branch takes changes only through pull requests whose required checks passed on an up-to-date branch. | ||
| 7. Classes | Written risk classes say which changes an agent may merge and which wait for a person. | ||
| 8. Owners | Sensitive paths have named owners whose review is required. | ||
| 9. Handoffs | Every session leaves what changed, what it checked and what is left in the pull request or ticket. | ||
| 10. Tokens | Agent tokens reach only the repositories and permissions they need, and they expire. | ||
| 11. Secrets | Pushes that contain credentials are blocked before they reach the repository. | ||
| 12. Measure | Cost per merged change and the change fail rate are reviewed every month. |
Signed off by ______________ on ____________ · Next review ____________