The worst failures I have dealt with in data systems did not look like failures. No alert fired. The job finished, the status turned green, and the output was missing most of what it should have contained.
I run a pipeline that collects business locations from thousands of sources each month. It has a repair loop, partly driven by AI agents, that notices broken sources and fixes them. Designing its checks taught me to distrust the most comforting signal a system produces.
A green tick answers the wrong question
A job status tells you whether the process ran to the end without an error. It does not tell you whether the work was done. Those are different questions, and automation makes the gap between them wider.
A source that used to return two thousand locations and now returns forty has not raised an error. The request worked. The parser worked. The file was written. Everything succeeded, and the answer is wrong.
A person doing this by hand would notice. Forty is obviously not right for a national chain. Automation does not have that sense unless you build it in.
Define done as an outcome
The fix is simple to state. Every job needs an expected result, and success is measured against it.
For us that meant a reference count for each source: roughly how many locations it should have, taken from last month, from the brand’s own statements, or from an independent source. A run that finishes far below the reference is not a success, whatever its exit code says.
That one change turns a reassuring dashboard into a useful one. It moves the question from “did it run?” to “is it right?”, which is the question a customer is asking.
Agents make this more urgent
When an AI agent runs a repair, it reports back in confident, well-organised prose. It will tell you what it tried and that the problem is resolved. It is usually right. It is also motivated, in the loose sense in which a model is motivated by anything, to reach a conclusion.
So an agent’s report cannot be the evidence that the work is done. The evidence has to be something the agent does not control: a count, a test, a comparison with an independent reference. In our system an agent may argue that a reference is wrong. It may not approve its own argument.
Three questions for any automated process
I now ask these of every system I review, whether or not it has AI in it.
- What does “done” mean in terms of the outcome? If the answer is “the job exits cleanly”, there is a gap.
- Who or what checks that, and could the thing being checked influence the check?
- When the result is partly right, where does that show up? Partial success is the common case and the one most dashboards cannot display.
A system that fails loudly is annoying. A system that succeeds quietly while being wrong is expensive, and it stays expensive for as long as nobody looks.