[KongchangAI]
· 2 min read· 1,276 words

Anthropic's 30,000 Daily Merged Changes: Dark Software Factories and Evidence-Based Review

Anthropic's 30,000 Daily Merged Changes: Dark Software Factories and Evidence-Based Review

Anthropic's merge volume rose from 2,500 to 30,000, revealing that AI R&D's bottleneck is verification, not generation.

Based on a conversation between Anthropic's Addy Osmani and Sonar's Manish Kapur, the article analyzes the review paradigm shift behind Anthropic's daily merged code changes leaping from 2,500 to 30,000. It argues that when AI agents generate code at scale, generation is in surplus while verification becomes the scarce resource and capacity ceiling. It introduces bright/dark software factories, evidence-based review, and earned autonomy, forming a closed loop and a judgment framework for teams adopting AI coding tools.

When AI starts writing code at scale, the bottleneck in software engineering shifts from "writing" to "verifying." In a conversation between Anthropic's Addy Osmani and Sonar's Manish Kapur, they broke down how Anthropic scaled its daily merged change volume from 2,500 to 30,000, and introduced two key concepts: "bright/dark software factories" and "earned autonomy." The value of this discussion isn't in the numbers themselves, but in what it reveals about a hard constraint of AI-native R&D systems: no evidence chain, no scale.

From 2,500 to 30,000: The Review Overhaul Behind the Scale Leap

According to the conversation between Addy Osmani and Manish Kapur, Anthropic's internal daily merged code changes rose from the 2,500 range to the 30,000 range. An increase of this magnitude cannot be explained by adding engineers or extending work hours alone. The key lies in a paradigm shift in review: when changes are mass-generated by AI agents, line-by-line human review is no longer feasible, and teams must convert "trust" into verifiable evidence.

Manish Kapur added from the perspective of code quality and static analysis that the prerequisite for scaling is making every change carry traceable quality signals, rather than relying on reviewers' intuition. This also explains why the conversation focuses on "verification" rather than "generation"—generation capability is already in surplus; verification capability is the scarce resource.

Static Analysis refers to the technique of discovering potential defects, security vulnerabilities, or code standard violations by parsing source code's syntax structure, control flow, and data flow with tools, without actually executing the program. Common capabilities include unused variable detection, null pointer risk identification, cyclomatic complexity measurement, and dependency vulnerability scanning. In scenarios where AI generates code at scale, static analysis is particularly valuable: it can automatically produce structured, machine-readable quality signals before changes enter review, intercepting a large number of low-level issues before human eyes. The Sonar system represented by Manish Kapur builds quality gates centered on static analysis, so that reviewers don't need to scan line by line but can focus on design trade-offs that tools cannot judge.

Bright Software Factories and Dark Software Factories

The conversation proposed a rather vivid distinction: bright software factories and dark software factories. Bright factories refer to R&D systems where change processes, review records, and test evidence are visible and auditable to the team; dark factories refer to the mode where AI mass-produces changes in the background but lacks sufficient transparency and verification steps.

The difference between the two is not output speed, but whether risk is controllable. Dark factories can pile up large amounts of code in the short term, but technical debt and hidden defects accumulate in more insidious ways. Anthropic's path to high merge volume is essentially fitting the dark factory's capacity into the bright factory's framework—ensuring every batch of AI-generated changes goes through an observable verification process.

This distinction has direct reference value for teams introducing AI coding tools: first ask whether your verification layer can keep up with the generation layer, then talk about speed.

Evidence-Based Review: Turning Trust into Inspectable Artifacts

A concept that recurs throughout the conversation is evidence-based review. Traditional code review relies on reviewers' experience and judgment, but in high-frequency AI generation scenarios, reviewers need evidence that directly supports conclusions: test coverage, static analysis results, change impact scope, and so on.

According to the two speakers, the core of evidence-based review is replacing "I think this code is fine" with "these signals indicate this code is fine." This requires the toolchain to attach quality data at the moment changes are produced, rather than supplementing checks afterward. From the perspective of code quality analysis, Sonar emphasizes that automated quality gates are the prerequisite for letting reviewers focus their attention on the parts that truly require human judgment.

For engineering teams, this means a change in investment direction: rather than optimizing generation prompts, prioritize building an automatically collectable, traceable verification evidence chain.

Quality Gate is a set of mandatory validation conditions in a continuous integration pipeline; a change is allowed to merge only if it meets preset thresholds (e.g., test coverage not below a certain value, no new severe static analysis warnings, no high-risk dependencies). Its key role is to turn "whether to release" from personal judgment into rule-based determination, thereby maintaining consistency when change volume surges. Quality gates and evidence-based review support each other: gates handle automatic collection and determination of evidence, while reviewers handle edge cases requiring human judgment on that basis. Notably, gate thresholds themselves need to evolve with team maturity—too strict blocks capacity, too loose makes them meaningless.

Earned Autonomy: How Far AI Agents Can Go Depends on Evidence

"Earned autonomy" is the most actionable principle in this conversation. It means the degree of autonomy an AI agent receives should be determined by the verification record it has accumulated across historical changes, rather than granted all at once.

In other words, if an agent consistently produces changes that pass tests, pass static analysis, and cause no rollbacks, it can earn a larger scope of autonomy; once a gap appears in the evidence chain, its autonomy should contract. This mechanism turns trust from a "configuration item" into a "dynamic evaluation result."

This dovetails with the bright/dark software factory distinction: bright factories provide evidence, evidence supports autonomy, and autonomy in turn expands capacity. The three form a closed loop, not three independent best practices.

AI Agent refers to a system that can perceive its environment, autonomously plan, and execute multi-step operations to accomplish goals. Unlike single-turn question-answering models, it can call tools, read and write files, run tests, and iteratively correct. Agent autonomy is typically tiered: from merely proposing suggestions, to creating change requests, to merging on its own. The higher the tier, the greater the potential impact, so supporting observability, rollback, and permission control mechanisms are needed. "Earned autonomy" essentially designs this tier as a dynamically adjustable continuum rather than fixed permissions set once at deployment, which requires the system to continuously record the historical outcomes of agent behavior as evaluation basis.

Implications for the Industry

This conversation doesn't provide a directly copyable configuration checklist, but it does provide a clear judgment framework. For teams hoping to increase the scale of AI code output, they can start with three questions: do changes come with auditable evidence, can the verification layer keep up with the generation layer's speed, and does agent autonomy have clear rules for expansion and contraction.

Anthropic's leap from 2,500 to 30,000 merged changes proves that scaling is possible; the repeated emphasis on verification and evidence in the conversation shows that this scaling is not free. The capacity ceiling of a software factory is ultimately determined by its verification capability.

One-line Summary

Anthropic's merge volume rose from 2,500 to 30,000, revealing that the bottleneck in AI R&D is verification, not generation.

Paragraph Summary

Based on a conversation between Anthropic's Addy Osmani and Sonar's Manish Kapur, this article analyzes the review paradigm shift behind Anthropic's daily merged code changes leaping from the 2,500 range to the 30,000 range. The core argument: when AI agents generate code at scale, generation capability is relatively in surplus, and verification capability becomes the scarce resource and the determinant of the capacity ceiling. The article proposes the "bright/dark software factory" distinction—bright factories have auditable, observable changes, while dark factories are mass output lacking transparency with hidden risk accumulation; "evidence-based review," replacing reviewer intuition with inspectable signals such as test coverage and static analysis; and "earned autonomy," where an agent's scope of autonomy is dynamically determined by its historical verification record. The three form a closed loop, providing a judgment framework for teams introducing AI coding tools.

#Anthropic#AI coding#evidence-based review#earned autonomy#software factory#static analysis#quality gate#AI agents
Share:

Related articles