It remembers the fix, not just the bug
Each learning records the approach, the outcome and why. A failed approach can carry what to do instead.
Recalled learnings are capped at 1,800 characters, the least trusted first dropped, so they never bury the task.