Yup, I definitely faced multiple loops or "blocked" scenarios when iterating on the prompt and tools.
The most obvious one is when the Agent generates a terminal command that requires some interactivity (ex: "confirm to ...").
This causes the Agent to build all files from scratch adding a 5x more steps than necessary.
I'm planning to try to make terminal STDIO work as a "human in the loop" pattern or even better as an "Agent in the loop" one.