Agent Error Attribution
Attribution: YourVisionYourCreation LLC —
yourvisionyourcreation.com
Research anchor (verified): Tomašev, Franklin & Osindero,
Intelligent AI Delegation (Google DeepMind, arXiv:2602.11865,
2026), whose safe-delegation dimensions include accountability and
verifiable task completion. This skill is YVYC-original doctrine:
a five-stage failure taxonomy and attribution walk that
operationalizes accountability across agent stages and delegation
chains.
Doctrine class: Tier 5 — Frontier (YVYC original, anchored in
verified research)
Universal So-What
"The model hallucinated" is agent failure analysis at the level of
"the patient got sick." Agent failures have anatomy: a wrong memory
retrieved, a plan that never matched the goal, a tool called with
mangled parameters, a reflection step that approved garbage. Each
failure class lives at a different stage, is owned by a different
component, and demands a different fix. Attribution is the discipline
of finding the ACTUAL failing stage — because a fix applied to the
wrong stage is a cost paid for a failure kept.
Core Doctrine
1. The Five-Stage Failure Taxonomy
Every agent failure is classified to the stage where it ORIGINATED —
not the stage where it became visible:
| Stage |
Failure Class |
Signature |
| Memory |
Wrong, stale, or missing context retrieved; poisoned or corrupted state |
The inputs to reasoning were bad before reasoning began |
| Reflection |
Self-assessment approved bad work or rejected good work |
The checking layer failed, not the doing layer |
| Planning |
Decomposition wrong, steps misordered, goal misread, constraints dropped |
Every step executed "correctly" toward the wrong plan |
| Action |
Tool misuse, malformed parameters, wrong tool selected, output misparsed |
The plan was sound; the hands fumbled |
| System |
Infrastructure, timeout, rate limit, permission denial, orchestration bug |
No cognitive stage failed; the floor collapsed |
The cardinal analytical rule: failures CASCADE forward. A memory-stage
failure produces planning-stage symptoms and action-stage wreckage.
Attribution walks BACKWARD from the visible failure to the first
stage where things were already wrong — the first-error discipline of
debug-evidence-protocol, applied to cognition.
2. The Attribution Walk
For every failure, in order:
- Capture the wreckage: the visible failure, exactly — output,
action, or omission
- Reconstruct the trajectory: the full path — what was retrieved,
what was planned, what was executed, what was checked — from logs
and traces, not from the agent's own summary of itself
- Walk backward: at each stage, was this stage's OUTPUT correct
given its INPUT? The first stage whose output was wrong given
correct input is the origin.
- Classify: assign the taxonomy class at the origin stage
- Verify: the classification must predict — fixing this stage
should prevent this failure; if a replay with the stage corrected
still fails, the walk missed an earlier origin
3. Attribution Across Delegation Chains
When the failing system is multiple agents:
- The stage taxonomy applies WITHIN each agent; chain attribution
decides BETWEEN agents — which link's defect originated the failure
- Three chain-level verdicts, each landing differently: bad
SPECIFICATION (the delegator asked for the wrong or impossible
thing), bad EXECUTION (the delegatee failed a sound task), bad
DECISION (the delegation itself should never have happened — wrong
delegatee, wrong time, failed gate)
- Responsibility propagates to the origin: a sub-agent executing an
impossible specification perfectly is not the failure; the
specification is (extending accountability-chain, Tier 3)
4. Blameless Toward Agents, Accountable Toward Design
- The attribution's product is a DESIGN verdict, not a culprit: the
failing stage indicates which component, prompt, tool schema,
memory system, or gate needs the fix
- "The model is bad" is banned as a terminal diagnosis — if the
model underperforms at a stage, the finding is what scaffolding,
verification, or task-shaping that stage needs, or evidence the
task exceeds current capability and needs human retention
- Failure data aggregates without shame: an error ledger by stage
and class, because the PATTERN across twenty failures is worth
more than the autopsy of one
5. The Telemetry Prerequisite
Attribution is only as good as the trajectory record:
- Each stage logs its inputs and outputs at a fidelity that permits
the backward walk — an agent system that logs only final outputs
has pre-decided that every failure will be attributed to nothing
- The agent's self-narrative ("I checked the data and it looked
fine") is testimony, not telemetry — useful as a pointer, never
as evidence
- Telemetry gaps found during an attribution walk are themselves
findings: the next incident should never hit the same blind spot
6. The Fix Lands at the Stage
- Memory-stage origins get memory fixes: retrieval quality,
staleness checks, poisoning defense — not prompt tweaks
- Planning origins get planning fixes: decomposition scaffolds,
constraint pinning, goal restatement — not tool schema changes
- Reflection origins get reflection fixes: independent verification,
adversarial checks — not more of the self-review that already
failed
- The anti-pattern with a name: PATCHING THE SYMPTOM STAGE — adding
action-stage guardrails for a planning-stage disease produces
agents that execute wrong plans more carefully
Common Failure Modes
| Failure |
Cause |
Correction |
| "The model hallucinated" closes every incident |
Non-diagnosis accepted |
Five-stage classification, origin required |
| Same failure returns in new costume |
Symptom stage patched |
The fix lands at the origin stage |
| Last agent in the chain always blamed |
Visible ≠ origin |
Backward walk; chain verdicts at the right link |
| Attribution impossible after incidents |
Output-only logging |
Stage-level telemetry as a prerequisite |
| Agent's self-report drives the analysis |
Testimony treated as telemetry |
Logs and traces only; narrative as pointer |
| Twenty failures, no pattern seen |
Autopsies without a ledger |
Error ledger by stage and class, reviewed on cadence |
Non-Negotiables
- Every failure is attributed to its ORIGIN stage, not its visible
stage.
- "The model hallucinated" is never a terminal diagnosis.
- Chain failures land on the defective link — specification,
execution, or decision.
- The agent's self-narrative is never evidence.
- Fixes land at the origin stage or they are symptom patches.
- Telemetry gaps discovered in one incident are closed before the
next.
Built by YourVisionYourCreation LLC — yourvisionyourcreation.com
Research foundation credited above. Licensed under CC BY 4.0
1---2name: agent-error-attribution3description: Activate whenever a multi-agent system or single complex agent fails and the question is WHERE and WHY — post-incident analysis of agent failures, debugging multi-step agent pipelines, "the agent did something wrong but I don't know which part broke," designing error taxonomies or failure telemetry for agent systems, or distributing responsibility for a failure across a delegation chain. Fire because the default failure analysis in agent systems is "the model hallucinated" — a non-diagnosis that blames the last visible step and fixes nothing, guaranteeing the failure returns wearing a different output.4license: CC BY 4.05---67# Agent Error Attribution89**Attribution:** YourVisionYourCreation LLC —10yourvisionyourcreation.com11**Research anchor (verified):** Tomašev, Franklin & Osindero,12*Intelligent AI Delegation* (Google DeepMind, arXiv:2602.11865,132026), whose safe-delegation dimensions include accountability and14verifiable task completion. This skill is YVYC-original doctrine:15a five-stage failure taxonomy and attribution walk that16operationalizes accountability across agent stages and delegation17chains.18**Doctrine class:** Tier 5 — Frontier (YVYC original, anchored in19verified research)2021---2223## Universal So-What2425"The model hallucinated" is agent failure analysis at the level of26"the patient got sick." Agent failures have anatomy: a wrong memory27retrieved, a plan that never matched the goal, a tool called with28mangled parameters, a reflection step that approved garbage. Each29failure class lives at a different stage, is owned by a different30component, and demands a different fix. Attribution is the discipline31of finding the ACTUAL failing stage — because a fix applied to the32wrong stage is a cost paid for a failure kept.3334---3536## Core Doctrine3738### 1. The Five-Stage Failure Taxonomy3940Every agent failure is classified to the stage where it ORIGINATED —41not the stage where it became visible:4243| Stage | Failure Class | Signature |44|---|---|---|45| **Memory** | Wrong, stale, or missing context retrieved; poisoned or corrupted state | The inputs to reasoning were bad before reasoning began |46| **Reflection** | Self-assessment approved bad work or rejected good work | The checking layer failed, not the doing layer |47| **Planning** | Decomposition wrong, steps misordered, goal misread, constraints dropped | Every step executed "correctly" toward the wrong plan |48| **Action** | Tool misuse, malformed parameters, wrong tool selected, output misparsed | The plan was sound; the hands fumbled |49| **System** | Infrastructure, timeout, rate limit, permission denial, orchestration bug | No cognitive stage failed; the floor collapsed |5051The cardinal analytical rule: failures CASCADE forward. A memory-stage52failure produces planning-stage symptoms and action-stage wreckage.53Attribution walks BACKWARD from the visible failure to the first54stage where things were already wrong — the first-error discipline of55debug-evidence-protocol, applied to cognition.5657### 2. The Attribution Walk5859For every failure, in order:60611. **Capture the wreckage:** the visible failure, exactly — output,62 action, or omission632. **Reconstruct the trajectory:** the full path — what was retrieved,64 what was planned, what was executed, what was checked — from logs65 and traces, not from the agent's own summary of itself663. **Walk backward:** at each stage, was this stage's OUTPUT correct67 given its INPUT? The first stage whose output was wrong given68 correct input is the origin.694. **Classify:** assign the taxonomy class at the origin stage705. **Verify:** the classification must predict — fixing this stage71 should prevent this failure; if a replay with the stage corrected72 still fails, the walk missed an earlier origin7374### 3. Attribution Across Delegation Chains7576When the failing system is multiple agents:7778- The stage taxonomy applies WITHIN each agent; chain attribution79 decides BETWEEN agents — which link's defect originated the failure80- Three chain-level verdicts, each landing differently: bad81 SPECIFICATION (the delegator asked for the wrong or impossible82 thing), bad EXECUTION (the delegatee failed a sound task), bad83 DECISION (the delegation itself should never have happened — wrong84 delegatee, wrong time, failed gate)85- Responsibility propagates to the origin: a sub-agent executing an86 impossible specification perfectly is not the failure; the87 specification is (extending accountability-chain, Tier 3)8889### 4. Blameless Toward Agents, Accountable Toward Design9091- The attribution's product is a DESIGN verdict, not a culprit: the92 failing stage indicates which component, prompt, tool schema,93 memory system, or gate needs the fix94- "The model is bad" is banned as a terminal diagnosis — if the95 model underperforms at a stage, the finding is what scaffolding,96 verification, or task-shaping that stage needs, or evidence the97 task exceeds current capability and needs human retention98- Failure data aggregates without shame: an error ledger by stage99 and class, because the PATTERN across twenty failures is worth100 more than the autopsy of one101102### 5. The Telemetry Prerequisite103104Attribution is only as good as the trajectory record:105106- Each stage logs its inputs and outputs at a fidelity that permits107 the backward walk — an agent system that logs only final outputs108 has pre-decided that every failure will be attributed to nothing109- The agent's self-narrative ("I checked the data and it looked110 fine") is testimony, not telemetry — useful as a pointer, never111 as evidence112- Telemetry gaps found during an attribution walk are themselves113 findings: the next incident should never hit the same blind spot114115### 6. The Fix Lands at the Stage116117- Memory-stage origins get memory fixes: retrieval quality,118 staleness checks, poisoning defense — not prompt tweaks119- Planning origins get planning fixes: decomposition scaffolds,120 constraint pinning, goal restatement — not tool schema changes121- Reflection origins get reflection fixes: independent verification,122 adversarial checks — not more of the self-review that already123 failed124- The anti-pattern with a name: PATCHING THE SYMPTOM STAGE — adding125 action-stage guardrails for a planning-stage disease produces126 agents that execute wrong plans more carefully127128---129130## Common Failure Modes131132| Failure | Cause | Correction |133|---|---|---|134| "The model hallucinated" closes every incident | Non-diagnosis accepted | Five-stage classification, origin required |135| Same failure returns in new costume | Symptom stage patched | The fix lands at the origin stage |136| Last agent in the chain always blamed | Visible ≠ origin | Backward walk; chain verdicts at the right link |137| Attribution impossible after incidents | Output-only logging | Stage-level telemetry as a prerequisite |138| Agent's self-report drives the analysis | Testimony treated as telemetry | Logs and traces only; narrative as pointer |139| Twenty failures, no pattern seen | Autopsies without a ledger | Error ledger by stage and class, reviewed on cadence |140141---142143## Non-Negotiables1441451. Every failure is attributed to its ORIGIN stage, not its visible146 stage.1472. "The model hallucinated" is never a terminal diagnosis.1483. Chain failures land on the defective link — specification,149 execution, or decision.1504. The agent's self-narrative is never evidence.1515. Fixes land at the origin stage or they are symptom patches.1526. Telemetry gaps discovered in one incident are closed before the153 next.154155---156157*Built by YourVisionYourCreation LLC — yourvisionyourcreation.com*158*Research foundation credited above. Licensed under CC BY 4.0*