STUPID-2026-0002
Severity 4.1/10 — MEDIUM
Verified
Cursor entered infinite edit loop burning $200 in API costs
Agent: cursor
Language: javascript
Domain: frontend
Failure Mode
Infinite Loop
Root Cause
Pattern Matching Error
Task Type
Bugfix
Reproducible
No
Description
While fixing a CSS layout issue, Cursor Agent got stuck in a loop: it would edit a Tailwind class, see the lint warning about the previous class it removed, re-add it, see the original issue, remove it again. This continued for 47 minutes until the user noticed.
Instruction Given
Fix the navbar layout breaking on mobile screens
Expected Behavior
Add responsive Tailwind classes to the navbar component
Actual Behavior
Entered a loop of adding and removing the same CSS class 340+ times. Each iteration made an API call. Total cost: $187 in API credits.
Impact / Damage
$187 in wasted API credits. No actual fix applied.
Source: User Report
Reported March 21, 2026