# I built a software factory that only asks me when it must

- Date: 2026-12-01
- URL: https://farhanbaluch.com/writing/my-software-factory
- Series: Part 1 of 5 · Software factory
- [Discuss on LinkedIn](<https://www.linkedin.com/feed/update/urn:li:share:7533537168871370752/>)

> One orchestrator, a crew of AI workers, one board and ten scheduled jobs. How the whole thing fits together, and why the bookkeeping matters more than the code generation.

I built a software factory, and the goal is that it only asks me when it must. It's a crew of AI tools that works through a board of tasks on a schedule, and it stops for me only when a human decision is needed. This is Part 1 of 5. Here I cover the shape of the whole thing. Later parts go deeper on each piece.

## The crew

One orchestrator sits on top: Claude Code running Opus 5.5. It plans, pushes back on the workers' plans, routes tasks and reviews every result. It does not do the bulk of the work. I want the most expensive judgment spent on deciding and checking, not on typing.

Under it sit the workers:

- **Codex CLI** is my main code worker.
- **GitHub Copilot CLI** is a work seat allowed on some repos.
- **OpenRouter** handles drafts, summaries and second opinions.
- **Two reserve pools of prepaid credits** only step in when the others can't.

The pool order is simple. Tools whose quota refills get used first. Prepaid reserve credits are touched only when the refillable ones are out or can't do the task. In the same spirit, the expensive "best" models only plan, and standard models do the building. Part 3 covers routing in detail.

## How a code task moves

Every code card goes through the same loop:

1. The best model writes a plan.
2. The orchestrator challenges it, with up to 2 revision rounds.
3. A standard model builds it in an isolated git worktree and runs the tests.
4. The orchestrator reviews the diff.
5. Any fixes go back to the worker.

The challenge step is the one I'd keep if I had to cut everything else. A plan that nobody questioned is just a guess with good formatting. Making the orchestrator push back, and capping it at two rounds, keeps the plan honest without letting two models argue forever.

The worker makes its changes in an isolated worktree, where the orchestrator reviews the diff.

## Mission Control

Everything shows up on one page I call Mission Control. It has:

- A Kanban board with Backlog, Up next, Doing, Review and Done, plus an Ongoing column for standing goals
- The schedule
- Live quota for every tool
- The instruction files the crew works from
- A LinkedIn tab

Ten scheduled jobs keep the board moving. The core one runs every 3 hours. It checks quota, restarts any job that was missed while the laptop slept, and finishes up to 3 cards end to end.

A laptop that sleeps is not a reliable place to run schedules, so an always-on Mac at home watches the jobs. If one is missed or fails, it pings my phone. I'd rather get one clear ping than learn later that a job stalled.

A nightly review handles pull requests. It merges the routine ones (bug fixes, tests, hardening) and holds anything that needs my taste, meaning features, UI and copy. I don't want to review a test fix, and I don't want a machine deciding how my product feels.

## Guard rails and when it asks me

An autonomous system is only useful if I can leave it alone, and I can only leave it alone if the limits are firm. The rules are:

- Work happens only in worktrees.
- The crew never pushes to a main branch, publishes, sends, buys or deletes on its own.
- A data rule decides which tool may see which material.
- Secrets never go to any tool.

Those are hard rules, not preferences the model can weigh against a good reason. Part 4 covers how they're enforced.

Inside those limits, it stops and asks me only for three things: approvals, merges that need my taste, or anything it can't do safely. Everything else it just does.

## A small proof: this post

The LinkedIn post that led you here started as a card I dropped in the Backlog. The crew drafted it, and it waited in Review for me. Approval happens on the board. If I edit the post after approving it, the card goes back for re-approval.

That's a small example, but it shows the pattern: I supply the intent and the final say, and the crew does the middle.

## My take

Most of the value isn't the AI writing code. Models write decent code now, and plenty of tools can do it. The value is the board making sure nothing silently stalls.

Work gets lost in the gaps: a task that's half done, a job that didn't run because the laptop was asleep, a draft nobody looked at, a quota that ran out unnoticed. A visible board, a schedule that restarts what it missed, live quota, and a phone ping on failure close those gaps. The code generation is the easy part to demo. The part that makes it usable is the bookkeeping.

## What's next in this series

- **Part 2: The loop.** The board, the scheduled jobs, Ongoing cards that open one draft PR per slice, and the morning brief.
- **Part 3: Routing work by quota.** How tasks get matched to tools, and when the reserve credits are allowed to step in.
- **Part 4: The safety rails.** The guard rails in detail, including the data rule and how approvals work.
- **Part 5: What went wrong and what I changed.** The failures, and the fixes I made after them.

If you'd like to see the kind of work I build and measure, the case studies on this site are the place to start.

**Related work**

- [OpenPlate, an MCP-first meal and fitness app](<https://farhanbaluch.com/work/openplate.md>): An open-source app for meals, pantry, groceries, calories, workouts and supplements that you host for free and run from the AI you already use, through an MCP connector.
- [CommonNotes, notes with scoped agent access](<https://farhanbaluch.com/work/commonnotes.md>): A self-hosted notes app with a built-in MCP server, so every AI agent you use can search, file and edit the same notes, with the access level you choose for each one.