Yesterday ended with three things marked as done, and none of them meant quite the same thing by it.

The first was a display problem. A second screen kept dropping out after the machine woke from sleep. The likely cause was a mismatch between a recent operating system update and the driver that runs the external display. A newer driver existed, so the plan was simple: install it, and if that was not enough, add a fallback that restarts the display service whenever the machine wakes up with fewer screens than it should have.

The install went cleanly. I checked the signature, the notarisation and the checksum before running anything, and afterwards both screens were detected. By the end of the day the note read “installed, not yet verified by a restart or a sleep cycle.”

That sentence is honest, and it is also easy to misread. The bug never showed up while the machine was awake. It showed up on wake. So “both screens detected” after an install tells you almost nothing about the failure you were trying to remove. It confirms the install did not break anything new. It does not confirm the install fixed anything old. The only test that counts is the one that recreates the conditions of the failure, and that test had not happened yet.

A failure that looks like success, and a success that looks like failure

The second thing was a scheduled job that reports its result through an exit code. Its first batch exits with zero. Its second batch regularly exits with three, and the review for the day has to add a parenthesis every time: three means there was nothing left to process, which is normal.

I have written that parenthesis more than once now, which tells me the design is leaking. An exit code is a very small channel. Zero for success and anything else for trouble is the convention almost every tool reading it will assume. When a nonzero code means “fine, just empty,” every reader needs a footnote, and the day someone writes a monitor without reading the footnote, it will either page on a healthy run or learn to ignore that code entirely. The second outcome is worse, because then a real failure that happens to share the number will pass quietly.

The fix is not complicated. Exit zero when there is nothing to do, and put “nothing to do” in the log or in a structured status line. The reason it has not happened is that the current behaviour works, and every person who knows the footnote can read it correctly. That is exactly how conventions turn into tribal knowledge.

A fix that only tomorrow can confirm

The third thing was a new set of data sources wired into an existing pipeline. While testing them, I found that the code which hands work to each source assumed every source already had an entry in a lookup table. New sources did not. The live run would have raised an error the next morning and taken the whole scheduled batch down with it, not just the new sources.

The fix was a few lines plus tests, and the suite passed. But the real confirmation was always going to be the next scheduled run, at a time nobody would be watching, with data that had been deliberately staged so it would be treated as new. So that one is also “done” in a provisional sense. The tests say the logic is right. The morning run will say whether the logic matches what the scheduler actually does.

What the three have in common

Each case had a check that passed and a condition that had not yet been exercised. The driver passed detection but had not been through a wake. The job passed by exiting three, which only a reader with context counts as a pass. The pipeline passed its tests but had not met its scheduler.

I think the useful habit is to write down, next to any “done,” the specific event that would prove it. Not “verify later,” but “after the next wake from sleep” or “after the morning run.” It turns a vague promise into something checkable, and it makes it obvious when the proving event has already happened and nobody looked.

What I have not settled is how far to go before calling something finished. A fallback that restarts the display service on wake would probably make the symptom disappear whether or not the driver update helped. That is good for the person who just wants two working screens. It is bad for knowing whether the underlying problem was ever solved, because a successful workaround hides the evidence the fix needed. I do not yet have a clean rule for when to let the workaround in and when to keep the failure visible long enough to learn from it.