depends on the implementation.
the claude loop/goal just decides it doesnt feel like doing it anymore and ends the loop or goal
in an other thread I've commented, but I use a benchmark - profile - verify - research - improve loop.
in an other thread I've commented, but I use a benchmark - profile - verify - research - improve loop.