dsh-thinking-guard: Pure Thinking Idle Circuit Breaker
2026-10-20
DeepSeek Harness plugin
DeepSeek plugin
DSH intelligent agent
circuit breaker
Think about idle detection
dsh-thinking-guard
The `dsh-thinking-guard` plugin prevents Agents from entering an infinite loop of "thinking only, zero output" through a triple circuit-breaker mechanism (timeout, capacity, and repetition). The plugin monitors the `agent/assistant-stream` event and automatically triggers `agent.cancel` to interrupt tasks when pure thinking occurs, content limits are exceeded, or pattern degradation is detected. It supports custom parameter configuration and environment variable overrides, and related code defects have been fixed.
Read More