Empirical Study Reveals AI Agents Introduce Build Code Smells But Achieve 61% Merge Rate
Agentifact analysis of a trending signal captured by Otlet.
What happened
Researchers analyzed 387 AI agent-authored PRs modifying build files (Maven, Gradle, CMake, Make) from the AIDev dataset, identifying 364 maintainability/security code smells introduced (e.g., 97 wildcard usages, 63 lack of error handling) across 66 files, while removing 54 smells via refactorings in 31 files; 61.4% of PRs merged with minimal intervention.[arXiv:2601.16839](https://arxiv.org/abs/2601.16839)
Agent builders must address the dual impact—quality improvements via refactorings but frequent introduction of subtle maintainability/security issues in critical build systems—to prevent technical debt accumulation in production pipelines, as developers increasingly trust and merge such code without deep review.[arXiv:2601.16839](https://arxiv.org/abs/2601.16839)
The Agentifact read
This is not being filed as a raw link. Otlet classified it as Trending with a signal strength of 75, then promoted it into a durable Agentifact article because it has a fetchable primary source and direct relevance to the agent economy.
The practical question is whether this changes what builders should trust, watch, adopt, avoid, or re-check. Agentifact keeps the external source as evidence, but the site record exists to preserve the interpretation in our own archive.
Why builders should care
For teams building with agents, the signal matters if it changes one of four operating assumptions: model capability, framework maturity, protocol stability, or production risk. Treat this as a checkpoint for whether your current stack still matches the market reality Otlet observed.
What to watch next
- Does this source get corroborated by independent builders, maintainers, customers, or incident reports?
- Does it affect a named tool, protocol, framework, or workflow that Agentifact already tracks?
- Does the claim survive beyond launch-day attention and show up in production evidence?
- Should the related tool profiles, scores, or watchlist entries be updated after follow-up evidence appears?
Evidence
- Primary source: https://arxiv.org/abs/2601.16839
- Detected: 2026-01-23T00:00:00.000Z
- Intake source: signal
- Agentifact link: This article is attached to the Agentifact signal `/trending/empirical-study-reveals-ai-agents-introduce-build-code-smell`.
Editorial boundary
This article is generated from verified Otlet intake data. It does not invent facts, metrics, quotes, citations, or customer claims. Any claim beyond the source, timestamp, queue metadata, and Agentifact classification should be added only after a future verified research pass.