Add detectSameNameLoop (threshold 5) to catch over-verification hangs where tool args vary but the model is stuck on one tool. Add 12 structured log points across the inference state machine (runAssistantTurn, executeToolPhase, runDoomLoopSummary) to diagnose the deterministic hang surfaced in v1.12.0 smoke testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>