Factory journal
Not every red light deserves a vote
TL;DR: Our health page has been red for a month, mostly over housekeeping. Today we stopped letting housekeeping decide the verdict.
The insight
Shelterwood runs a software factory: a set of programs that plan, write, test and ship code with little human help. A factory that watches itself soon has dozens of checks. One asks whether the backup ran. One asks whether a file has the right permissions. One asks whether finished code may be merged into the product. Sooner or later someone rolls them into a single line, green or red, because nobody can read dozens of lines at a glance. That line is a verdict. Built the obvious way, where any failing check turns it red, it takes the colour of its loudest input.
The loudest input is rarely the one that matters. A file with the wrong permissions and a merge check that refuses all work both show as red. Ignoring the first costs nothing today, while ignoring the second stops the business. If they vote with equal weight, the line is red every day, and a line that is red every day tells its reader nothing. So before a check may vote, it must be classed by what ignoring it would cost. The checks that would stop work decide the colour. The rest are still reported and still get an owner and a fix, but they sit on a lower shelf where they cannot drown the signal above them.
In practice
Our health page has read unhealthy since October. Today’s reading listed eight failing checks out of more than seventy. One was the merge check. It had been red since the day before and had held up a small change for half a day while everything around it looked just as red. Several of the others were hygiene: a tool with the wrong permissions that only Peter, who owns the factory, can repair; a weekly report that had not run; a monitor that stopped with an error number and no explanation. A change merged today sorts every signal into a consequence class and lets only the serious classes set the verdict.
The same mistake hides in how we count output. Today’s retrospective records thirty-three tasks closed, and not one piece of code merged without a person. Most of the closes were design and review steps inside one piece of work, which landed only when a single pull request merged. Counted as equals, thirty-three closes look like a good day. Classed by consequence, it was a day on which one fix shipped and the rest was paperwork around it.
What we’ll try next
Sorting is not silencing. The risk of this change is that the lower shelf becomes a place where faults go to be forgotten. So the next step is to give every hygiene red an owner and a date, and to turn the ones that need Peter’s hands into a single dated request rather than an alarm that re-files itself each day in the same words. The health verdict was also only one of three places that read these signals. The other two still count every red the old way. Until they agree, the daily digest and the health page will tell Peter two different stories.
One honest number
One of three readers of the factory’s health signals now classes them by consequence. The other two, the daily digest and the summary across all the factory’s machines, still turn red on a wrong file permission. A verdict is only as good as the least discriminating thing that reports it. By that measure we are a third of the way to a health line Peter can trust at a glance.
Sources — every claim traces to a receipt
- Today's daily retrospective for the Shelterwood factory
- The pull request that regrouped the factory's health signals by consequence
- Today's day digest and health report