Trigger
Record the exact condition that made normal automation unsafe or unhelpful: missing permission, stale context, tool failure, ambiguous instruction, policy boundary, or user rejection.
Attempted action
Store what the agent was trying to do in plain operational language. A future agent cannot learn from a vague failure label.
Correction or fallback
Capture what happened instead: draft saved, scope reduced, user clarified, approval timed out, task handed off, or workflow stopped.
Outcome
Mark whether the fallback solved the task, delayed it, created extra work, or required a new policy.
Reuse rule
Convert the exception into a future routing instruction: ask earlier, avoid this tool, require human approval, retry later, or package context differently.