Let agents review behavior and intent too
Key takeaway: Delegate the comparison between intent and implementation, then review the evidence instead of repeating the whole investigation.
Reviewing behavior and intent doesn’t mean a person has to do all of it. Give a reviewing agent the issue, the spec, the diff, and the tests, and have it check whether the change does what was asked, with evidence for each finding.
Review should ask whether a change met its goal, but that doesn’t say who does the checking. An agent can compare a diff against a spec, read test assertions, flag a requirement with no test, and notice that the issue says to keep access while the code revokes it.
There are two questions here: whether the change matches the stated intent, and whether that intent is what we actually want. An agent can do a lot of the first. It can raise questions about the second, but a person owns that decision.
The reviewer needs something to check against besides the author’s claim. If it only knows the requirement from the code it’s reviewing, it can write a convincing explanation of the wrong change.
Take a cancellation change. The requirements are to stop future renewal charges and keep access until the paid period ends. This is an example to try, not a report of a workflow I’ve already run. Ask the agent, for each requirement, what behavior the code implements with file and line references, what the tests assert, and where they don’t match. Have it run the tests and report the exact command and result, or say it couldn’t. Reading a test isn’t a passing run. Tell it to keep mismatches separate from questions about the spec, and to return findings, not an approval.
If the change stops renewals but also cuts access immediately, the reviewer should flag the mismatch and point to the code. If the tests only cover renewals, it should flag the missing access check. Either way you get one specific claim to verify instead of a whole diff to investigate.
An agent saying the behavior is correct isn’t evidence on its own, so check the requirement it used, the code it cites, and the test result. Spend your review on whether we asked for the right thing and whether the evidence holds up.