a builder's codex
codex · operators · Tom Tunguz · ins_tunguz-systems-over-code

AI shifted the engineer's core task from writing correct code to designing feedback loops that let AI write correct code at scale

By Tom Tunguz · General Partner, Theory Ventures · 2026-09-24 · essay · Thinking in Systems, Shipping in Loops

Tier B · TL;DR
AI shifted the engineer's core task from writing correct code to designing feedback loops that let AI write correct code at scale

Claim

The bottleneck in software engineering moved from generating valid code to designing systems that make AI-generated code verifiable and improvable. Engineers who ship at scale in 2026 are not typing less code; they are building resilience, self-organization, and hierarchy into the feedback systems that govern AI output.

Mechanism

Manual coding bottlenecked on the engineer's typing speed and reasoning capacity. AI coding shifts the bottleneck to system design. An AI agent can generate code; it cannot evaluate whether that code is correct without a verification system the engineer designed. Three properties determine whether a feedback loop succeeds:

  1. Resilience: tests and constraints that allow AI to validate its own output before the engineer sees it. Without these, errors compound without detection.
  2. Self-organization: loops that capture failure modes and route them back into future prompting. Without these, the same errors recur.
  3. Hierarchy: composable components that scope AI tasks to bounded contexts. Without these, AI generates locally correct code that fails in the larger system.

Manual code writing made the engineer the bottleneck. Feedback loop design makes the system the bottleneck. Teams with well-designed systems compound; teams without them stall because output volume grows faster than output quality.

Conditions

Holds when: AI coding adoption is high enough that code generation is no longer rate-limiting. Applies most directly to teams generating hundreds of pull requests monthly through AI agents.

Fails when: AI coding tools are early-stage or lightly adopted. In that context the engineer's bottleneck remains code generation, not verification system design.

Evidence

Tunguz synthesizes evidence from multiple operators shipping entirely through AI agents.

Dan Shiebler (Co-founder & CTO, Artemis Security):

"Every line of code in our platform is written by AI agents. Our engineers design systems, set constraints, and review outputs."

Artemis merged 16 pull requests daily by August 2026. That was 2 in January, 6 in May. Total in eight months: 30,000.

Lauren Tan (engineer, SpaceX Grok team) ships 2,000 pull requests monthly, approximately 100 per working day. She attributes this to verification loops that let AI validate its own work before human review.

David Heinemeier Hansson (CTO, 37signals):

"Writing code by hand is no longer economically productive for most programmers at most companies"

Signals

Counter-evidence

Artemis Security and the SpaceX Grok team are production environments specifically organized around agentic coding. Most engineering teams have not restructured this way. The feedback loop design skills are not widely taught or documented. DHH's claim about hand-coding economics applies most directly to large, mature codebases where AI context is well-scoped; early-stage greenfield development still benefits from manual-coding discipline because system boundaries are not yet defined.

Cross-references

Open the interactive view → View original source → Markdown source →