Skip to Content
loop.fun
Software factories

Pitfalls and the debate

Which known problems the factory patterns solve, which ones they make worse, and the critics who think "factory" is the wrong word entirely.

Problems the patterns solve

Most factory patterns are answers to failures people hit first with single loops. Read this table as "the pitfall, and the pattern the published factories use against it".

PitfallPattern that addresses itWho does it
People can only supervise three to five sessions at onceThe tracker as control plane; agents pull work, humans move cardsSymphony
Agents grade their own homework, or edit the testsHoldout scenarios the agent can't see; reproductions turned into tests firstStrongDM, Cloudflare
"Fixes" for bugs that don't existA reproduce or analyse station before implementationCloudflare, Vercel
Runaway retries and surprise billsBounded CI rounds; spend caps in tokens, dollars or iterationsStripe, Port's spend control
Slow, flaky or unsafe environmentsPre-warmed, isolated, disposable sandboxesStripe devboxes, Vercel Sandbox, Ona
Context rot in long sessionsNarrow stations that start fresh and hand off through files, labels or a ledgerCloudflare report.md, Beads
Rate limits and costs of real third-party APIs during testingDigital twins of dependenciesStrongDM
Agents borrowing a human's credentialsPer-agent scoped identity; only the secrets each station needsPort's identity layer, Vercel
One giant instruction file nobody maintainsA short AGENTS.md that maps to deeper docs; cleanup agentsOpenAI
Ambiguous tickets producing confident nonsenseClassify at intake; route judgment work back to humansVercel, Symphony
Repeating the same failure next weekOutcome taxonomy; failed runs become eval casesVercel

These patterns are real progress. But the remaining problems are the ones that matter most.

The review bottleneck moves, it doesn't disappear

Almost every factory still has a human approve the merge, and those people become the constraint. OpenAI says human QA capacity became its bottleneck as output rose (OpenAI). Spotify reportedly says "PR review is the new bottleneck" (Ry Walker). PostHog's humans skim at least 80% of agent PRs (PostHog).

The industry data points the same way: more merged PRs, more review time, more PRs merged without review, and higher delivery instability when foundations are weak (The human bottleneck, InfoQ on DORA 2026). secondary reporting

Dark factories respond by deleting the review. Everyone else responds by making review cheaper: evidence chains, reporter verification, risk-based routing where "humans decide only on high-risk PRs" (PostHog). Nobody has shown that review can scale to factory output.

Slop accumulates

This is the strongest argument against lights-off factories, made most forcefully by Dex Horthy of HumanLayer in a three-part series, "Why Software Factories Fail" (part 1, part 2, part 3). In short: agents are good at isolated changes, but across a long run of them they "still tend to degrade the codebase beneath them" (AAIF). He blames how models are trained, which no harness can fix. contested SlopCodeBench, a benchmark that reveals requirements step by step, found code quality declining in most agent runs (arXiv). primary source

Horthy is candid that HumanLayer sells human-in-the-loop tooling and that he can't prove the training explanation. But the argument explains something the PR-share numbers can't: a factory can look great for a quarter while making its own future runs worse. Our summary is in Why factories fail; the detail is in his posts.

Prompt injection through the front door

A factory's triggers are its attack surface. Issues, PR comments and Slack threads are text written by strangers, fed to an agent with repository access. That's Simon Willison's lethal trifecta (private data, untrusted content, a way out) by default, and a 2025 demonstration against GitHub's MCP server needed nothing more than a malicious public issue (Munder Difflin). An agent that writes code doesn't even need to exfiltrate anything: it can simply commit a backdoor.

What the careful factories do:

  • Treat every issue, comment and link as untrusted, and give each station only the secrets it needs (Vercel).
  • Run agents read-only by default and route writes through a constrained output layer (GitHub Agentic Workflows).
  • Give agents their own revocable identities (Port).
  • Apply Meta's "Rule of Two": a session should combine at most two of untrusted input, sensitive access and external action (DEV).

Commentators flagged exactly this risk in Cloudflare's triage system, which reads public issues while agents interact with source code and repository credentials (Mintec). See Security for the general case.

Cost at factory scale

StrongDM's $1,000-per-engineer-per-day benchmark is the most quoted number in the debate, and Willison's reaction ("more of a business model exercise") is the most common response (Simon Willison). Gas Town users report burning around $100 an hour (paddo.dev). anecdotal

The deeper problem is that nobody publishes cost per verified change. Factories report PR share, never what each merged PR cost in tokens and review time. Until they do, "the factory pays for itself" is a claim, not a finding. See Cost.

The split between deciding and building

PostHog's critique is subtler: most factories separate deciding what to build (humans, specs, tickets) from building it (agents), and that split is the flaw. An agent that only sees the ticket can't make good design decisions; one that also sees usage data, logs, traces and user feedback can (PostHog). Thoughtworks makes a related warning about spec-driven development drifting toward heavy up-front specification and big-bang releases (Thoughtworks).

Is "factory" the wrong word?

A vocal group thinks the metaphor itself misleads:

  • Rob West: software engineering is a discipline of design engineering, not manufacturing; the factory framing gets the nature of the work wrong (Rob West).
  • Noah Brier (Every): if it's a factory, it's Warhol's Factory, a studio aligned around one creative vision, not Ford's assembly line (Every).
  • Antony Marcano: the "dark factory" confuses engineering with manufacturing; the actual factory has always been the CI/CD pipeline (Substack).
  • LaunchDarkly: AI software factories won't always look like factories (LaunchDarkly).

On the other side, the bulls argue that "most companies in the knowledge economy will turn themselves into factories" within a couple of years (Exponential Operator), and BCG claims 3 to 5x productivity for organisations running one (qa.tech, citing BCG). contested

Where the evidence stands

The honest summary

Factories work for scoped, checkable, high-volume work: triage, reproductions, dependency bumps, migrations, CI fixes, small bugs with clear reports. That's where every documented success sits. Lights-off factories for open-ended product work are unproven: one well-documented team (StrongDM) runs one at a cost most can't justify, and one well-documented team (HumanLayer) tried it, then rewrote the result by hand. The rest of the industry sits at Shapiro's level 3 or 4, with agents writing and humans approving.

As with loops in general, the claims are louder than the evidence. Every number in this section is self-reported, most of it by people selling factories or factory parts. Field reports are open: if you run one, the most useful thing you could publish is what a merged change really costs you, and what fraction of factory PRs you later had to revert.

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page