paragraph


You’ve got a nice harness setup already. Because harnesses were so 2026 H1. 

You’ve got Claude Max or Codex Pro. Maybe both. 

But not just the “inner harness.” You’ve got the whole shebang.

Starting with a tight AGENTS.md covering key information about the project and how to run the whole system. 

Then tools and instructions so agents can verify changes just like you would. With carefully crafted deterministic checks – not just tests, but guidance on what kinds of tests to write, techniques like invariant and mutation testing, and linters that enforce maintainability, not just style.

You’ve got agents reviewing the code other agents write. Maybe you use subagents, or maybe you’ve got a tool that reviews all your PRs. 

In other words, you’ve got your “outer harness”: the feedforward controls that point the agent in the right direction and the feedback controls that get it back on track when things go sideways.

But even then it was still somewhat slow and tedious. Prompt Claude to tweak the UI. Come back to it a few minutes later and have it refactor a class. 

So you leaned into spec-driven development. Slowing down to figure out what you want before you build. With a pretty smart robot buddy helping you to think through decisions you hadn’t even considered yet. 

But now, it’s still rough around the edges. Gotta keep that laptop open all the time. Come back, and it’s implemented half of your spec and decided to take a snooze till its human comes back to chat. You’ve got a great workflow, and the agent follows it perfectly… 45% of the time. A lot of it is still manual, and even you don’t always follow your preferred steps.

And all your co-workers either have their own bespoke workflows or are still just learning prompt engineering…

But now it’s 2026 H2, so you must have heard: software factories are here to solve all your problems. It was the main theme of aiDevCon NYC ’26. But don’t take my word for it:

“Software factories are not built in a day. But the best day to start building your factory is today,” write Matan Grinberg and Eno Reyes.

“If you haven’t spent at least $1,000 on tokens today per human engineer, your software factory has room for improvement,” writes StrongDM co-founder and CTO Justin McCarthy.

“Should you buy a software factory? Do you even need one? No. You probably don’t need one.” That’s Steve Yegge, writing on November 14.

Wait, hold on. What did you say, Steve? 

Yes, Steve Yegge, the well-known ex-Googler and self-proclaimed inventor of the software factory, is saying you don’t need a software factory?

Even if I’d heard that advice at the time, I wouldn’t have listened. I already knew how I wanted to build software. With a factory that makes the workflows that much more automated, how much faster could I go?

Sometimes we have to learn the lesson the hard way.

My first factory

As they say, the road to factory hell is paved with good intentions.

The clearest definition of a software factory I’ve found comes from Dan Shapiro, who describes it as “a black box that turns specs into software.”

What happens inside that black box, though? Think of it as a repeatable workflow that coordinates agents, tools, automated checks, and (sometimes) human judgment.

The exact workflow varies from person to person and team to team, but the basic flow is something like this:


So when I set out to build my own factory, I had the spec part down already. I’ve been using OpenSpec heavily for over a year. It’s my favorite spec framework because it excels at iterative development in brownfield projects. I write specs for one story or task at a time, no waterfall.

And I had workflows down too. The headline on my project’s website says “deterministic workflows for agentic coding.” Workflows are kinda my thing.

Codagent.dev

A little further down, I put it this way: “Stop giving the agent a workflow. Put the agent inside the workflow.” That’s exactly what a factory needs. In fact, it’s what a factory is. Something that runs a predefined sequence of deterministic and nondeterministic steps.

That’s what Agent Runner did. It helped me write a spec, then ran a workflow that built and verified the software. I’d been calling my workflow engine and runner part of the “outer harness,” when in actuality it was the key part of a whole new “thing” – a software factory. So a harness gives an agent what it needs to do a job, whereas a factory takes a piece of work and runs it through a workflow that includes that harness.

I didn’t realize it at the time, but the project I’d spent the past year building was already a factory.

I’m using the past tense here. Because I’ve decided to throw out the whole thing, my runner baby along with the factory bathwater.

But before I get to why, there’s one other important aspect of a factory that I haven’t covered yet.

Don’t forget the feedback

No good definition of a software factory is complete without mentioning feedback loops. Say you ship a change and the error rate spikes. Now you’ve got a ticket. That’s the product loop, with “monitoring data feeding back into the signals that kicked the loop into motion to begin with,” as Addy Osmani puts it.

And say you catch the same mistake in three different PRs. You could leave the same review comment a fourth time. Or you could add a check to the harness so the next agent catches it before you ever see the PR. That’s the factory loop. The thing you’re fixing this time is the factory itself.

In my case, I wasn’t running a production service. I was building tools for agentic coding. So I started running evals on my work. Heavily. Say I thought a cheaper model could handle one step in a workflow. Could it get through the same tasks with the same acceptance criteria? And was it still cheaper if it took three tries? Those are questions an eval can answer. Make the change, run the suite, compare it to the current version, and ship it if it holds up.

I got the evals running on factory number two, and that gave it plenty of work to start with.

My second factory (that I thought was my first factory)

My big goal for the new factory, in addition to feedback loops, was this:

Typically, a factory picks up its next assignment the same way a person at a company does. As Tejas Kumar puts it, the agents work through “a queue of tickets that a person filled with what they want built.” Once the queue is in place, your job changes. You “stop prompting the agent turn by turn and instead design the small system that prompts it for you,” writes Addy Osmani.

This was exactly what I needed to manage all those pesky local agent sessions (or so I thought). I love herdr as an agent manager, but the number of tabs with parallel agents that need my input can still get overwhelming at times. But we’ve solved the work-tracking problem already: it’s called a kanban board.

So I threw together a GitHub Project board, wired up webhooks to a new service on my Mac mini, and voilà, I had a factory. I defined different Agent Runner workflows for various issue types – bug, task, story. And I could manage everything on one nice, clean board.

The backlog held all the work I wanted to do. I’d move a card to “ready,” and an agent would pick it up in priority order. As Addy and others have emphasized, no prompting was needed! If the agent needed my input, it flagged the card so I could respond right on the board. When the work was done, it moved the card to review. 

It was everything I needed to plan, manage, and track the agentic work for my whole project.

And I soon grew to detest it.

Where things went wrong

Why? Well, first of all, the GitHub Projects UI was nice. But I no longer use “user interfaces.” I use agent chats.

So Claude helped me manage the board. I wasn’t giving it big tasks yet. But I already had a backlog of bugs and small feature enhancements I wanted to do. So I started assigning them to the factory. 

And the factory worked, so I wanted to take on more. More enhancements, more eval runs. A lot of (mostly) small changes. 

And since they were small, I didn’t want to take all that time to fully think through and spec them out. “No prompting,” after all. So I let the agents take over that part too. The factory got prompts on how to write specs. Now, all it needed to run was a well-defined GitHub issue.

GitHub issues, which at this point I was letting Claude author too.

I gave Claude a skill for creating issues and assigning them to the factory. The Claude in my terminal could write the ticket, and the factory could take it from there, writing out the full specs and implementing them. Claude loved the factory. The issue count was growing fast.

Of course, I was still a big believer in keeping a human in the loop (in theory). So the factory paused when it needed my input. And every PR it created needed my approval.

By then, there were at any given time about a dozen PRs waiting for my review, and a couple dozen more cards blocked on my input. I wanted the factory to check with me, but I just didn’t have the mental bandwidth for the context switches. It was so much easier to say, “Claude, review this.” So I created a “review factory PR” skill. 

Wait, didn’t Claude already review this code? Yes. Sol wrote it using the Codex harness, and the factory ran its own headless Claude Code review. But that was the factory’s headless Claude. This was my friend Claude in my terminal.

And there were so many PRs. I ended up just saying, “I trust you, Claude. Just merge it when it looks good to you.” 

Claude was great at reviewing, and at merging, and at finding follow-up issues too. For every PR it merged, it filed two more issues and assigned them to the factory as well.

So I somehow went from “I have a bug I’d like to fix” to “Claude found two more things for Claude to do.” You do the math. I’d started this whole thing because I was tired of tabs waiting on me. Now I had a giant board full of cards waiting on me.

And while I wasn’t looking closely, the slop started building up.

aiDevCon to the rescue

That was the central question in my mind as I attended aiDevCon: How could I run my factory at full speed, manage all the work, and still keep the quality high?

Turns out, you can’t.

(That’s the theme of this piece, so read it again.)

Turns out, you can’t. At least not yet, not with the current models. Removing human review altogether is what’s known as a “dark factory.” And it turns out I was not the only one having quality problems with my dark factory. Talk after talk after talk came back to the same point: Somebody still has to look at the evidence, decide whether the change does what you wanted, and make the call when a change is risky. For better or worse, we can’t just “trust the agents” to do all that for us. I don’t see that changing anytime soon.

So we’re still on the hook for review. But with agents producing PRs so much faster, how do we keep up with all those reviews? That came up in a lot of the talks too.

One common idea is to have the agent show its work. If I ask for a change to what a user sees, give me a preview and let me try it. If it’s a service change, show me the request and what came back.

Another idea was to surface what the agents argued about. If the agent writing the code and the agent reviewing it read the same requirement two different ways, I want both interpretations in the PR, so I can be the decider. And if the change touches a part of the system I’m worried about, sure, I’ll open the diff.

And perhaps the most important aspect of the human review: accountability. It’s not the agent’s work, it’s yours. It’s your responsibility to make sure that things won’t go sideways when it ships.

Here’s my synthesis of what you (the human) should still review:

Keep reviewing

Why

The spec, before anything is built

The cheapest place to catch a wrong idea.

The results, starting with anything that failed or wasn’t verified

Does it work the way you intended? Anything the agents couldn’t show working comes first.

Decisions the spec left open

A spec is only a map. Check the choices the agents made along the way.

Disagreements the agents didn’t settle

If the reviewer flagged something and the implementor wouldn’t fix it, you make the call.

Changes made after acceptance testing

Only the automated tests ran on them.

Checks only a person can do

The test plan names them up front, so they don’t get skipped.

The riskiest code

For the most complicated and risky parts of the code, a review by someone who knows that code is still worth the time.

And here’s what you can delegate to a machine:

Stop reviewing

Who does it instead

The whole diff, line by line

An agent reviewer. It’s better than humans at catching bugs, and the implementor has to fix what it finds or say why not.

Style, standards, and code quality

Linters and rules. They can catch all kinds of slop, from huge files to overly complex methods.

Whether it does what the spec asked

Agent verification. Every behavior in the spec gets a verdict and evidence, and an acceptance tester uses the change the way you would.

CI failures and review comments

The workflow fixes them before it hands you the PR and tells you about any it didn’t fix.

The lesson

In a nutshell, I tried to go too fast, to take on too much work all at once. I knew we humans can only multitask so much. And I knew it’s important for humans to remain in the loop, defining exactly what they want the agent to build and then thoughtfully verifying it. 

But it was so easy to assign a ticket to an agent that I forgot all that. I’d started out using agents to speed up my work. Somewhere along the way, I’d handed them the hard parts, too.

Use factories responsibly. Assigning a spec to an agent is not the same thing as assigning a ticket. You still have to do the thinking part. 

Kanban boards are great for teams, but you don’t need one to manage the two or three things you’re focused on today. And if you’re taking on more than that, you should seriously consider whether you want to be doing a few things well or a bunch sloppily.

And that 10x you’ve heard about. Forget about it. Sure, you can get that level for certain kinds of work, like re-platforming and internal tooling. But for “real” product engineering work and complex systems, it’s a fantasy. There’s still a lot of work that human software engineers need to do (and that’s a good thing).

So how much is realistic? In one controlled study, developers who finished the task correctly spent about half as much hands-on time with an agent as with Copilot. On a large story I worked on at my day job, I estimated how long it would have taken without agents and came up with a multiplier of about 2.3x. And Ankit Jain’s team reported merging 4x as many PRs as a year earlier. I’d expect around 2x velocity on most work that goes to a factory. I’ll take that.

As for multitasking, here’s the kind of parallel work I think works best: While the factory is implementing and verifying one spec, I’m working with an agent on writing the next one.

Two things can move forward, and I only have to think hard about one at a time. I really can’t thoughtfully produce good specs any faster than the factory can complete one. So I’m still the bottleneck. But that’s okay.

So then what’s a factory still good for? It all comes back to that one word: workflows.

That workflow that worked perfectly, 45% of the time? If it skipped the verification step, I had to notice, find the right session, and ask it to go back. Lots of switching back and forth between tabs to make sure the implementor session was not just done, but “done done”. With a factory, I know that when the work comes back, it includes everything I asked for.

It’s not just agents that are bad at faithfully following every step of a workflow; humans are equally bad, especially across a team. I’ve never seen a team of programmers consistently follow the same manual process the same way.

So figure out the right SDLC workflows for you and/or your team. Then don’t tell your team to follow them. Don’t tell the agents either. Stand up the workflows in a software factory.

Have humans and agents collaborate on the spec. Then the factory executes the workflow, and humans make the judgment calls at the end.

Out of the ashes

So where am I now? Last week, I decided to “throw one away” and start rebuilding. The new factory is simpler and more focused, built on other open-source tools, and designed to work out of the box. I write each spec with an agent, and the factory starts once the spec is done. It builds the change, reviews it, tests it, and hands back a pull request with the key decisions and results highlighted for me to efficiently review.

In the process of rewriting, I’ve slowed down and thought it through bit by bit. And because I’ve already built this once, I have a really strong idea of what works, what provides real value, and what’s just fluff. The new repo is clean, lean, and tight. I’m not reviewing every line of code by any means, but this time I have high confidence that the code does what I need, not a convoluted list of things the agents thought I should have.

Next time, I’ll unveil the new project, and talk about what I’ve thrown away, what I’ve decided to “buy” (for free) rather than building myself, and which “good parts” I’ve kept and am excited about. It’s free and open source, and it runs on the Claude Code or Codex subscription you already have.

Spoiler: there’s no kanban board.

Keep Reading