Instrument exception triggers
Add explicit events for approval timeout, user rejection, unclear instruction, failed browser action, broken asset, stale source, and human escalation. Do not infer every exception from vague failure text.
Attach workflow context
Store the channel, task, tool, approval state, and relevant link or artifact. Exception memory must be usable outside the original conversation.
Write fallback summaries
Record what the agent did after the exception: saved a draft, retried later, downgraded scope, asked the user, or handed the task to a person.
Create review controls
Let users inspect, edit, and delete exception records. Recovery memory can include sensitive workflow context.
Feed routing policy
Use repeated exceptions to adjust prompts, route earlier to humans, change approval timing, or prefer a safer tool path.