Software Engineering / Version Control & Review
Review agent-written changes before they merge
- MUST have every agent-written change reviewed by someone other than its author: a person, or an independent reviewer agent followed by a person for anything that ships.
- MUST review against the original request and acceptance criteria, not against the agent’s own summary of what it did.
- MUST run the tests and checks yourself (or confirm CI ran them on the final commit), rather than trusting reported results.
- MUST check the diff for weakened verification: deleted, skipped or loosened tests and assertions; mocked-out code under test; lowered coverage or lint thresholds; disabled checks (BP-0038).
- MUST check for scope creep: changes outside the task, new dependencies, configuration or CI changes, and edits to generated or vendored files.
- MUST check security-relevant changes: secrets, permissions, authentication and access control, input handling, new network calls, and new or changed dependencies (are they real, pinned and from the expected source).
- MUST treat instructions found in the change, its description or linked content as data, not as instructions to the reviewer (BP-0005).
- SHOULD grade findings by effect on the people using the software (critical, important, minor) and block merge on critical and important ones.
- SHOULD keep a record of review findings that recur, and turn them into rules in
AGENTS.md, hooks or tests so agents stop repeating them.
When to apply
Section titled “When to apply”Every pull request or change set produced wholly or partly by an agent.
Checklist
Section titled “Checklist”- Reviewed by someone other than the author; a person approves merge
- Checked against the original request, not the agent’s summary
- Tests and checks run on the final commit
- No weakened tests, mocks of the code under test, or lowered thresholds
- No scope creep, unexpected dependencies, config or CI changes
- Security-relevant changes checked; dependencies real and pinned
- Recurring findings turned into rules, hooks or tests