Coverage-preserving minimization of agent-authored pull requests
Maintainers reviewing agent-authored pull requests could run trajectory-guided minimization only under a broader acceptance check: a removal must keep the test suite green, preserve or improve diff coverage, and retain links between stated requirements and executable evidence. TRIM currently accepts a smaller patch when execution tests still pass, but field data show that existing tests exercise only 61.5% of changed Java lines and 27.0% of changed Python lines. A passing suite can therefore authorize deletion without showing that the remaining change is adequately tested. VNVSpec supplies a practical representation for the missing condition by linking requirements, tests, and verdicts in CI.
The cheapest check is an offline replay on completed agent pull requests: compare ordinary TRIM with the expanded acceptance rule and inspect disagreements, especially removals involving tests, error handling, or requirement-linked files. This would establish whether stronger evidence checks materially change the minimized patch before adding another merge gate.