Capture a lesson from the current session into permanent memory.
Trigger
Use when the user says "remember this", "add to rules", "don't do that again", or after a mistake is identified.
Workflow
- Identify the lesson — what mistake was made? What should happen instead?
- Format the rule with full context.
- Propose the addition and wait for user approval.
- After approval, persist to LEARNED section or project memory.
[LEARN] Category: One-line rule
Mistake: What went wrong
Correction: How it was fixed
Categories
| Category | Examples |
|---|
| Navigation | File paths, finding code, wrong file edited |