Your agent gets stuck in a reasoning loop in production. How do you diagnose and fix it?

Situational