AI Is a Source of Knowledge, Not a Source of Code

The Companies That Measure Code Will Lose to the Companies That Measure Knowledge.

The Throughput Trap

AI is not a source of text but a source of knowledge. Yet most engineering organizations still measure it as if it were a faster keyboard.

For decades, software engineering has borrowed productivity thinking from industrial work. We counted lines of code, commits, pull requests, tickets, and other visible outputs because they represented human effort. That assumption was never entirely correct, but it became deeply embedded in engineering management.

AI changes the equation. It can generate code, documentation, tests, comments, and pull requests at a speed that makes traditional throughput metrics almost meaningless. More output no longer implies more human capability. It simply means that producing artifacts has become dramatically cheaper.

The mistake is to conclude that AI creates value because it produces more text. Software engineering is knowledge work, not typing work. Every feature begins with missing knowledge: unknown or unclear requirements, architectural trade-offs, business rules, technical constraints, and implementation decisions. The objective is not to generate more artifacts, but to discover the knowledge required to ship a change that works in production. As your previous work argues, the true constraint of knowledge work is the discovery of that missing knowledge, not the production of visible output.

When viewed from this perspective, AI improves engineering efficiency only when it reduces the amount of missing knowledge required to reach a valid working solution on production, increases the rate of those working solutions, or both. If AI merely helps engineers generate more code while uncertainty remains unchanged, then it has increased activity but not engineering efficiency.

Yet many organizations continue to judge AI by throughput: lines of code, commits, pull requests, diff size, prompt volume, or ticket velocity. These metrics measure how much work flows through the system, not whether the system learned enough to produce the right outcome. In fact, they can reward exactly the opposite behavior like creating more artifacts while leaving the underlying uncertainty unresolved.

AI changed what creates engineering value, but leadership is still measuring the old thing.

Rewarding Motion Instead of Value

When you measure AI by throughput, you optimize for activity instead of learning, and the cost appears later as rework, inconsistency, and slower delivery.

Software engineering progresses through a sequence of knowledge-discovery episodes. Each feature, bug fix, or architectural change begins with uncertainty and ends only when a working solution reaches production. The faster a team discovers the right knowledge, the sooner it achieves a valid closure. If that knowledge is not discovered, or is discovered incorrectly, the work must be repeated. AI can generate thousands of lines of code in minutes, but it cannot eliminate uncertainty unless it is supplied with the right context, constraints, and specifications.

This is why throughput becomes a misleading management signal. More commits, larger pull requests, higher diff rates, or faster ticket completion may simply indicate that more artifacts are being produced. They say nothing about whether the underlying uncertainty has been reduced. In many cases, they indicate the opposite: developers generate code before they fully understand the problem, then spend additional cycles correcting assumptions, resolving inconsistencies, and repairing unintended consequences.

The result is an engineering organization that appears increasingly productive while becoming progressively less efficient. Rework grows because decisions are revisited. Defects increase because hidden knowledge never entered the implementation. Context drift accumulates because specifications, architecture, tests, documentation, and code evolve at different speeds. Every correction creates additional commits, reviews, and pull requests or similar artifacts that traditional throughput metrics mistakenly celebrate as productivity.

Perhaps the greatest organizational cost is that these metrics reward the wrong behavior. Engineers who pause to clarify requirements, challenge assumptions, refine architecture, or improve context before generating code often appear slower than those who immediately produce large volumes of AI-generated output. Yet the former reduce uncertainty before implementation begins, while the latter frequently transfer that uncertainty downstream into testing, integration, operations, and future maintenance. Leadership ends up rewarding visible motion instead of engineering judgment.

The more AI accelerates code generation, the more expensive it becomes to mistake activity for knowledge.

Turn AI Into a Knowledge System

The solution is not to generate more code with AI. It is to redesign software delivery so AI systematically reduces missing knowledge before code is generated.

If AI is a source of knowledge rather than a source of text, then engineering organizations must optimize for knowledge discovery instead of throughput. The objective is no longer to maximize the number of artifacts flowing through the delivery pipeline. It is to maximize the rate at which teams deploy working solutions on production while minimizing the uncertainty that must be overcome to get there. That requires changing the operating model, not simply adopting better AI tools.

The first principle is to move knowledge discovery as far upstream as possible. Requirements should expose ambiguity before implementation begins. Architecture should narrow the solution space before AI proposes alternatives. Context should provide the business rules, technical constraints, and historical decisions that AI cannot infer from source code alone. Tests should define observable success before implementation starts. By the time code is generated, much of the uncertainty should already have been removed.

The second principle is to treat every engineering artifact as a knowledge artifact. A specification captures product knowledge. Architecture captures technical design knowledge. Source code captures implementation knowledge. Tests capture behavioral knowledge. Reviews capture organizational knowledge and engineering judgment. Together, these artifacts continuously accumulate and preserve what the organization has learned, allowing both humans and AI to build on previous discoveries instead of repeatedly rediscovering them.

Finally, success should be evaluated by asking a fundamentally different question. Did AI help the team deploy a working solution on production with less uncertainty than before? If the answer is yes, AI improved engineering efficiency regardless of how many lines of code, commits, prompts, or pull requests were produced. If the answer is no, then AI merely accelerated artifact generation while leaving the real work, the discovery of missing knowledge, unchanged.

This shifts the role of leadership as well. Instead of managing the flow of code, leaders manage the flow of knowledge. Their responsibility is to create an environment where every specification, architectural decision, test, review, and production outcome leaves the organization knowing more than it did before. In such a system, AI becomes an amplifier of organizational learning rather than an amplifier of engineering activity.

Organizations will not gain the greatest advantage from AI by generating code faster, but by discovering what they need to know before the first line of code is written.

From Code Generation to Organizational Learning

The organizations that win in the AI era will not be those that generate the most code, but those that compound the most knowledge.

Every software change either strengthens or weakens the organization's knowledge base. A well-executed change leaves behind clearer requirements, stronger architectural decisions, better tests, richer context, and more reliable implementation patterns. The next team begins with less uncertainty than the previous one faced. AI then has better information to work from, making future changes both faster and more accurate. Knowledge accumulates, engineering judgment compounds, and delivery becomes progressively more predictable.

This creates a virtuous cycle. Better knowledge produces better AI outputs. Better AI outputs produce better software. Better software captures better organizational knowledge. Over time, engineering productivity improves not because developers type faster, but because the organization repeatedly reduces the amount of knowledge that must be rediscovered before each production change. AI becomes an engine for continuous organizational learning rather than a generator of isolated code.

The alternative is deceptively attractive. Organizations continue measuring throughput and celebrate increasing numbers of commits, pull requests, generated code, and completed tickets. Engineers optimize for visible activity because those are the signals being rewarded. Meanwhile, specifications remain ambiguous, architectural knowledge stays fragmented, context drifts across repositories, and every new feature begins by rediscovering information that should already exist. AI faithfully amplifies this disorder, producing more artifacts while multiplying inconsistency, rework, and technical debt.

Eventually, two organizations with similar AI tools begin to diverge. One uses AI to accelerate knowledge discovery before implementation. The other uses AI to accelerate implementation before knowledge discovery. The first compounds understanding. The second compounds uncertainty. Their dashboards may report similar throughput, but their ability to deliver reliable software steadily moves in opposite directions.

The strategic decision is therefore not whether to adopt AI. That question has already been answered. The real decision is whether AI will become part of your organization's learning system or part of its noise generation system. Leaders who continue managing engineering as the production of artifacts will optimize for local activity while slowing system-wide delivery. Leaders who manage engineering as a process of knowledge discovery will build organizations whose judgment, and competitive advantage, improves with every production release.

AI will not determine which engineering organizations win. The ability to turn every software change into lasting organizational knowledge will.

Next Step

Decide now to stop using throughput as proof of AI impact, and rebuild AI-assisted delivery around knowledge management with specs, tests, architecture, context, and review as the controls for working solutions on production.

Dimitar Bakardzhiev

Getting started