| name | mistake-log |
| description | Log a mistake or failure with context, cause, and lesson. Maintain the unified mistake registry. Track patterns across engines and agents. |
| version | 1.0.0 |
| author | historian |
| tags | ["mistake","error","pattern","learning"] |
| intent | Informed [I18] |
Log a mistake or analyze mistake patterns.
When logging a new mistake:
- Record: WHAT happened, WHO (engine/agent), WHEN, WHY (root cause), IMPACT
- Search existing
engine-mistakes-* and pattern-mistake-* charts for similar issues
- If pattern exists, update it with new occurrence count
- If new pattern, chart as
pattern-mistake-<name> category error
- Link to relevant session journal
When analyzing patterns:
- Search all mistake charts
- Group by: engine, agent, category, frequency
- Identify top recurring issues
- Produce actionable recommendations