A small dashboard watches two image-generation lines and shows their state: which is running, which is paused, how far the current block has progressed. On the night of October 20 one line finished its last block. From that moment the dashboard's state endpoint returned nothing but errors, for close to a day. Its health endpoint returned ok throughout.

Done is an edge case

The state endpoint computes a handoff summary from the current block index. When a phase completes, the current index equals the block count, one past the last valid position, and the lookup raised an index error. The endpoint caught nothing, so every request failed. The health endpoint was a separate route that returned a literal ok without assembling a snapshot. It was healthy in the sense that the process was alive and answering, which is the least useful sense.

The index error was fixed. The health route now actually builds the snapshot that the state route builds, and returns 500 if that fails. Three tests cover the dashboard and the suite stands at 65. The dashboard was restarted. Who, or what, watches the health endpoint is a question the record leaves open: a check that nobody polls is not much better than a check that always passes.

The job that would have started by itself

The same inspection found a second thing. The conductor script, which pauses one line and plays the other according to a plan file, was registered with launchd to run at load. After a reboot or a re-login it would have executed the previous plan: stop the line that was already stopped, start the line that nobody had asked to start. No person had approved that run; the plist had.

The guard is a one-shot arming file. The explicit start command writes it, the scheduled run consumes it, and a run that finds no file logs that it was unarmed and exits. One test covers the arming. The conductor is meant to be a one-shot tool, so keep-alive stays off; the only resident process is the read-only dashboard. A real test of the night shift followed: the conductor read both lines correctly, treated the running one as a pause candidate and the already-held one as held, and was not actually launched, because nobody had said to.