repetition_guard

Optional loop brake for identical tool calls repeated in a short window.


What it mitigates


ProfileenabledthresholdcooldownSeconRepeat
localtrue for autonomous runs360deny
standardtrue for long-running bots360deny
unboundedoptional360alert

Minimal config

moduleConfig:
  repetition_guard:
    enabled: true
    threshold: 3
    cooldownSec: 60
    onRepeat: deny

Persistence in subprocess mode

For OpenClaw hooks (new process per tool call), use SQLite storage:

moduleConfig:
  repetition_guard:
    store:
      engine: sqlite
      path: ./.radius/state.db
      required: false

Set required: true only when your runtime guarantees node:sqlite.