惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
博客园 - 叶小钗
I
InfoQ
MyScale Blog
MyScale Blog
H
Help Net Security
月光博客
月光博客
Vercel News
Vercel News
B
Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky

Graphite blog

Introducing Code Tours: a new way to review Introducing Cursor Cloud Agents in Graphite Building the future of software development with Cursor Reimagining the PR Page: Designing for speed and focus Graphite changelog [11-20-2025] Graphite changelog [11-04-2025] Graphite changelog [10-16-2025] The future of engineering is collaborative (and already here) Meet Graphite Agent: the next evolution of AI code review Introducing frozen branches: A safer way to build on your teammates’ work Graphite changelog [09-17-2025] How we sped up code search for Graphite Chat Introducing Graphite Chat AI is writing code—here's why it also needs to review that code How I got Claude to write code I could actually ship How we built the first stack-aware merge queue (and why it matters) How we organize our monorepo to ship fast Graphite brings stacking to Tower Code review tooling: Should you build or buy? Making AI code review available to everyone Introducing: The new Graphite + Linear integration Graphite raises $52M and launches Diamond to reimagine code review for the age of AI How stacked PRs unblock distributed development teams Graphite is going to Developer Week 2025 Beating the end of year code freeze How Graphite’s eng team ships code remarkably fast Why we chose Anthropic's Claude to power Graphite Reviewer AI code generation will remain fragmented How we redesigned Graphite's landing page in-house Introducing Graphite Reviewer: your AI code review companion
Why AI will never replace human code review
Greg Foster · 2025-03-18 · via Graphite blog

Cursor Cloud Agents are now in Graphite. Create, review, and ship without leaving your PR.

author

Greg Foster

Mar 17, 2025

TL;DR: AI will not replace human code review. Instead, it will augment it. AI excels at automating low-level, objective checks like style violations and common bugs. Humans remain essential for high-level, subjective tasks that require business context, architectural judgment, and mentorship.

What is the role of AI in code review?

AI's primary role in code review is to act as a powerful assistant that automates the first layer of feedback. By handling objective, low-level issues, AI companions free up human reviewers to focus on more complex, high-impact concerns.

AI is most effective at the following tasks:

  • Automating low-level feedback: AI can instantly check for style guide violations, improper formatting, or lack of documentation. This offloads the burden of "nit-picking" from human reviewers, a practice that Google found to be a valuable time-saver in its Tricorder project.

  • Catching common pitfalls and security vulnerabilities: Modern LLMs are trained on vast datasets of open-source code, making them effective at identifying common programming errors, race conditions, or potential security risks like SQL injection and buffer overflows.

  • Validating test coverage: An AI can scan a pull request and quickly determine if the changes are accompanied by adequate tests, ensuring that new logic doesn't degrade the reliability of the codebase.

What are the limits of AI in code review?

AI's primary limitation is its lack of subjective understanding. The most critical feedback in a review session involves context, judgment, and foresight, which are areas where human expertise remains irreplaceable.

Why can't AI understand business context?

AI cannot understand business context because that information often lives outside the codebase in project management tools, design documents, and team meetings. An LLM can validate that code is syntactically correct, but it has no understanding of the *why* behind the code.

A human reviewer, however, can ask critical questions that an AI cannot:

  • Does this change align with the product roadmap and the user story in the ticket?

  • Does this implementation account for the business trade-off we discussed last week?

  • Is this the right problem to be solving right now?

Why does architectural review still require humans?

Architectural review requires humans because AI models excel at "local" reasoning within a single file but struggle with the "global" reasoning needed to maintain a large-scale system.

A senior engineer can evaluate a change's long-term impact, determining if it introduces a problematic dependency, violates a domain boundary, or should be implemented in a different microservice. This architectural oversight is essential for preventing technical debt and maintaining a scalable system.

Can AI replace the mentorship aspect of code review?

No. Code review is a critical process for knowledge sharing and team development, which AI cannot replicate. Studies from Microsoft Research have shown that key goals of code review include finding better solutions and transferring knowledge.

An AI can tell you that your code is inefficient, but a senior developer can explain why a different approach is better in the context of your specific system. This mentorship loop is critical for team growth and cannot be automated.

What is the best model for using AI in code review?

The most effective model is not replacement, but augmentation. In this model, AI and humans work together, each focusing on the tasks they are best suited for.

The ideal workflow uses AI to handle the first pass of a review. The AI companion flags all the low-level issues—style violations, potential bugs, and missing tests—before a human ever sees the pull request.

This allows the human reviewer to focus entirely on what matters most: the quality of the solution, its architectural integrity, and its business logic. The conversation shifts from "you missed a comma here" to "have you considered how this will scale in the future?"

This is the philosophy behind Graphite's platform. Tools like Graphite Agent act as a companion in the review process, automating the tedious work so developers can have more meaningful, high-level discussions. The goal is to build a workflow where human time is spent on the problems only humans can solve.

Related articles