Dark factory or lights-on? Why software factories fail at the review gate.
The lights-off factory gets the headlines. The teams that publish honest reports keep arriving at the same finding: agents write code faster than people can accept it, and the factory is only as good as its gate. Here is the case for keeping the lights on, and a blueprint for doing it well.
- Code generation is no longer the constraint. Human attention at the merge gate is.
- Dark factories remove the gate. That works only if you can prove behaviour without reading code, and few teams can.
- Factories fail in two ways: review queues that nobody clears, and maintainability that erodes because tests can't see it.
- The fix is structural: review the spec before work starts, let agents evaluate first, and give the human a small, well-prepared decision.
Two factories, one difference
A software factory turns specs into merged code using AI agents. The two designs differ in one place: who decides that work is good enough to merge.
| DARK FACTORY | LIGHTS-ON FACTORY | |
|---|---|---|
| Who writes code | Agents | Agents |
| Who approves the merge | An automated validation harness | A person, after automated evaluation |
| What you must build first | Holdout scenarios, service clones, scoring | Specs, tickets, tests, a review workflow |
| Token spend | Very high. StrongDM suggests $1,000+ per engineer per day | The agent subscriptions you already have |
| Main risk | Nobody understands what shipped | The review queue becomes the bottleneck |
| Evidence so far | A few self-reported successes | How most agent-heavy teams work today |
The bottleneck moved. It did not disappear.
Every team that scales up agents reports the same thing in nearly the same words.
"After a year of building Kiro, our agents got faster at writing code than we got at reviewing it."
"Once agents produce code at volume, review becomes the bottleneck."
The telemetry agrees. Faros AI's study of more than 10,000 developers across 1,255 teams found that teams with high AI adoption merge 98% more pull requests while PR review time rises 91%. The same report found no significant improvement at company level. Output went up. Delivery did not.
The Kiro team's description of life inside an under-designed factory is the most honest line written on the subject this year: "Some days it feels like a homework generator for humans."
The tempting answer: remove the reviewer
If review is the bottleneck, delete it. That is the dark factory position, and it has serious advocates. A guest post on Latent Space opened with "Code reviews will die in 2026" and argued that "there is no way we win this fight with manual code reviews." StrongDM made it a rule: "Code must not be reviewed by humans."
The strongest part of this argument is worth keeping. The same Latent Space piece says: "Humans should review specs, plans, constraints, and acceptance criteria—not 500-line diffs." That is right. It is also an argument for moving human judgement earlier, which is different from removing it.
Why factories fail
Dex Horthy of HumanLayer wrote the most useful critique so far, "Why Software Factories Fail". His position: "the lights off factory does not work." The reason is a mismatch of feedback speeds.
"Tests give you feedback in seconds, but the cost function of bad architecture is measured in weeks, months, maybe even years"
An agent in a loop optimises for what the loop can measure. Passing tests is measurable. A codebase that is still pleasant to change in a year is not, so, in Horthy's words, "there is no penalty for eroding codebase maintainability". His rule for his own team, given to Dev Interrupted: "Every PR needs a human owner. This is non-negotiable."
Put the published reports together and five failure modes keep coming up:
- The queue nobody clears. Agents open pull requests all day. Reviewers skim or stop. Either way the gate is gone, and nobody decided to remove it.
- Vague input. A one-line ticket produces a plausible guess. Multiply by twenty agents and you have twenty plausible guesses that don't fit together.
- Collisions. Agents working in the same checkout overwrite each other, or tickets run before the work they depend on.
- Reward hacking. The agent makes the test pass instead of making the feature work. StrongDM says so plainly: "Tests can be reward hacked".
- Lost understanding. The Stanford CodeX analysis of the dark factory model ends on the real cost: when it breaks, "nobody will know how to fix it." We cover this in Comprehension debt: the hidden cost of AI-generated code.
Scepticism is common among working engineers too. On Hacker News, ekidd wrote that "the people promising completely dark software factories are either high on their own supply" or not being straight about the results. Even Steve Yegge, who says he runs about 50 agents at once, told AI Engineer CODE in November: "The more agents I deploy, the more humans I need" (reported by Sulat; talk video).
A blueprint for a lights-on factory
The goal is to spend human attention only where it changes the outcome. Kiro's phrasing is a good design brief: the factory "asks for a person only where one is needed, and gives them enough to decide when it does."
- Write the spec before the code. A product requirements document and an architecture description, built with AI help and approved by a person. This is the cheapest review you will ever do, and it prevents the most expensive mistakes.
- Generate small tickets with dependencies. Each ticket should fit one agent session and carry its own acceptance criteria. Dependency ordering lets agents work in parallel safely.
- Isolate every agent. One git worktree per ticket. No shared checkout, no collisions, and a clean diff per unit of work.
- Evaluate before a human looks. Run tests, then an evaluation pass against the acceptance criteria. Work that fails goes back to the agent. People should only see work that already passed.
- Keep one human gate, and make it small. The reviewer sees the ticket, the criteria, the evaluation result and the diff in one place. Accept or send back. Nothing reaches main without that decision.
- Keep the trace. Requirement to epic to ticket to commit. When someone asks why a piece of code exists, there is an answer.
- Make prompts first-class. Store the instructions your agents follow as versioned documents, so improving the factory is an edit and a commit.

The verdict
Dark factories are real research and may become normal for some kinds of software. Today they need infrastructure most teams do not have, budgets most teams will not approve, and a tolerance for not understanding your own product.
A lights-on factory gets you the parallelism and most of the speed now. The discipline it asks for, written specs, small tickets, isolation, evaluation, one clear gate, is the discipline good engineering teams wanted anyway. Agents just made it pay.
The blueprint above, as a desktop app.
Ombuto Code is an open-source workbench with three modes. Plan: build the PRD and architecture with AI, then generate epics and dependency-ordered tickets. Build: Claude, Codex or Kimi agents pick up tickets and work in isolated git worktrees through testing and evaluation. Review: nothing reaches your main branch without your approval. Skills are Markdown files you can version. Apache 2.0, free.
Frequently asked questions
Why do software factories fail?
Most fail at the review gate. Agents produce code faster than people can accept it, so teams either let reviews pile up or approve without reading. A second cause is that tests give feedback in seconds while the cost of poor architecture shows up over months, so agents optimise for passing tests and maintainability erodes.
What is a human-in-the-loop software factory?
It is a software factory that automates implementation, testing and evaluation with AI agents, and keeps a person responsible for two decisions: approving the spec before work starts and approving the result before it reaches the main branch.
Should humans review specs or code?
Both, at different depths. Review the spec carefully before generation, because a wrong spec makes every later step wrong. At the merge gate, review the outcome against the ticket's acceptance criteria and read the code where the change touches risky or sensitive parts of the system.
Sources and further reading
- Dex Horthy, HumanLayer, Why Software Factories Fail (or: harness engineering is not enough)
- Kiro, Building a software factory around human attention (25 Nov 2026)
- Andrew Zigler and Ben Lloyd Pearson, Dev Interrupted, Everyone building a software factory wants the same proof (13 Aug 2026)
- Ankit Jain, Latent Space, How to Kill the Code Review
- Justin McCarthy, StrongDM, Software Factories and the Agentic Moment (6 Feb 2026)
- Faros AI, The AI Productivity Paradox Research Report
- Eran Kahana, Stanford CodeX, Built by Agents, Tested by Agents, Trusted by Whom? (8 Feb 2026)
- Hacker News: Why Software Factories Fail, including a reply from the StrongDM AI Lab