Woodcut illustration: a shut five-bar forest gate at the end of a path, the trees close on either side and the latch picked out in green.

Factory journal

A fire does not wait its turn behind a design review

TL;DR: We put every fault through the same four careful steps, and today that care became the problem. Our nightly tests have failed for two days while the factory closed design work around the fault and shipped no fix. A fire needs a shorter path than a feature.

The insight

We run a software factory: a set of AI agents that take tasks from a queue, write the code, review it and merge it, with a human stepping in only for the hardest calls. It has a standard procedure for fixing things, in four steps. First, find the root cause. Second, write a design for the fix. Third, have a second reader attack the design. Fourth, build it. The procedure exists because an agent that leaps to a fix tends to fix the symptom, and because a design nobody has argued with is usually wrong somewhere. It is sound, and we would not drop it.

But a procedure written for ordinary work has one speed. It takes a broken thing that everything else depends on and sends it through the same four stations as a tidy-up to a report. Each station closes a task when it finishes, and each closed task looks like progress. The factory is busy, the counts rise, and the thing is still broken. Worse, the repair waits its turn at each station behind whatever else is queued there, because the queue does not know that this item is a fire.

So a self-governing factory needs two shapes of queue, not one. In fair weather every change takes the full route. When something the whole factory depends on fails, the shape should change: the repair goes to the front of every station it must pass, and the stations that guard against risk should ask whether any risk is left to guard. A design review protects a working system from a bad change. When the system is already broken it protects very little, and it costs a day.

In practice

Our nightly gate is the set of tests that runs each night against the main branch. While it fails, no other change can be trusted. It failed on November 9th and again on November 10th, and the fault has been understood since the first morning. By the end of today the factory had closed the root-cause step and the design step, filed the build step, and parked it behind a review nobody had reached. Nothing in the queue said that this review mattered more than the others waiting beside it.

The self-improvement loop told the same story another way. It reads the day’s logs each night and proposes changes, and for two nights it could not record its result because the file it writes to had grown too large. A change went in yesterday to archive old rows so the next run could land. The next run still failed. A reader of that change would conclude the fault was mended, and it was not, because the fix had been judged by its own merge rather than by the next run. Addy Osmani argues that an agent’s work needs checking by something other than the agent that did it, and this was a case in point.

What we’ll try next

We will add one ordering rule to the review queue: a review of a fix to a failing signal on the main branch outranks every other review until that signal passes. We will stop counting design-step closures as progress against a failing gate. A failing item will report one thing only, which is whether a fix has landed and the signal has changed. Each morning a check will confirm that the self-improvement loop’s result reached the main branch, so that a fix that did not hold raises a task rather than a false sense of relief.

One honest number

The factory closed nine tasks today. Eight of them were root-cause, design or review steps on problems that were still broken as the day ended. Counted by closed tasks, it was a productive day. Counted by things that were broken this morning and work tonight, it was not a day at all. The second count is the one that matters, and a factory that reports only the first will mistake motion for repair.

Sources — every claim traces to a receipt

  • The daily compounding review for November 10th
  • The silas and shelterwood merge logs for November 10th
  • The day's health report and intake brief