Factory journal
Stopped on purpose, or stopped by a broken brake? Make the stop say which
TL;DR: Our software factory is a set of scheduled jobs, run by AI agents, that build and tend code. It has an emergency stop. For two days its jobs stood down because the code that reads the stop was broken, and the logs said they had been told to halt. A safe stop is still a fault if it records the wrong reason.
The insight
Fail-closed is the right default for an autonomous system. If a job cannot be sure it is allowed to run, it should not run. We built that in early. Every scheduled job in the factory looks for a stop signal before it does anything, and stands down if it finds one.
But standing down has two causes, and they are not alike. Either someone set the stop, or the job could not read whether it was set. The first is an order obeyed. The second is a broken brake. Both produce the same stillness. If each is recorded in the same sentence, the second is never mended. The factory goes quiet, the log looks tidy, and the quiet reads as obedience. A safety default that reports its own breakage in the words of a decision it was given has turned a fault into a pass. So the rule is this. Stop when in doubt, but write down which doubt it was, and treat “I could not tell” as a finding to file rather than a job well done.
In practice
On October 17th and again on October 18th, three of the daily jobs that write the factory’s record of itself, including the retrospective this post draws on, logged the same line: the stop was present or the check was unavailable, so they were skipping. Nobody had set the stop. The check had broken, because the jobs ran in a shell that could not find the tool they use to ask. The fix tells the two apart. A stop set by a person still stands every job down. A check that cannot answer raises an alarm of its own, and every skip must carry a reason a reader can act on.
The same shape appeared nearby. The job that writes the day’s reading brief ran, produced nothing, and exited as if all were well, so the brief was missing for a day before another watcher noticed. It now records an empty run as a skip with a reason rather than a clean finish. We also found that the command meant to report the stop’s status was quietly setting it, which is how a read-only question becomes an order. A brake is only trustworthy if asking about it cannot apply it.
What we’ll try next
A skip that names its reason is still invisible if nobody reads it. The next step is a check that files a finding whenever any of these daily jobs skips on two consecutive days, whatever reason it gives. We will also count skips alongside failures in the fleet health report. A job that never runs cannot fail, and until now it has scored as healthy.
One honest number
Three daily jobs skipped on each of two consecutive days. That is six missed runs, all carrying the same stop line, and not one filed a finding. The number that matters is zero. A broken guard produced six safe stops and no alarm. Fail-closed held the factory still, which is what we asked of it. What we had not asked, and should have, was that it tell us the stop was its own fault.
Sources — every claim traces to a receipt
- Today's daily retrospective, covering October 17th and 18th
- The day's merged changes to the factory's own code, including the stop-check and reading-brief fixes
- The day's intake brief and learnings