Post-merge churn tracking for agent-authored pull requests
Teams shipping coding agents need a post-merge review lane that measures what survives after merge, not just whether the agent opened a successful pull request. A practical build is a repository report that tags agent-authored PRs, tracks later edits on the touched lines and files for 7, 30, and 90 days, and feeds the results back into review policy. Start with repositories that already label Codex, Claude Code, Copilot, Jules, or Devin activity. Flag patterns such as repeated follow-up fixes, high rewrite rates in generated tests, or large refactors that collapse soon after merge. The point is operational: maintainers need a way to see which agent workflows create cleanup work for humans.
The evidence now supports this as a normal engineering metric. A GitHub-scale study built a dataset of 111,969 PRs across five coding agents and found that agent-authored code sees more later churn than human-authored code. A separate evaluation paper argues that software-agent results are hard to compare when work stops at final task scores and hidden runs. Joining those two lines of work yields a concrete workflow: store the run metadata for each agent PR, then compare survival and churn by model, scaffold, repository type, and review path. A cheap first check is one quarter of data from a single org with bot-authored PR detection and a simple line-survival calculation.