dsh-agent-harness-audit
Run the following command in DeepSeek Harness:
dsh plugin install Leeaoyin/dsh-agent-harness-audit
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Leeaoyin/dsh-agent-harness-audit in a DeepSeek Harness workspace to mount the plugin; the source repository is https://github.com/Leeaoyin/dsh-agent-harness-audit .
About this plugin
The robustness of an agent harness usually hides in the branches nobody rereads: a tool call that times out and drops its result, a truncated model stream that lands in history as if it were complete, a cancellation signal that dies before reaching a spawned subprocess, a context cut that slices right through a call-and-pair. Individually minor, stacked together they are the root cause of an untrustworthy agent loop. dsh-harness-audit pins all fifteen of these failure modes down with code-level checks, and it refuses any finding whose cited evidence does not appear within three lines of the cited source location.
The fifteen checks span six dimensions: state self-consistency, untrusted-input handling, failure as a first-class outcome, closable boundaries, finite-resource accounting, and run observability. Each check runs in its own throwaway subagent that receives only that check's criteria. The summary is written by pure code, not by a model, so unevidenced claims never make it into the report. Path validation guarantees the audit targets project code rather than vendored dependencies, and the rejection rate is surfaced in every report as the primary signal that a subagent is fabricating rather than reading.
Built for developers who are constructing or maintaining an agent harness. Your loop has been running for months, nobody has audited the cancellation, retry, or truncation paths, and you are not sure they hold. Install the plugin, run the seven critical checks, and in a few minutes you get a report where every finding carries a file, line number, and a verbatim code snippet you can re-read yourself. The criteria ship inside the plugin, so there is nothing extra to configure and nothing to load at runtime.
Screenshots
Use Cases
- Audit cancellation, retry, and truncation paths before shipping an agent loop
- Validate boundaries still hold after adding new tool calls or subagent orchestration
- Hunt down silent message loss or duplicated side effects in an agent loop
Best For
- Developers building or maintaining agent harnesses
- Engineers responsible for LLM agent infrastructure quality
- Teams that need structured code review of agent loop logic in PRs
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.

