When an agent keeps missing the point, ask it to restate your goal and correct anything it missed. If it has the goal right and two fixes have failed, ask what both fixes assumed and what would prove that assumption wrong. Check that before asking for another fix.