Do These Violent Delights Have Violent Ends? Measuring the Post-Merge Fate of Agentic Code

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Cybersecurity & Data Privacy · Depth: Expert, extended

Summary

A longitudinal empirical study across 182 open-source repositories, tracking contributions from May 2025 to May 2026, reveals the post-merge fate of agentic code compared to human code. While overall maintenance rates are similar, agentic contributions require a 46% higher corrective maintenance rate and a 45% higher bug-fixing rate. They also introduce 1.14 times more Semgrep security findings and 1.10 times more OSV-Scanner dependency vulnerabilities. The study found that a 10 percentage-point increase in a project's no-review rate is associated with roughly a 6% increase in agentic maintenance burden. This highlights the critical need to evaluate agentic tools for long-term security and maintainability, not just pre-merge success.

Key takeaway

For software engineering teams adopting Generative AI coding tools, recognize that pre-merge metrics like pull request volume are insufficient. Your focus must shift to post-merge code quality, as agentic code demonstrably increases corrective maintenance and introduces more security vulnerabilities. Implement rigorous, human-led code review processes, especially for agentic contributions, and advocate for tools designed to produce maintainable and secure code throughout its lifecycle, not just mergeable changes.

Key insights

Agentic code, despite similar overall maintenance, incurs significantly higher corrective burden and introduces more vulnerabilities post-merge.

Principles

Method

The study employed a longitudinal empirical analysis, tracking line-level survival, classifying commit maintenance intent, and using static analysis tools (Semgrep, OSV-Scanner, SonarQube) on 182 repositories from May 2025 to May 2026.

In practice

Topics

Code references

Best for: CTO, AI Architect, Research Scientist, AI Scientist, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.