Break an AI loop by comparing five refactors
this is the best way to break out of an "ai loop"
when the agent can't fix an issue and you go round in circles, ask it:
- to think of 5 refactors
- evaluate the options
- pick the most reliable option
this just worked first time after fighting gpt-5 and sonnet for 20 minutes!
