dsh-proof: Evidence-Driven Completion Proof and Regression Attribution Plugin

Preface

In DeepSeek Harness (DSH) and other Agent harnesses, the system typically only tells you what the Agent did, but cannot directly prove whether it did it right. “I’m done” is often just the Agent’s self-report, not an objective fact. dsh-proof aims to transform this self-report into a recomputable chain of evidence.

This plugin is a collective term for an open-source standard, a Proof MCP Server, a collection of adapters, and a DeepSeek Harness plugin. Through content addressing, signed checkpoints, and offline anchors, it builds a tamper-proof chain of trust. It turns “completion” into a verifiable fact and transforms “regression attribution” from a post-mortem review into a real-time attribution during flight.

Core Features

dsh-proof provides the following core capabilities:
* Evidence-Driven Completion Proof: Transforms the Agent’s completion claims into verifiable evidence.
* Regression Attribution: Identifies regressions in real-time during execution, rather than only discovering them post-mortem.
* Recomputable Evidence Chain: All check results are recorded via content addressing, ensuring reproducibility on any machine.
* Tamper-Proof Chain of Trust: Uses signed checkpoints and offline anchors to prevent evidence from being modified or truncated by the Agent itself.
* Verification Conclusions: Provides explicit conclusions such as proven / regressed / stale / unproven / no-baseline.
* Runtime Enforcement: Enforces and checks within the DSH runtime.

Architecture Design

The plugin adopts a layered architecture where the core layer (Pure Domain) is decoupled from the host and interacts with the outside via ports.
* Pure Domain Core: Comprises 21 modules with zero dependency on any @deepseek-ai/* packages and performs no I/O operations. This means the core logic can run in any environment (e.g., test suites, pure MCP clients).
* Adapter Layer: Contains the DSH plugin, MCP Server (13 tools), the Agent Proof Protocol (APP/1.4) standard implementation, and host adapters for Claude Code and OpenCode.

Dependencies & Prerequisites

Before installing or using dsh-proof, ensure the environment meets the following requirements:
* Node.js: ^22.19.0 || >=24.0.0 is required.
* Peer Dependencies:
* @deepseek-ai/cordis (>=0.2.0)
* @deepseek-ai/dsh-tools (>=0.2.0)

Typical Usage

After the DSH plugin is loaded, the Agent can interact with the engine via the proof_* tool series.

1. Submit Completion Claim
Use the proof_claim tool to declare task completion; the system will automatically generate evidence and provide a conclusion.

$ proof_claim "fixed the login redirect bug and added a regression test"
✓ PROVEN — fixed the login redirect bug and added a regression test
evidence root: 9f2c1ab47d0e
PROVEN (p≈0.97) — the claim is backed by evidence root 9f2c1ab47d0e:
3 check(s) passing, 0 regression(s), 1 pre-existing failure(s) left untouched.

2. Baseline Management
Use proof_baseline to establish a checkpoint snapshot at the start of work for subsequent comparison.

3. Runtime Verification
During execution, the engine calculates verification conclusions in real-time based on the evidence chain, deciding whether to allow continuation or to halt.

Use Cases

  • Safety-Critical Development: Requires strict proof that code changes actually fixed issues without introducing new defects.
  • Strict Regression Testing: Automated workflows with high requirements for the scope of change impact.
  • Third-Party Auditing: Requires the Agent’s execution process to serve as an immutable audit log.

Notes

  • The plugin runs with the permissions of the current DSH process; reviewing the source code is recommended before installation.
  • This plugin is open-source under the MIT License.
  • Evidence is stored locally; combined with private keys and offline anchors (Out-of-band anchor), it achieves true tamper resistance.

Conclusion

dsh-proof elevates Agent development from “blind execution” to “verifiable execution.” By redefining “completion,” it provides industrial-grade evidence auditing capabilities for DeepSeek Harness.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye