Claude fails simple scoped UI change after 10+ attempts, wastes entire token budget
Resolved 💬 3 comments Opened Apr 20, 2026 by econdori Closed Apr 23, 2026
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude modified files I didn't ask it to modify
What You Asked Claude to Do
Remove the yellow-highlighted dropdown selects from 3 specific rows
in the "Revisión Analista Legal" column of the ACTA tab
(ActaProspectoForm.tsx). Screenshot provided marking exact rows.
What Claude Actually Did
- Made 8+ failed attempts with wrong approaches
- Used col_c_has_fill detection — didn't work
- Used !row.col_c condition — didn't work
- Used regex ^1\.\d — removed wrong rows
- Used !row.col_e — didn't work
- Used regex ^Revisar — appeared correct but frontend
wasn't serving updated code
- Restarted frontend server — broke the app (CSS lost,
page shows unstyled "Cargando...")
- Consumed entire weekly token budget on a 1-line change
Expected Behavior
Make the targeted 1-line change, verify it compiled, confirm
with user. Maximum 2-3 attempts.
Files Affected
Modified (without resolving):
- frontend/components/ActaProspectoForm.tsx (multiple times)
- backend/app/api/routes_forms.py
- frontend/types.ts
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Yes, every time with the same prompt
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
Impact
Critical - Data loss or corrupted project
Claude Code Version
claude code
Platform
Anthropic API
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗