5
Verification
Ensuring the agent's output is correct, complete, and safe.
4 patterns
5.1Beginner
Incremental Verification
Verify each unit of work as it is produced, not the whole batch at the end, so errors surface while they are cheap to fix and trivially attributable.
4 min read
5.2Intermediate
Adversarial Review
Have a separate agent or a fresh context attack the work, because the agent that produced it shares the blind spots that produced the bug.
4 min read
5.3Intermediate
Regression Guard
Pin the existing behavior with characterization tests before the agent touches the code, so "it still works" is a check the machine runs, not a hope you hold.
4 min read
5.4Beginner
Diff Review
Read every changed line before accepting. The agent's summary is its intent; the diff is what it actually did — and they are not the same artifact.
5 min read