Why Software Factories Fail: What We Agree With, and What a Harness Can Still Fix
"Why Software Factories Fail (or: harness engineering is not enough)" is the essay and AI Engineer World's Fair keynote in which Dex Horthy of HumanLayer argued, in July 2026, that the lights-off software factory does not work yet. It was one of the most discussed pieces on agent engineering this year: 394 points and 272 comments on Hacker News. We build coordination for teams of agents, including saved, repeatable runs we call factories, so the argument is aimed partly at people like us. This is our reading of it: what we think is right, what it leaves out, and what we have measured ourselves.
The argument, briefly
The target is the "lights-off" factory, a phrase from StrongDM: "no human reads code and no human writes code". The essay's thesis is that "no amount of harness engineering or loopsmaxxing can solve what is fundamentally a model-training issue."
The evidence is HumanLayer's own experience. "In July 2025 we went full lights-off." By November, after repeated incidents, "we decided it would be easier to rewrite from scratch", and a cofounder spent two weeks rewriting by hand.
The mechanism is training. Maintainability means "the specific thing where it becomes really, really hard to change one part of the codebase without breaking another part". Reinforcement learning rewards passing tests, but "there is no penalty for eroding codebase maintainability", because "maintainability has no fast oracle, so we can't reward for it during RL".
The remedy is "turning the lights back on": people in the loop for product design, system architecture, program design and vertical slices, with the claim that "30 minutes of planning saves hours of review" and the line "You don't have too many PRs. You have too many bad PRs." It ends: "Read the dang code."
The essay is open about its interest ("I run a company … building tools in the human/agent collaboration space, so what I'm gonna say below may be a tad biased"), and the conference page notes that Horthy says he cannot prove the broader quality claim with available benchmarks.
Where we think it is right
Maintainability is not something a harness can add. A harness decides what an agent sees, what it may do and when it stops. It cannot make a model prefer a design that will be easy to change in six months. If the model does not value that, no amount of orchestration will make it. We agree, and nothing Forkit does addresses it.
People belong at the decisions. A run with nobody to answer is not a factory with the lights off; it is a factory where the questions go unanswered. Forkit is built on the same view from the other side: a production deploy, a secret or a payment always reaches a person, and no rule or orchestrator agent may answer it.
Review is the bottleneck. The largest thread on Hacker News agreed, and one comment put it best: "Claude can write the code for you but it can't understand it for you. That part has to happen at human speeds."
What it leaves out: failures a harness can fix
The essay is about one agent producing code that rots. Factories that run many agents at once fail in another way too, and that way is not a training problem.
Agents break each other's work. CooperBench (Khatua et al., January 2026) gives two agents one feature each in the same repository. Its abstract reports that they succeed about 30% less often together than the same work done alone. When we ran it, the failure was rarely bad code. It was coordination: two agents agreed that one would make both edits, the other could not see that edit in its own checkout and made its own, and the patches clashed. In another run an agent wrote that it would not touch a function, then changed it.
These are not things a better model fixes by itself, because the information is simply not in either agent's context. They are fixed by infrastructure:
- A merge check that compares each agent's change with its peers' the way git's merge decides, before either finishes. On the merges recorded in our CooperBench runs it gave git's verdict every time: all 26 when it was built, all 37 by the end of that week.
- Patches between agents, so the agent that agreed to step aside can take the other's version instead of guessing at it.
- One owner per file, so two agents cannot both believe a file is theirs.
Here a harness works. In our last run of two real Claude Code agents changing the same function, they exchanged patches, one built both features, the other used the merge check and withdrew its overlapping edits, and the merged result passed all three tests. That is one run, and it shows the path works, not how often. The two runs before it failed for reasons that were also infrastructure: Forkit refused its own commands when nobody was there to answer, and Claude Code ignores a project's allow rules in a workspace nobody has trusted. Both are fixed now. None of the three failures was the model writing unmaintainable code.
On verifiers
The essay's way forward includes "better verifiers for software maintainability", and we think verifiers are where factories will be won or lost. Not for maintainability, which has none yet, but for the large class of work that does have one.
When twelve agents each fitted one model to the Mauna Loa CO2 record, every result could be checked: each model was scored on 130 months it never saw, and all twelve results matched a reference computed beforehand. When agents tested twelve hypotheses on a public dataset, a ranking script read their results. That work can safely run with the lights much lower, because the oracle exists and is fast. A dependency upgrade that must pass an existing test suite is closer to that than a redesign is.
So our practical reading is not "lights on" or "lights off" for a whole factory but per kind of work: where a fast, trusted check exists, let the run go further on its own; where it does not, people decide before and review after. Forkit records each factory run as judged good or bad, with its pass rate and cost, which is a crude verifier of the factory itself. Shadow runs let a factory run with every request that would have reached a person refused and listed, so a team can see what it would be trusting the agents with before it does.
Where we see it differently
"Do not outsource the thinking" and unattended work are not opposites. HumanLayer puts people at the plan; Forkit puts them at the decisions agents reach during a run. A team needs both, and a reviewed plan does not stop an agent that hits an unexpected permission prompt at 3 a.m. with nobody watching. That agent should be refused and recorded, not left hanging or allowed by default.
The essay's evidence is from mid-2025. Hacker News's most common objection was that a lights-off experiment from July 2025 predates the models of late 2025 and 2026. We cannot settle that, and neither can the essay, which says so. The training argument does not depend on the date; the anecdote does.
Some people report running factories without reading code. One commenter said they have run one for eight months, with heavy specification up front, and have not looked at code in review for four. Specification up front is, in the end, a version of the essay's own advice: people deciding before agents build.
What we take from it
- A harness cannot make a model write maintainable code. Do not buy one that claims to.
- A harness can stop agents from breaking each other's work, from waiting forever for an answer, and from spending past a budget. Those failures are common, measurable and fixable now.
- Decide where people stand per kind of work: let a run go further where a fast check exists, and keep people at design and review where it does not.
- Measure the factory, not only the code: how many runs were judged good, at what cost, and what the agents would have asked.
HumanLayer itself is now joining Factory and its cloud is shutting down; we compared the two products in Forkit vs HumanLayer. The essay will outlast that. It is worth reading in full.
Related reading: why multi-agent coding fails, what is a software factory, shadow runs for coding agents and the merge check against recorded merges.
Sources
Read on 26 Nov 2026:
- Dex Horthy, "Why Software Factories Fail (or: harness engineering is not enough)", July 2026: https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
- The keynote at AI Engineer World's Fair 2026: https://ai.engineer/talks/Ib5GBkD555M-harness-engineering-is-not-enough-why-software
- Hacker News discussion, 23 Jul 2026: https://news.ycombinator.com/item?id=49023019
- Khatua et al., "CooperBench", arXiv 2601.13295, January 2026 (preprint)
- Our CooperBench runs: Two Coding Agents, One Function