log_mistake_autopsy
Record coding mistakes and their fixes into agent memory to prevent repeating the same error. Define root cause and prevention rule to automatically avoid future occurrences.
Instructions
Logs a bug, mistake, or trap encountered in code (and how it was fixed) into agent memory so the agent never repeats the same mistake.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_cause | No | Root cause of the mistake | |
| mistake_summary | Yes | Summary of the mistake or trap encountered | |
| prevention_rule | Yes | Rule or check to run in the future to prevent recurrence |