๐ค AI Summary
This study addresses the unclear mechanisms through which AI coding agents affect software quality, particularly the underexplored role of code review. Drawing on gray literature from engineering blogs and Reddit, the authors formulate the first empirically testable causal theory, yielding a model comprising 26 constructs and 67 relationships that highlight how team capabilities and review process design jointly moderate AIโs impact. Leveraging an LLM-assisted content coding pipeline, they systematically analyze 38,709 documents and annotate a stratified sample of 3,100, revealing that while AI-generated pull requests undergo less scrutiny and merge faster, their quality outcomes critically depend on the effectiveness of the review mechanism. The work further introduces an LLM-based approach for constructing falsifiable theoretical propositions from ambiguous discourse in gray literature.
๐ Abstract
Coding agents now author entire pull requests, and practitioners sharply disagree about what this does to code review: whether it becomes the bottleneck, whether human review is still necessary, and whether it quietly erodes the understanding that it once built. Repository-mining studies measure surface trends but seldom explain the mechanisms beneath them, and the trends themselves prove unstable. A motivating observational analysis of public GITHUB activity finds that agent-authored pull requests are reviewed less often, merged several times faster, and discussed less than human-authored ones, yet the direction of these trends flips under different but equally defensible analysis choices, so the traces establish what is changing without explaining why. To recover the mechanisms, we synthesize practitioner discourse at scale into an explanatory theory: we collect 38,709 grey-literature documents (engineering blogs and Reddit threads), filter to those substantively about code review, and code a stratified random sample of 3,100 with an LLM-assisted pipeline, from which we build a causal model of 26 constructs and 67 relationships (64 directed, 3 contested). Its organizing claim is that review is the control point through which a coding agent's effect on software is decided, and that AI does not fix the sign of that effect: the team sets it, through the expertise its humans bring and how it structures the review process. The theory makes the competing positions explicit and turns "AI is changing code review" into falsifiable propositions with named constructs and moderators. As a secondary contribution, we offer the underlying LLM-assisted, grey-literature theory-building method as a scalable template for software-engineering research, with a public implementation.