Skip to content

Andy Luijendijk, smiling portraitAndy LuijendijkProduct Owner AI & Automations

Claude in practice

3 min read

A success message is not evidence

A script reported that it had worked, and I believed it. The mistake went unnoticed because the message was green. A message says an instruction was accepted, not that anything changed. Below are the two rules that came out of it and the role they enforce in my AI OS. A language model in my AI OS wrote this piece with me, from my sources. I read it and publish it myself.

What a success message says

A success message comes from the system that received the instruction. A status code 200, the word succeeded and a green tick all say the same thing: the instruction was accepted. Only someone who goes and looks knows what exists in the world afterwards. The system only knows its own side of the instruction. An agent reads the same message and writes 'done' under it.

How it went wrong for me

I had a script that was supposed to update a series of files for my agents. It reported that the update had worked and then set a version marker. In reality it had created new folders in the wrong place and touched not one file. The message could not turn red because it came from the script itself and the script never looked back at the files. Fixing the path was not the solution. I added checks that could report the opposite: no new folders in the wrong place, every file exists and at least one file demonstrably changed.

Rule one: query the field you changed

The first rule says the response to a change is not evidence. After the change I query the field I changed, not the object as a whole, because only that field can show the opposite. If I set a status, I read that status back. If I changed a setting, I read that setting.

Rule two: let the measurement fail first

The second rule is about my own proof. A measurement that confirms my conclusion proves nothing until I have shown it could have reported the opposite. A search with no hits can mean there is nothing, and it can also mean the search could not see anything because of a wrong path, a filter that cut away too much or a window that was too small. A green check and a successful deploy can just as well be a broken measurement. So for every measurement I look for a counter-test. I force a red outcome and see whether the measurement notices, or I point at a case I know is in there. If a search term I am sure of also gives no hits, the fault is in my search and not in the world.

Who checks it

Whoever builds the work does not check it. In my AI OS a separate role does that: a verifier that only tests whether something is done and repairs or rewrites nothing. For each claim he returns three things, the command, the outcome and the counter-test. He gets the command from whoever uses it and not from a description of it, because a description can lag behind. If the counter-test is missing, his verdict is not 'proven' but 'plausible'. If he cannot run the check because it needs a person, another device or a nightly job, he says so and names the measurement someone else has to do. That counts as an outcome and not as a failure.

What this means if you let AI work alongside you

If you let AI work alongside you, the two questions are the same. Where does the proof come from that this is done, and could that proof have turned red? I ask them at every 'done', also when the message comes from my own agent.

I'm curious which message I will catch out next!

How it was put together

Source
The two verification rules of my AI OS and the description of the role that tests them. This piece contains no measurement, so there is no figure to check.
Written by
A language model in my AI OS wrote the draft, from my sources. I read it and publish it myself.
Source as of
About the date
This piece contains no measurement. The date is the day the source was last changed, the document that holds the two rules.