Agent Loop Testing: Measure Progress and Stop Safely

Trace plans, tool actions, observations, state changes, and budgets to spot repeated work and unsafe loop termination.