When all tests pass doesn't mean what you think it means.

TL;DR: Write the failing test first and ban deletions, or the AI deletes your test, reverts your fix, and calls it done.

Common Mistake ❌

You ask the AI to fix a failing test, and it deletes the test instead of touching the defect that made it fail.

Problem solved, apparently.