You could do that. I was just trying to say that if you make your original prompt complete enough, and you have well-defined success criteria, you can tell it to keep going until they are met.
> "Fix the following compile errors" -> one shot try and stops.
> "Fix the following compile errors. When done, test your work and continue iterating until build passes without error" -> same cost but it gets the job done.
Agreed - my experience mirrors this.
> "Fix the following compile errors" -> one shot try and stops.
> "Fix the following compile errors. When done, test your work and continue iterating until build passes without error" -> same cost but it gets the job done.