You know this one
The third formatDate()
Your agent cannot see the 400 functions already in the repo. So it writes formatDate() again, in a third file, subtly different. Either you catch it in review, or nobody does — and the two versions drift apart quietly.