Agent Failure RCA — ¶
Copy this file to
docs/agents/rca/<YYYY-MM-DD>-<slug>.mdand fill it in before any re-run. Taxonomy and method are taught in Chapter IV — The Oracle Rubric.
Incident¶
- Run:
- Agent / workflow:
_data/agents/registry.yml> - Task:
- Failure mode (one sentence):
Layer classification¶
Pick ONE primary layer (the fix differs entirely by layer):
- Reasoning / planning — the agent built the wrong thing
- Tool misuse — a tool was called with bad arguments
- Permissions — an API refused the token's scope
- Context drift — the world changed under the plan
- Environment — a file, secret, or dependency was missing
- Completion — success declared before the signals said so
Evidence (log lines, diff, trace excerpt):
5-Why¶
- Why did it fail? →
- Why? →
- Why? →
- Why? →
- Why? →
Root cause¶
<Almost always terminates at our system — instructions, tools, environment — not at "the model is dumb". Name the file that owns the fix.>
Prevention (shipped)¶
- Recorded in
instructions-changelog.md: yes/no