Does Human Involvement Actually Make Agent Code Worse?

Whether you’re trying to build a software factory or already running one, you’ve probably heard some version of the pitch: agents can write the code now, and humans are the bottleneck. Get people out of the loop and let the agents cook. And for most teams, review is exactly where things get stuck.

无论你是在尝试构建软件工厂,还是已经在运营一家软件工厂,你可能都听过类似的说法:现在代理(Agent)可以编写代码,而人类反而是瓶颈。让人们脱离循环,让代理去发挥吧。对于大多数团队来说,代码审查正是问题卡住的地方。

At the top 10% of companies, agents are now writing a majority of merged PRs, but a person still signs off on the vast majority of them before they merge. If people are the bottleneck, it’s fair to ask what all that human attention is actually buying us. Does it make agent code better?

在排名前 10% 的公司中,代理现在编写了大部分已合并的 PR(拉取请求),但在合并之前,绝大多数 PR 仍需人工签字确认。如果人类是瓶颈,那么我们有理由问:所有这些人工投入到底换来了什么?它真的让代理编写的代码变得更好了吗?

At Jellyfish we analyze AI telemetry and engineering workflow data across 300,000 developers at 1,300 companies. When we looked at agent-written PRs that merged and checked how often they got reverted within a month, the answer depended on how involved a person had been along the way: Nobody touched it: 0.5% reverted; A person approved it: 1.2% reverted; A person stepped in (left comments, asked for changes, pushed a commit): 2.2% reverted. The more a human got involved, the more often the code got rolled back, roughly doubling at each step.

在 Jellyfish,我们分析了 1,300 家公司中 30 万名开发人员的 AI 遥测数据和工程工作流数据。当我们查看已合并的代理编写的 PR,并检查它们在一个月内被回滚的频率时,答案取决于人类在过程中的参与程度:无人干预的 PR 回滚率为 0.5%;有人批准的为 1.2%;有人介入(留下评论、要求更改、推送提交)的为 2.2%。人类参与得越多,代码被回滚的频率就越高,每增加一个步骤,回滚率大约翻倍。

So are humans making agent code worse? Well… not quite. What you’re actually seeing is the effect of triage, powered by good human engineering judgment. Engineers are good at spotting risk, so they wave the easy PRs through, approve the middling ones, and roll up their sleeves on the perilous ones. And since hard things are hard, the riskiest PRs get reverted much more often, even with a person helping. (These gaps hold up when you compare PRs of the same size within the same company, so this isn’t just true for big PRs or messy orgs.)

那么,人类是在让代理编写的代码变差吗?嗯……并不完全是。你实际上看到的是由优秀的人类工程判断力所驱动的分类效应。工程师擅长识别风险,因此他们会放行简单的 PR,批准中等的 PR,并在高风险的 PR 上投入精力。由于困难的事情本身就很难,即使有人工辅助,风险最高的 PR 也更容易被回滚。(当你比较同一公司内规模相同的 PR 时,这些差距依然存在,所以这不仅仅适用于大型 PR 或混乱的组织。)

The triage is working, too. When we compare agent PRs that nobody reviewed against similar ones that were reviewed, there’s no statistically meaningful difference in reverts, follow-up fixes, or bugs. For the work they’re choosing to let through, engineers are holding the line on quality.

这种分类工作也是有效的。当我们比较无人审查的代理 PR 与类似的已审查 PR 时,在回滚、后续修复或 Bug 方面没有统计学上的显著差异。对于他们选择放行的工作,工程师们守住了质量底线。

The problem is that at most orgs, engineers are indeed holding the line, but at great effort and expense. This triage that keeps quality in check is maintained by hand, one PR at a time, at the very end of the process (which is the most expensive place to do it). Since early 2025, the typical developer is doing 26% more code reviews per week, and essentially all of that growth is work a coding agent helped write. Review has become a second job stacked on top of the first one.

问题在于,在大多数组织中,工程师确实守住了底线,但付出了巨大的努力和成本。这种控制质量的分类工作是手工完成的,一次处理一个 PR,而且是在流程的最末端(这是成本最高的地方)。自 2025 年初以来,典型开发人员每周进行的代码审查增加了 26%,而这种增长几乎全部来自编码代理协助编写的工作。审查已经变成了叠加在第一份工作之上的第二份工作。

You might expect AI review to pick up the slack, but so far it hasn’t. When a repo switches on an AI reviewer, people still do about two reviews per PR, and it still takes about three hours to merge. The bot is typically one more voice on the PR, not a decision that offloads work from a human.

你可能期望 AI 审查能分担压力,但到目前为止还没有实现。当代码库启用 AI 审查员时,人们每个 PR 仍然要进行大约两次审查,合并仍然需要大约三个小时。机器人通常只是 PR 上的另一个声音,而不是能减轻人类工作负担的决策者。

The good news is that the hard part, knowing which changes are risky, already exists. It just lives in your engineers’ heads. So get it out: Write down the triage. What do your engineers wave through, and what do they always dig into? Move it up front. Put that risk call into the ticket or spec before the agent starts, instead of discovering it in review after the agent is done.

好消息是,最困难的部分——即知道哪些变更具有风险——已经存在了。它只是存在于你工程师的脑海中。所以把它提取出来:写下分类标准。你的工程师放行了什么,又总是深究什么?把这些工作提前。在代理开始工作之前,将风险评估放入工单或规范中,而不是在代理完成后才在审查中发现它。

Turn that judgment into checks, one kind of work at a time. Run a check behind a person, track how often the person overrules it, and when that gets close to zero, let the check decide for that kind of work. The fastest way past the review bottleneck probably isn’t fewer humans or more bots. It’s getting the judgment your engineers already have out of their heads and into the process.

将这种判断转化为检查,一次处理一种工作。在人工审查后运行检查,跟踪人工推翻检查的频率,当该频率接近零时,就让检查来决定该类工作。突破审查瓶颈的最快方法可能不是减少人类或增加机器人,而是将工程师已经具备的判断力从他们的脑海中提取出来,并融入到流程中。