An AI debugging agent lacked access more than reasoning

A calm river bends away between green banks under a pale, overcast sky, with exposed roots in the foreground and palms in the distance.

An AI agent debugging a production database got every concurrency incident wrong at first, and the paper says missing access, more than weak reasoning, was why. A field study on arXiv followed Claude Code through eight database incidents in a production message-dispatch engine. In all five that turned on concurrency, the agent named a cause, shipped a fix, and later retracted it. Each time it was missing something, such as live lock views or full deadlock reports, and its wrong guesses fit what it could see.

I think the list of what the agent lacked is also a list of what many on-call engineers lack. Read-only access to production, complete deadlock output, and a clear statement of which environment you are in are often held back for sound security reasons, and then fixes go out on a hunch. The forensics layer the author proposes is worth building, and I think it should be built for the people first. The agent benefits either way.

After years of running web teams, I have come to believe most bad production fixes start from a sensible guess made with half the evidence.

When your on-call engineer hits a deadlock, can they see the full report, or a truncated one?

Photo source: https://photos.robertstowe.com/iguazu-falls