Skip to content

7.3 Debugging and Operational Resolution: Evidence Before Change

An operational incident is an event in which a production agent behaves in a way that nobody expected. To resolve an incident is a team skill. That skill covers who can see the evidence, what the first move is, and what the team keeps after the incident. Containment asks whether harm is ongoing. Diagnosis asks what is wrong. Blast radius is how far the failure reaches outside the team.

This lesson uses one made-up example throughout: an ice cream parlour whose agent writes online cake orders onto the kitchen sheet. Since last week, some orders arrive with the wrong flavour. Staff check the sheet before they make anything, so the errors stay internal and reversible. That week the parlour also loaded a summer menu and updated its till connector.

When a production agent begins to behave unexpectedly, the first move is to read what happened. That means: read the inputs, the retrieved context, the tool calls and what they returned, the outputs, and the versions in use.

The tempting first move is to edit the agent’s instructions. That move is wrong for three reasons, and the reasons add together. Nothing yet implicates the instructions. The edit changes the system under investigation. Also, the failing runs that would have identified the cause become unreproducible, so the parlour could no longer replay last week’s orders. A fix applied before the failure is understood usually changes something and occasionally fixes something. Such a fix always destroys the evidence.

Containment Is a Different Decision From Diagnosis

Section titled “Containment Is a Different Decision From Diagnosis”

Different facts decide containment and diagnosis. Blast radius decides containment. When an external effect is still accumulating, contain it immediately: money moving, messages sent, records altered outside the team’s control. Revert to the last known-good version, disable the capability, or make the action wait for an approval. Then diagnose in calm conditions.

When a drop in quality is internal and reversible, it is more useful to keep it as evidence than to restore the system. The parlour’s wrong flavours are this kind of drop. If the agent charged cards twice, the owner would contain first.

Containment is not a diagnosis either. A reverted system no longer shows the symptom, but nobody understands the cause. Containment that reverts everything at once also loses attribution, because when several changes are reverted together, nobody learns which one was responsible.

Change History Narrows the Search Before Any Trace Opens

Section titled “Change History Narrows the Search Before Any Trace Opens”

A change causes most operational incidents. So the fastest question is: what changed, and when did the symptom start? Instruction versions, model versions, corpus refreshes, configuration changes, and dependency and connector updates all need a version and a timestamp. When you correlate the start of the symptom against that timeline, you eliminate most of the possible causes without changing the system.

When two changes arrive in the same time window, test them against the evidence one at a time, instead of reverting both. When two variables change together, nobody can say which one caused the symptom. So the parlour tests the summer menu and the till connector separately. This is Domain 4’s one-variable rule. Anthropic’s configuration debugging uses the same method: remove variables until the behaviour changes. Then reintroduce them one at a time.

The Agent Investigates; It Does Not Adjudicate

Section titled “The Agent Investigates; It Does Not Adjudicate”

AI-assisted tooling shortens root-cause work in five ways:

  • reading large volumes of logs and traces
  • reconstructing a timeline
  • correlating a symptom against a deployment
  • reproducing a failing case
  • proposing hypotheses faster than a human lists them

Correlated telemetry makes this possible. It collects everything that a single prompt triggered into one connected record.

The tooling does not decide the answer. When you ask an agent why it behaved unexpectedly, it gives a coherent account of its own reasoning. That account is a hypothesis. It comes from the same context that produced the behaviour. It has no privileged access to the cause. It persuades because it is fluent. If the parlour’s agent blames the new menu, that claim stays unproven until a human confirms it against the trace. Non-determinism makes confirmation harder. One clean re-run does not disprove a hypothesis, and one failing run does not prove it. Confirmation means a pattern across collected cases.

Everything above assumes a capability that somebody designed in advance:

  • traces that exist and are readable
  • a pager-holder (the engineer on call) who can open the traces at 2am without waiting for an approval
  • rollback that is available to more than one named individual
  • a runbook that names the first three moves
  • shared investigation tooling, rather than whatever someone assembles privately

A pager-holder without access to the traces has no first move, and no diagnostic discipline compensates for that. If only the parlour’s owner can open the traces, a 2am failure waits until morning.

Domain 4 diagnoses a product’s quality failures against evals and traces. Where Domain 4 meets this objective, the question asks about the practice and the people, not the classification. Reading the evidence first is most reliably the right answer in the domain. Editing the agent’s instructions is most reliably the tempting wrong answer. The exam tests containment through blast radius, so read the question to learn what the failure is doing outside the team. The option that ships the fix and closes the ticket is the trap for candidates who nearly pass: it stops one step before the end.

An internal reporting agent has started skipping its source-verification step on a minority of nightly runs. The effect is internal and every affected report has been regenerated without loss. Two things were deployed this week: a model version bump and a rewrite of the shared project instructions. Nobody has opened a trace, and asked about a failed run the agent gives a fluent account of why it judged the step unnecessary. The team wants to know today which of this week’s two updates caused the skip, before altering anything. What should the team do first?

  • A. Accept the explanation the agent gives for why it judged the check unnecessary, and adjust the shared instructions to close the gap it describes
  • B. Revert both changes deployed this week at once, restoring the previous behaviour before the next nightly run
  • C. Read the traces for the failing runs and correlate them against the two changes one at a time
  • D. Raise logging verbosity on the agent and wait for the next failing run, so the skip is captured in full
Answer & explanation

Correct: C

  • A — The question excludes this: adjusting the instructions alters the system before anyone knows which update caused the skip. The account is a hypothesis from the same context that produced the behaviour, with no privileged access to the cause.
  • B — The question excludes this: reverting both alters the system and destroys attribution, so nobody can say which update caused the skip. Containment is not warranted either, since the effect is internal and reversible.
  • C — Reads the evidence before touching the system, uses the change history to narrow the search before a trace is even opened, and isolates one variable at a time so the finding is attributable.
  • D — The question excludes this: waiting for the next failing run gives no answer today, and the failing runs the team already holds go unread.