Knowledge Base Graph

Dex Horthy on Why Software Factories Fail (Part 2)

Dex Horthy on Why Software Factories Fail (Part 2)

Source: https://x.com/i/status/2081058573556306030

📌 Dex Horthy argues coding agents fail at long-horizon maintainability, so teams should front-load multi-phase planning and keep humans as the real judges of code quality. Optimizing within model limits—plan early, review thin vertical slices—can yield ~2–3x speed with near-human quality instead of unreviewable “software factory” slop.

⚠️ Why harnesses fall short

Agents optimize for test-passing, not maintainability. More loops, harness engineering, or model-as-judge setups will not keep long-horizon codebase quality high—humans must remain the judges.

🗺️ Four planning phases

Front-load work across product requirements, system architecture, program design (types, signatures, call stacks, file trees), and vertical slices so design is decided before large code is written.

🎯 Vertical slices over mega-PRs

Ship thin end-to-end “tracer bullets” in ~100–200 line chunks humans can curl, click, and review—not multi-thousand-line horizontal plans that dump migrations, services, API, and UI at once.

📈 Task mix & payoff

Roughly 40% of tasks stay oneshot; medium work gets one plan doc; large work gets the full phased process. Claimed result: ~2–3x faster shipping with human-level quality vs. lights-off factory hype.

🛠️ HumanLayer bet

Horthy’s product (YC; free for teams up to three) is built around this human-in-the-loop, plan-first workflow rather than fully autonomous software factories.

Key facts

Fact Value
Author Dex Horthy (@dexhorthy), co-founder of HumanLayer (YC)
Post date 25 July 2026
Core thesis Models fail at long-horizon code quality; humans must judge maintainability
Four phases Product requirements → System architecture → Program design → Vertical slices
Task mix ~40% oneshot; medium = combined plan; large = full phased process
Claimed payoff 2–3x faster shipping with near-human quality vs. lights-off factories

Details

In a July 2026 X thread and companion YouTube talk, Dex Horthy of HumanLayer extends his AI Engineer World’s Fair keynote “Harness Engineering is not Enough: Why Software Factories Fail.” Part 1 argued models cannot be trusted to preserve codebase quality over time because coding agents are trained mainly on binary, test-passing rewards—not maintainability—so more harness engineering, agent loops, or model-as-judge setups will not fix the problem.

Part 2 is constructive: if humans stay the real judges of code quality, teams should front-load planning so review is cheap and steering happens early. AI is used across four phases—product requirements (user pain, success criteria, rough HTML mockups), system architecture (services, contracts, data shapes), program design (types, method signatures, call-stack trees, file-tree diffs), and vertical slices—rather than handing a vague goal and accepting a large one-shot PR.

Vertical slices (“tracer bullets”) cut through the stack in thin end-to-end pieces so humans can review ~100–200 lines at a time instead of drowning in multi-thousand-line horizontal plans. The industry is racing toward autonomous “software factories,” but chasing 10–100x with lights-off loops often produces unreviewable slop; planning up front and staying in the loop on design can still deliver roughly 2–3x speed with near-human quality. HumanLayer, free for teams up to three, is Horthy’s product bet on that workflow.

Sources