An agent that starts editing immediately has already spent your review budget by the time you learn it was too big. Data collected across 50,000+ pull requests and 200+ engineering teams found 200 to 400 changed lines sits in the sweet spot, patches over 1,000 lines showed a 70% lower defect detection rate, and each additional 100 lines added about 25 minutes of review time (Propel Code study). A preflight estimate keeps an agent inside that window instead of revealing the overrun after the patch exists.
The idea generalizes past diffs. Agent safety gates described as preflight checks between "I should do this" and "I did this" put the planner and the executor on opposite sides of a membrane, so the model proposes and a separate layer decides whether to execute (Agent Safety Gates). A diff-size estimate is the code-specific version of that gate.
Parallelism makes the gate more valuable, not less. Running one git worktree per task lets several agents work at once (parallel agents with worktrees), and each worktree is just a directory sharing one .git store (git-worktree docs). Spinning up isolated workspaces is cheap; reviewing what comes out of them is not, which is exactly what the estimate protects.



