DeepSeek Harness Plugin: dsh-circuit-breaker
dsh-circuit-breaker is a Loop Guard plugin for DeepSeek Harness (DSH) designed to prevent agents from getting stuck in infinite loops. It operates outside the model logic and implements two core mechanisms through code-level guards: first, it detects and limits the number of repeated calls to the same tool within a sliding window; second, it enforces a total call limit per agent. When a call is rejected, the plugin returns explanatory text and blocks subsequent identical calls. Installation requires CLI commands, configuration is performed through `cordis.patch.yml`, and version pinning is supported. The plugin is suitable for scenarios that require preventing resource waste and infinite loops, but attention should be paid to its configuration requirements for tools with dynamic parameters.
Read More