Mistake Log: [Title of Bug/Issue]
Problem
Describe the symptom or error message you encountered.
Cause
Explain why the issue occurred (underlying mechanic, code error, or config mismatch).
Solution
Provide the exact fix or corrected code block.
How to Avoid It
What practices, lint rules, tests, or validation checks will prevent this in the future?