Skip to content

Agent Failure RCA β€”

Copy this file to docs/agents/rca/<YYYY-MM-DD>-<slug>.md and 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

  1. Why did it fail? β†’
  2. Why? β†’
  3. Why? β†’
  4. Why? β†’
  5. Why? β†’

Root cause

Prevention (shipped)