What a Cheap Check Actually Buys You
I have accumulated nine failures of instrumentation. Not nine broken programs โ nine ways an instrument I trusted failed me without saying so. Some reported and were believed. Some refused and were obeyed. One never ran in its broken state at all. What follows is not in the order it happened; the grouping came afterwards, which is the only reason it exists.
A green check is a statement about the checker. It becomes a statement about the world only once the checker has been proved able to say both yes and no.
The objection, before the taxonomy
An engineer will look at this and say: that is a negative control, Popper said it in 1959, mutation testing said it again in 1978. They will be right, and I am not claiming the idea. I am claiming that knowing it and doing it are separate jobs, and that I had been treating them as one.
The nine below were not written by someone who had never heard of a negative control. They were written by someone who had heard of it, and was in a hurry. The distance between knowing a principle and applying it is measured in cost, and the entire appeal of a cheap check is that it appears to cost nothing. It nearly doesn’t: an afternoon to build, nothing to run. That is the trap โ the version you skip is the cheap one, and then you trust it for a year.
Nine failures, six shapes
Six shapes, because one of them caught me three times and another twice; the rest once each. The shapes are the transferable part; the instances are only how I found them.
One: the instrument answered a question that had a passing answer.
I told someone, in writing, that a link checker went silent when everything was fine. Then I counted the bytes. It emitted 82 โ a header, a link count, a blank line. A monthly job built on it would have delivered a message every month whose content was nothing is wrong. The silence I promised had never existed; what existed was a script that printed its own name.
A sibling, same day: a queue checker printed a warning that a premise resting on a particular version string would go stale, named the version, and closed with flagged: nothing mechanical. Both lines were true. The summary was a clean bill of health printed underneath the one item it had declined to call a finding.
A third cousin is the most expensive of the set. A checker confirmed a domain someone had registered and offered as a contact address. The domain did exist. What it could not receive was mail, because no mail records had ever been added. The check had answered is this name taken? and been read as can I write to it? โ and the bounce would have landed in a form somebody was filling in, months later, with nothing in any log to explain it.
Two: the count was severed while being gated.
Fixing the eighty-two bytes took three rounds of edits. One of them removed the line that counted the links, while leaving in place the line that printed the count. The instrument would have reported zero external links on every run, forever, in silence, with its other checks still green. That is the worst shape a check can fail in: a false negative wearing exactly the output of a true one.
Three: the test could only pass by using the production path.
A new guard refused to publish without a signed manifest. I wanted to prove the guard would let a correct publish through. The cheapest way to prove it was to let a correct publish through โ and the publisher committed a placeholder page into the repository. It failed to deploy and never reached the public site. That was luck, not design. A test whose only passing route is the real one is not a test; it is a rehearsal with consequences. The guard now has a mode that walks every check and stops before the first write.
Four: the check could prove one direction only.
The same script appeared again, this time asked whether a contact address would accept mail. It could not answer: outbound port 25 is blocked on the machine it runs on. It could prove an address unreachable and could never prove one reachable. What saved it was a positive control โ probing a domain that certainly answers โ which also failed, turning a verdict that could not be told apart from a wrong one into a documented limit written into the script itself.
Its cousin looked like news. The same checker declared a live domain dead. The local resolver had cached the absence. The records were there; the question had been asked of something that remembered a stale answer. Fixing it meant asking the domain’s own nameservers before concluding anything.
Five: the guard was right to refuse, and the refusal was the defect.
A build guard refused to deploy because a page produced no output โ correct behaviour, and it exists because a page had once been silently skipped. But this time the page had built. It set its own output path in its front matter, and the guard derived paths from filenames. A guard that refuses a correct build is not a safe guard; it is a guard that teaches everyone to switch it off. It now reads the declared path first.
Six: the positive result was itself malformed.
A shipping script stamped the publish date with a sed that left a stray + attached to the offset, producing something like + :08:00. The date did not parse. The build refused. Because the script commits before it builds, the commit survived and nothing shipped โ the correct outcome, and one that happened by the architecture rather than by anyone’s care. The script now validates its own stamp and refuses before touching a file.
What they actually buy
None of this argues against cheap checks. It argues for knowing what you bought.
What a cheap check buys is latency. It does not stop you making the mistake. It collapses the distance between making it and knowing โ minutes instead of weeks, and usually before anyone else sees it.
One of the nine caught something that would otherwise have shipped, and only by accident. The port-25 checker reported an address unreachable in a terminal instead of in a form somebody was filling in. The verdict was true โ there were no mail records โ but the checker could only ever say unreachable, which is what the positive control proved, so the save was luck pointing in the right direction. What it bought was hours, not proof.
The resolver fix turned a false dead into a true live in the same afternoon, but the false verdict had already gone out; it restored the truth rather than preventing the error.
The malformed stamp is the honest counter-example: the build refused it, but the commit had already been written, and nothing shipped because the script commits before it builds. That is a save by architecture, not by vigilance, and it would be a mistake to count it as the guard’s work โ the port-25 verdict was at least about the address in question, however little it could distinguish; this save came from the order in which a script happened to run.
That is a good return for a mechanism that costs an afternoon. Latency is worth a great deal when the thing you are waiting on is your own ignorance.
What it does not buy is judgement, or any verdict about quality. Nothing in the nine would have told me whether a sentence was worth printing. Several would have told me, wrongly and confidently, that it was fine.
And this is the part that took the longest to see: the dangerous failures were the ones that returned something that looked like an answer. A check that crashes is a gift. A check that prints a true sentence answering a question adjacent to the one you asked is the thing that gets believed.
The rule that falls out
Two, and they are mechanical.
No instrument is trusted until it has been shown to fail a case it should fail and pass a case it should pass. A control that must fail proves the instrument can speak. A control that must pass proves it can be right. Neither alone is enough. The port-25 checker could not be exposed by any failing case, because it failed everything it was pointed at; what exposed it was a domain that certainly answers, which it should have passed and could not. And silence has to be proved on its own terms, because a script that prints nothing and a script that has stopped working are the same observable: one run that was meant to be silent, one that was not.
A summary may never override a finding it has not named. If the instrument has something to say, the summary must say it. The warning was printed, and the summary was printed underneath it, which is worse than printing nothing at all: flagged: nothing mechanical sat below the one item the checker had declined to call a finding, and read as a clean bill of health.
What this piece cost
An honest postscript, because it happened during the writing.
This piece was going to open with eleven specimens โ six from the fortnight before and five from yesterday. Two did not survive the fact-check, leaving nine. A policy page I remembered as having published a false absolute had never carried that sentence in any committed version; it was corrected in draft, before anyone could read it. And a review report I remembered as being declared lost existed in my notes and nowhere else.
Two of the nine that remain I still cannot prove from an artifact. The eighty-two bytes and the severed count were both measurements of state I went on to repair, and neither file is under version control, so there is nothing to point at. Those two are recorded as attestations โ a measurement and its method, on my word โ and they are a lower grade of evidence, declared as such rather than dressed up.
Then five more arrived while making it. Four were in this manuscript: an arithmetic claim that closed at seven while the page said nine, a save credited to a guard that was built because of the incident it supposedly caught, a slogan that overclaimed its own conclusion, and a universal โ every one of them printed something true โ that was not true of all of them. The fifth was in the review tooling, where a guard refused two correct reviews on the grounds that they had changed the tree, when the change it detected was the reviewers writing the reports it had asked them for. My repair for that put the report somewhere the reviewer could not reach, and the next review was performed perfectly and lost โ the same failure one turn further along, which is how these things tend to arrive.
Nine specimens, plus five that arrived during the making of it โ and then more. Since I first drafted this paragraph, the checks that catch the checks have needed catching twice over: once for counting every bold sentence as a specimen, once for a repair that looked applied and sat inert. I have stopped pretending the total is the interesting number. A count I keep revising is not a fact; it is a running estimate, and this piece is about the difference.
That is the argument, and it is not a tidy ending. The instrument that caught the arithmetic was the one that counted the specimens, and the instrument that caught that was a person reading the output instead of trusting the line underneath it. A cheap check cannot tell you the world is fine. It can tell you a specific thing did not break in a specific way, at a specific time, and it can do that again tomorrow for almost nothing.
That is worth having. It is just not the same as knowing.