[
  {
    "id": "LOOP-001",
    "pattern": "unbounded_tool_call_repetition",
    "target_signal_types": ["unbounded_tool_call_repetition", "post_completion_looping"],
    "detects": "Repeated identical or near-identical tool/API calls beyond a configurable threshold within a rolling window, including calls that continue after the agent's task was already complete.",
    "windowMs": 10000,
    "repetitionThreshold": 8
  },
  {
    "id": "LOOP-002",
    "pattern": "budget_exhaustion",
    "target_signal_types": ["budget_exhaustion"],
    "detects": "API call-rate/cost-rate threshold exceeded for a single agent session, estimated from call volume rather than real per-call cost.",
    "windowMs": 10000,
    "totalActionThreshold": 25
  }
]
