Fix the Root Cause, Demand a Diagnosis

Agents tend to patch the visible symptom without pulling the thread to the cause — for recurring, production, or architecture-level issues, require a diagnosis artifact that explains the root cause before any fix is accepted.

What it is

Left to their own momentum, agents fix bugs in isolation: they find the visible symptom, make it go away with the smallest local change, and report success — without ever pulling the thread back to the cause. This is not laziness; it is the default behavior of a system optimizing to make the failing signal stop, and a symptom patch makes the signal stop just as effectively as a real fix, right up until the cause resurfaces somewhere else. The countermeasure is to refuse to accept a fix on the strength of "the symptom is gone" and instead require a diagnosis artifact: an explicit account of why the failure happened — the actual mechanism, not the surface — that precedes and justifies the fix. The diagnosis names the root cause, explains how it produced the observed symptom, identifies what else the same cause could affect, and only then proposes a change addressed to the cause rather than the surface. This discipline is not free, so it is applied where the cost of a recurring symptom is high: issues that recur (the same bug keeps coming back under new disguises), issues found in production (where the blast radius of a misdiagnosis is real users), and issues at the architecture level (where a local patch can entrench a structural flaw). For a one-off cosmetic glitch a direct fix is fine; for a bug that has now appeared three times, demanding the diagnosis is what converts an endless stream of patches into a single durable fix. The artifact also pays forward — a written root-cause diagnosis is exactly the kind of evidence a future agent or human needs to understand why the system behaves as it does.

When to reach for it

When NOT to

Exemplars

Related