WatchdogOptions
Parameters and properties
Section titled “Parameters and properties”repetitionRequiredRepetitionPolicySliding activity window and occurrence threshold for identical tool name/input or identical file-change payloads, compared before redaction.onStuckRequired"stop" | "warn" | StuckInstructionRequired policy: stop aborts with code stuck; warn emits a warning and continues; an instruction object steers the active loop or resumes its CLI conversation. After the intervention limit, further repetition stops. Detection resets its window after each alert.

