dsh-wait-guard: Adding Budgets to Waits, Polls, and No-op Calls
dsh-wait-guard is a DSH workflow plugin (v0.3.2) maintained by Lion-Li-git. It constrains the `job_output wait` budget via before/after hooks on `tools`, intercepts excessively long foreground commands within `run_code`, and trips a circuit breaker on consecutive state probes and no-op `run_code` calls, while surfacing informative messages for deadline and JS parse errors. For no-op loops that ignore rejections, it can cancel the turn and automatically follow up with a plain-text recovery. Once installed, it takes effect immediately in newly opened sessions, and thresholds can be fine-tuned in `cordis.patch.yml`. Ideal for Harness users who need to avoid minute-level blocking and text-less polling during long sessions.
Read Moredsh-wait-guard: The Main Agent's Exit Gate
The `dsh-wait-guard` plugin is designed to address the issue of premature termination of the main agent breaking workflows in DeepSeek Harness (DSH) multi-agent orchestration. It acts as a pure host-plane gate that forces the main agent's turn to remain open until all descendant subagents transition to a non-`running` state. The plugin is side-effect free, supports installation from GitHub, provides a default 60-second silent reminder, and allows configuration of pure silent or batch accumulation modes. With a zero-dependency, leak-free design, it ensures workflow integrity and reliability in multi-level invocation scenarios.
Read More