← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-thinking-guard

Circuit breaker for pure-thinking idle loops and degenerate repetition in DeepSeek Harness agent turns.

Developer Tools
0GitHub Stars0ForksUpdated2026-09-26

Install

No clear install command was found in the current repository evidence.

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.

source-grounded
dsh-thinking-guard is a DeepSeek Harness plugin that hooks into the `agent/assistant-stream` event to detect and break idle reasoning loops. It implements a triple-fusing circuit breaker triggered by pure-thinking timeouts, excessive reasoning character volume, or degenerate repetitive reasoning patterns, automatically canceling stalled turns and optionally injecting follow-up recovery instructions.

Key Capabilities

  • Monitors agent assistant streams in real time for reasoning stalls and idle loops
  • Triggers timeout circuit breaking when only reasoning tokens are emitted without text or tool calls
  • Enforces a maximum thinking character limit per attempt
  • Detects degenerate repetition patterns including exact units, sentence templates, sparse repeats, and high n-gram density
  • Cancels stuck agent turns via agent.cancel and optionally injects continuation follow-ups
  • Allows configuration via Cordis patch YAML and runtime environment variable overrides

Useful For

  • Preventing DeepSeek Harness agent runs from hanging indefinitely on runaway thinking loops
  • Mitigating token and cost waste caused by repetitive reasoning stalls
  • Automating agent error recovery during non-productive reasoning attempts

Who It Fits

  • Developers and power users running autonomous or long-running agent workflows in DeepSeek Harness
  • Engineers optimizing token usage and agent turnaround reliability

Documented Limitations

  • Pure-thinking timeout only triggers when zero text and zero tool calls have occurred since the last progress timestamp
  • Requires DeepSeek Harness runtime environment with Cordis patching support

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 0 development, 1 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
ethanwong-hk/dsh-thinking-guard
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
db8cc1a · 2026-09-26

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
0GitHub stars
Forks
0
Open issues
0
Last commit
2026-09-26
Last release
2026-09-26
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app