B EN Large technology company (G. Pinto)·Other·

Where LLM Agents Get Stuck Debugging Databases: Access More Than Reasoning

B · Useful, limited Single-author arXiv field report from the Federal University of Pará on eight real production incidents, triangulated from transcripts, commits and deploy records; a clear and honest qualitative study, but one system, a participant observer and no controlled comparison.

Summary based on the full text·Original: about 30 minutes to read

In short

A field study of Claude Code diagnosing and fixing eight database incidents in a production engine that dispatches WhatsApp, SMS and e-mail marketing messages at a large, unnamed technology company. In every incident whose cause depended on runtime concurrency, the agent announced a cause, shipped a fix and later walked it back, at the cost of a deploy cycle per wrong guess. The author's reading is that missing access to production state was the main limit, more than reasoning: the agent's wrong hypotheses fit the evidence it could see and were not fabrications.

Key numbers

  • eightdatabase incidents in a production message-dispatch engine over a ten-day window
  • 27Claude Code sessions, about 410 hours of cumulative session time and about 3,000 tool calls
  • about 79%model calls served by an open-weight DeepSeek model, with Claude Opus about 17%
  • twenty-twofix commits shipped across the eight incidents
  • all fiveconcurrency-dependent incidents that began with a false start and had an access gap

As reported by the source.

Read the original on arxiv.org

English·Web page·opens arxiv.org

What it reports

  • The system has sent about 3.3 million messages; its customer base grew from roughly 330,000 to about 587,000 records between July and November.
  • 27 sessions, about 410 hours and about 3,000 tool calls; roughly two thirds of calls were shell commands.
  • Model calls went mostly to an open-weight DeepSeek model (about 79%), which the company encourages for cost, and about 17% to Claude Opus. Hypotheses were not attributed to models.
  • Twenty-two fix commits across eight incidents. All five concurrency-dependent incidents began with a false start; one throughput investigation alone went through six hypotheses.
  • An access gap was present in all five concurrency incidents: alone in one, combined with a reasoning error (anchoring, incomplete configuration search, misread transaction semantics) in four. No incident was limited by reasoning alone. The three non-concurrency incidents needed nothing beyond what the agent had.
  • Missing access included live lock views, untruncated deadlock reports, read-only execution against production and explicit environment context; even getting a lock view cost a deploy.
  • False starts were caught only because a human understood concurrency well enough to judge the hypothesis and demand the right evidence.

How they got it

Retrospective participant observation by an author employed at the company who directed the agent during ordinary work. Evidence triangulates session transcripts (including the agent's reasoning), commit history and deployment and workload records. Each incident was coded on a reasoning-by-access matrix.

Limits

  • One system, one company, one observer who was also the operator.
  • No controlled variation of access or model, and no ground truth on counterfactuals.
  • The model mix means the results say nothing about whether a stronger model would have avoided false starts; the author says a controlled replay could settle it.
  • The company is anonymised, so details cannot be checked externally.

Why it matters for companies

Teams that let coding agents debug production should budget for the access layer, not only for a better model: a safe read-only interrogation API, a lock and deadlock recorder, and a way to replay production behaviour, all inside existing security controls. Until then, each wrong hypothesis costs a full deploy cycle and needs an engineer who can tell when the agent is wrong. The finding also cautions against reading agent errors as hallucination when the agent simply could not see the system state.

Summary based on the full text. Read the original for the full argument and data.Read the original on arxiv.org

Tags

Same week

All of Week 46