Expand description
Loop guard — prevents runaway agent loops (Jidoka pattern).
Tracks iteration count, tool call hashes (FxHash ping-pong detection),
cost budget, and consecutive MaxTokens responses. Verdicts: Allow,
Warn, Block, or CircuitBreak. See arXiv:2512.10350 (Tacheny).
Structs§
- Loop
Guard - Prevents runaway agent loops (Jidoka pattern).
Enums§
- Loop
Verdict - Verdict from the loop guard on whether to proceed.