dsh-run-guard
Agent runtime rhythm guard for DeepSeek Harness that intercepts reasoning loops and auto-continues premature stops.
Install
$ dsh plugin --profile web add "github:Dis2017/dsh-run-guard#v0.2.1"Plugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Sliding-window duplicate pattern detection and hard thresholds on llm/stream to intercept infinite reasoning loops within 1-2 seconds
- Configurable automatic retry per turn for guard interruptions and whitelisted upstream errors (such as PI_AI_ERROR)
- Automatic turn continuation for premature completions with unfinished todos or empty turns (thought without content or tool calls)
- Registers a pause_work tool allowing models or users to explicitly halt automatic execution loops
- Web UI settings integration via plugins.row.config slot supporting hot volatile configuration reloads without process restarts
Useful For
- Preventing DeepSeek V4 Flash or high-reasoning tasks from consuming massive tokens in infinite reasoning loops
- Ensuring long autonomous tasks continue to progress when the model stops prematurely after thinking without executing steps
- Automating retry and recovery from transient upstream LLM streaming failures during complex workflows
Who It Fits
- DeepSeek Harness users running autonomous multi-step reasoning agents
- Developers working with deep reasoning models prone to repetitive token generation loops
- DSH workspace administrators looking for execution stability and token burn protection
Documented Limitations
- Requires DeepSeek Harness version 0.2.0-rc.2 or strictly matching peerDependencies
- Does not automatically repair previously corrupted session files generated by historical versions
- Requires proper peerDependency scoping to avoid dual-instance symbol conflicts on TOOL_RUNTIME_SCHEDULER
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 6 development, 4 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- PrismLean/dsh-run-guard
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 660bc18 · 2026-10-18
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 5GitHub stars
- Forks
- 1
- Open issues
- 3
- Last commit
- 2026-10-15
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Multi-agent team collaboration plugin for DeepSeek Harness enabling coordinated sub-agents, dependency-aware task graphs, and web UI monitoring.
View plugin →Native SQLite-backed task management and project board bundle with Web UI and Agent workflow tools for DeepSeek Harness.
View plugin →Comprehensive long-term memory, self-evolution, skills, task management, and multi-agent dispatch bundle for DeepSeek Harness.
View plugin →