Reliability

/

Failures are data: reading your run log like a log, not a graveyard

5 min read

woman wearing red long-sleeved shirt beside wall

Mara Chen

When a workflow starts failing, most teams do the same thing. They open the log, scan for the red, assume the model broke, and retry with a vague "make it more reliable" prompt change. Then they close the log feeling like they did something.


You didn't. You just got told the same thing twice.


A run log is the only honest record your system produces. Every failed run is a documented answer to the question "what couldn't your system handle?" Skipping it because it reads like a graveyard misses the entire point. It's a record, not a burial.


Here's how to actually read one.


Stop reading the errors, start reading the pattern


One failed run tells you almost nothing. Ten failed runs that fail the same way tell you exactly where the system is weak.


So before you touch anything, count. What step fails most? What input does it fail on? What time of day? What tool is involved? If the same step fails twenty times across two weeks, you don't have an AI problem. You have an integration problem, or a permission problem, or an input problem wearing a costume.


The failure isn't the story. The repetition is.


Three things the log is quietly telling you


A step that fails instantly is usually not a model failure. It's a missing field, a dead credential, a schema mismatch, a tool that moved. The log's first retry line is the giveaway. A model failure takes time. An integration failure takes almost none. Fast failure means the chain broke before the reasoning even started. Look at the tools, not the prompt.


A step that fails at the same input most of the time is choking on structure. Same supplier every time? Same field value? The agent handled fifty rows and died on the one with a null in it. That's not reliability. That's a shape problem. Add a guard at the start that normalizes the input, and the step will stop failing at the thing it always failed at.


A step that succeeds but slows down weekly is failing in a different costume. Latency creep is a reliability problem. The log shows it in the timing column long before anyone notices it in the morning summary. If step three took four seconds in January and twelve in June, the system is working. It's just dying slowly.


The fix order nobody follows


You'll be tempted to fix the model first. Don't.


Fix the integration failures first. They're the cheapest and they cause the ones that look like model failures. A permission renewed here fixes four "model errors" downstream.


Then fix the input shape. Normalize at the trigger, and half the per-input failures disappear without touching the model at all.


Then, and only then, look at the reasoning. If the log says the output is structured wrong when the input was right, the model is genuinely the problem and a prompt change is earned. But if you change the prompt before checking the inputs and the tools, you're tuning the wrong instrument.


A log, not a graveyard


The mistake in the title is real. A graveyard is something you visit to remember the dead. A log is something you read to avoid them.


When you read a log for patterns instead of errors, three concrete things change. You stop guessing at fixes and start diagnosing. You stop blaming the model for problems the tools caused. And you start building the guards the failures are pointing at, instead of retrying the same fragile step until you're numb.


Your system will never stop failing. That's fine. The goal is to never be surprised by its failure again. The log is how you get there. It tells you what's coming next if you read it like it's trying to tell you something.


It is.



Previous

Next

Agent notes, once a week. No noise.

One email a week. What we're seeing in real agent setups, what worked, what didn't. Unsubscribe anytime.

Create a free website with Framer, the website builder loved by startups, designers and agencies.