Repository repair with linked code and test patch generation
Repository repair agents can start treating tests as editable evidence, not fixed gatekeepers. Agent-CoEvo is the clearest case for a build that runs code patches and test patches together, scores both in one execution matrix, and keeps only candidates that explain the issue report and fail on the buggy repo before they pass on the repaired one. The operational pain is familiar: teams hit bug reports where the existing tests are incomplete, stale, or too weak to pin down the behavior change, so a code-only repair loop either overfits to bad tests or stalls.
A practical product shape is a CI-side repair worker for maintainers of large Python or Java repositories. It would open a draft PR with two linked diffs: the implementation patch and the test changes that justify it. The cheap check is narrow and clear: sample issues where maintainers had to edit tests during the fix, then compare a code-only agent against a coevolution loop on merged rate and reviewer rejection rate. The paper reports 41.33% resolved on SWE-bench Lite and 46.4% on SWT-bench Lite, with higher test quality than the listed baselines, which is enough to justify testing this workflow on repos with steady bug backlog and existing CI coverage.