Agent Fix Loop
The agent tries the same fix, or similar fixes, many times.
Symptoms
- The agent tries the same fix, or similar fixes, many times.
- Every fix breaks something else.
Cause
The agent treats the symptom without diagnosing the root cause, usually because of missing information (an incomplete error message, or it cannot see the real output) or because the context is full.
Fix
- Stop it and ask for a summary of what has been tried.
- Ask it to add logs that reveal the actual values without changing the logic.
- Go back to the last good commit (git restore) if the edits have piled up.
- Start a new session with a short summary.
Prevention
- Small steps, with a commit after every successful step.
- Always give the full error message.
