Most teams that put an agent into their workflow hit the same wall a few months in. The agent opens more pull requests than the team used to, each one small, and the CI gate that ran in eleven minutes now takes forty, then ninety. Nothing about the gate changed. What changed is the number of gate runs per day and the size of the repository each run walks through.
There are two ways to attack that cost. The first is to shrink the target list: a curated set of modules that get full coverage and mutation treatment, with everything else staying dark. The second is to shrink the scope to the diff: for each change, run only what the change can reach, and enforce thresholds on the lines that moved.
The target list fails on arithmetic. Pick 40 modules out of 900 and you spend 40 module-runs on every pull request, whether or not the agent touched any of them. A comment-only edit in module 742 still pays for all 40. The diff approach spends nothing on module 742, because its cost is proportional to the change rather than to the policy.
That framing matters because the review standard most teams already accept is diff-shaped. Google's guidance says reviewers should approve a change once it definitely improves overall code health, and that tests should ship in the same change as the production code unless it is an emergency (the code review standard, what to look for, with the change-list terminology explained in the repository README). Both statements are about the diff, not the repository. A gate scoped to the diff agrees with the standard the reviewer already applies.
There is a second argument, from measurement. The edX team found that a project-wide coverage number barely moves when a developer makes a pull request touching a few dozen lines: coverage could sit at 72 percent before and 72 percent after, hiding the quality of the change itself (the Open edX writeup). Diff coverage was built to make the change visible.



