Harvard AI Coding Agents Shift Bottleneck to Code Review – Implications for Software Productivity and Legal AI
Bottom line
Engineers using AI coding agents write about 30 % more lines of code, yet finished work does not increase and pull‑request review time grows by 49 %, indicating that the productivity gain is absorbed by a slower human‑review stage.
Study scope and methodology
- Data source: Jellyfish analytics platform (Jira issues, Git commits, pull requests, calendar events) linked to LinkedIn employment records from Jan 2021 – Mar 2026.
- Sample: 718 firms (213 with calendar data) covering 725,938 workers.
- Design: Staggered difference‑in‑differences comparing firms that adopted AI agents to those that had not yet adopted, using month‑by‑month changes.
- Adoption timing: Driven by procurement cycles (legal, security, pilot programs). Larger firms tended to adopt earlier; the authors control for firm size.
- Status: Working paper (first version Jan 7 2026, current Aug 4 2026). Not peer‑reviewed; funded by Stripe Economics of AI Fellowship, Harvard Kennedy School, and Schmidt Sciences AI at Work.
"If some hidden difference remains, it would more likely make AI look more productive than it is, not less."
Key quantitative findings
| Metric | Change (AI‑adopting firms) | Baseline | Interpretation |
|---|---|---|---|
| Lines of code added | +1,494 per worker‑month | 5,017 | ~30 % increase |
| Commits | +20 % | – | More frequent submissions |
| Pull requests | +23 % | – | More code sent for review |
| Finished issues (Jira resolved) | +0.12 per worker‑month | 3.67 | Statistically indistinguishable from zero; 95 % CI excludes >12 % rise |
| Pull‑request‑to‑merge time | +3.45 days | 7.03 days | +49 % increase |
| Change‑request rate | +12 pp | 13 % | Nearly doubled |
| Review comments per PR | +35 % | – | More feedback needed |
| Workers doing any review | +14 pp | 29 % | Larger reviewer pool but still a bottleneck |
| AI‑generated review comments | 23.3 % of comments | – | AI does not replace human reviewers |
| PRs with at least one AI comment | 10.8 % | – | Limited AI participation |
Interpretation of the bottleneck
The authors propose two channels explaining the slowdown:
- Volume effect – Faster drafting pushes more code into a fixed pool of reviewers, overwhelming them.
- Quality effect – Increase in change requests and comments suggests AI‑drafted code is of lower quality, requiring more human fixes.
Both channels imply that simply adding more reviewers (or scaling AI review tools) will not fully restore throughput unless the underlying draft quality improves.
Employment impact
- No statistically significant drop in overall engineering headcount (≤ 2.9 % decline ruled out).
- No clear evidence of job cuts; short‑run partial‑equilibrium analysis may mask longer‑term shifts.
Legal‑tech parallels
- Harvey’s motion‑to‑dismiss workflow (Oct 7, 2026) and Cooley’s court‑filing redaction agent (Oct 8, 2026) both automate a first draft then retain a lawyer at a human checkpoint.
- Neither vendor disclosed review‑stage metrics (e.g., time spent by lawyers, rate of change requests).
- Federal Rule 11(b) still requires attorney judgment on the final filing, so any drafting speed‑up may simply shift work to the review stage.
Practical takeaways for AI buyers (software & legal)
- Measure the checkpoint – Track approved work product, revision rates, and reviewer time in addition to raw code output.
- Inspect metadata – AI‑authored commits often carry signatures like “Co‑authored‑by” or bot accounts; retention schedules and legal holds must reach these artifacts.
- Ask vendors:
- What proportion of drafts are sent back for revision?
- How many reviewer hours per matter are added after AI drafting?
- Do you publish a downstream metric (e.g., hours from upload to approved filing) rather than just lines of code generated?
- Budget review capacity before scaling AI drafting; otherwise the bottleneck will simply move downstream.
Limitations and caveats
- Data provenance: Jellyfish is a commercial analytics platform; the partnership includes co‑authored blog posts and a data‑license that may bias results toward showing AI as productive.
- Sample bias: Larger firms adopted earlier; the authors control for size but hidden factors could remain.
- Partial coverage: Only 213 of 718 firms supplied calendar data; AI usage via individual licenses may be invisible.
- No peer review: The paper is a job‑market working paper; conclusions should be treated as preliminary.
- External validation: A separate NBER working paper (Demirer, Musolff, Yang, Sep 2026) finds a similar pattern—commits rise dramatically while actual releases grow modestly—though the authors have ties to Microsoft/GitHub.
What this means for legal AI deployments
- Design similarity: Both Harvey and Cooley follow the “draft‑then‑human‑checkpoint” model, mirroring the software workflow studied.
- Regulatory risk: Under Rule 11(b) the lawyer’s judgment remains the legal duty; any hidden increase in review time could affect compliance calendars.
- Information‑governance: AI‑generated metadata (e.g., bot accounts, “Co‑authored‑by” lines) may need to be captured in e‑discovery holds and retention policies.
- No guarantee of productivity: Faster drafting does not automatically translate into faster case resolution or reduced attorney workload.
Community insights from Hacker News
@AlwaysRock – “All I do all day is review AI‑written code. I really do not enjoy it.”
@bob1029 – “Code review often concentrates on one person, the slowest ‘asshole’ in the room. The bottleneck existed before AI; AI just makes it more visible.”
@Buttons840 – Suggests moving from per‑PR review to continuous system‑wide review guided by risk heuristics.
@jacobgorm – Proposes dropping code reviews altogether, arguing the “ping‑pong” between coder and reviewer is now replaced by prompt‑agent interaction.
@alkonaut – Notes AI drafts are often over‑engineered, leading to larger PRs and longer reviews.
@bengold14 – Emphasizes that code review historically provided collaboration, pride, and error catching; with cheap code the focus should shift to architecture review rather than line‑by‑line checks.
@snizovtsev – Reports a team that now ships without a human in the loop, shifting the engineer’s role to token‑management and post‑release testing.
@simonw – Shares the original paper link and highlights the methodology (four data sources: GitHub, Jira, calendar, AI usage logs).
@littlecranky67 – Observes that AI‑generated PRs tend to be larger and more complex, increasing reviewer workload and reducing knowledge transfer for junior engineers.
@sivanmz – Expresses frustration that each review request spawns more questions, suggesting AI may be worsening review fatigue.
@skeledrew – Uses AI to review code, but still finds bottlenecks in specification and testing, not in line‑level review.
Common themes:
- Review fatigue is amplified by larger, AI‑generated PRs.
- Some teams are experimenting with continuous or automated review pipelines.
- A shift from code‑level review to design/architecture review is emerging.
- The human bottleneck may move from code to specification, testing, and post‑release validation.
Action checklist for engineering and legal teams
- Collect downstream metrics – time from PR creation to merge, number of change requests, reviewer hours per PR, and post‑merge defect rate.
- Audit AI metadata – ensure bot accounts and co‑author tags are indexed for retention and legal hold.
- Pilot reviewer scaling – add dedicated reviewers or AI‑assisted reviewers before expanding AI drafting.
- Redefine review scope – focus human review on architectural decisions, security implications, and regulatory compliance rather than line‑by‑line correctness.
- Document vendor commitments – require legal‑tech vendors to disclose review‑stage performance (e.g., average lawyer time per motion after AI draft).
- Monitor employee impact – track engineering headcount and skill‑mix to detect hidden workforce shifts.
Conclusion
Harvard’s working paper provides the first large‑scale, data‑driven evidence that AI coding assistants shift the productivity bottleneck from writing to reviewing code. The same pattern is likely to appear in legal‑tech workflows that retain a human checkpoint after AI drafting. Organizations should therefore treat AI‑generated output as a front‑end accelerator that requires proportional investment in back‑end review capacity and robust measurement of the human checkpoint.
Sources
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch