DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Reliability Governor Plugin — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
R

@chenjie1129/dsh-reliability-governor-plugin

Reliability Governor Plugin

针对 DeepSeek Harness 智能体的两阶段意图与证据审查、确定性完成门槛和有界修复

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:chenjie1129/deepseek-harness-reliability-governor#f0149ba00db3db1e8bdee4bffd8492e5b272ddef
README兼容性版本

兼容性与来源证明

Reliability Governor Plugin 以 @chenjie1129/dsh-reliability-governor-plugin 发布,当前版本为 0.7.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/30

版本

0.7.0stable
2026/8/30
0.6.1stable
2026/8/29
0.6.0stable
2026/8/26
查看其余 4 个版本收起版本
0.5.0stable
2026/8/25
0.4.0stable
2026/8/25
0.3.0stable
2026/8/23
0.2.0stable
2026/8/23

相关插件

正在加载相关插件…

最新版
0.7.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/8/30
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

README

DeepSeek Harness Reliability Governor

English | 简体中文

Unofficial community project. Public beta testers wanted. Try three to five disposable local tasks and report counterexamples through the 15-minute feedback protocol. False certification, false exhaustion, false abstention, repair regression, brittle checks, and Harness compatibility reports are especially useful.

An opt-in DeepSeek Harness bundle that first lets a user review what the agent thinks was requested, then separately review how it will prove completion, and finally changes completion from a model assertion into a deterministic evidence decision.

It does not make an LLM deterministic. It makes a narrower promise: while a reliability contract is active, the agent is steered until observable checks pass, its bounded repair budget is exhausted, or it abstains. Every attempt and terminal outcome is recorded in the durable session log with a content receipt.

Reliability Governor mechanism and checked-in keyless benchmark

Evidence status

EvidenceCurrent resultClaim allowed
Keyless Harness AgentLoop fault matrix9 cases × 10 trials × 2 arms = 180 runs; mechanism gates pass; zero governed false completions and false certificationsThe active contract and lifecycle enforce declared deterministic checks under scripted faults.
Scripted auxiliary-author boundary testsStrict parsing, no-tool calls, provenance, and receipt binding passThe isolation mechanism works with a scripted stream; this is not evidence that a live model writes better contracts.
Two-stage A2UI review boundary testsOfficial A2UI v0.9.1 processor accepts both fixed surfaces; intent and evidence approval, revision, rejection, tampering, fallback, delegated-agent, and missing-provider paths fail closedExact intent and evidence proposals can require separate UI-backed Harness decisions before activation; this does not prove either proposal is correct.
Harness compatibility matrixUnit/composition tests and strict builds pass against the 0.1.1-rc.2 package floor and 0.1.2-alpha.1 source packages; the exact bundle installs and boots in a clean 0.1.2-alpha.1 profileThe plugin loads on both tested Harness versions and registers its required event vocabulary with the new fail-closed persistence catalog.
Pre-registered provider-backed benchmark20 tasks × 5 trials × 3 arms planned; not runNo live-model quality, latency, cost, or net-utility claim yet.

The project is deliberately looking for evidence against its design. See Beta feedback for the independent-oracle protocol and privacy rules.

Why this plugin exists

LLM sampling is only one source of variation. Tool results, environment state, ambiguous success criteria, context, and the model's tendency to self-report completion also vary. Lower temperature cannot prove that a requested outcome happened, and some reasoning modes ignore temperature entirely.

Harness already has goal and iterative workflow plugins, but their current documentation explicitly leaves independent verification to another layer. This plugin fills that generic runtime gap without replacing those workflows.

What it adds

  • reliability_assess — preview declared-claim coverage, independent-source counts, and brittle-evidence warnings without evaluating task output.
  • reliability_draft — in optional auxiliary-model mode, request one bounded text-only claim/check draft and record its provenance and receipt.
  • reliability_begin — open one explicit completion contract.
  • reliability_begin_code — open a code contract that automatically includes every deployment-required trusted verification profile.
  • reliability_verify — run deterministic checks immediately.
  • reliability_status — read the durable contract, attempts, terminal state, and receipts.
  • reliability_abstain — stop without fabricating proof.
  • reliability_code_profiles — list trusted profile metadata without exposing model-rewritable commands.
  • reliability_code_verify — execute one immutable profile through Harness-managed subprocess and sandbox services.
  • agent/turn-stopping enforcement — verify before an active contract is allowed to settle, then steer a bounded repair or truthfully report certification/exhaustion.

By default, reliability_begin pauses twice before activation. The first fixed A2UI v0.9.1 Basic-catalog surface shows the interpreted objective, constraints, assumptions, non-goals, and ambiguities. Only exact intent approval opens a second surface showing claims, checks, authorship, coverage warnings, and repair budget. Clients without the custom renderer receive the same proposals through Harness's native question UI. Both approvals are receipt-bound; failure at either stage leaves no active contract. Version 5 contracts embed the approved intent and bind the evidence review to it. A2UI is presentation—not the approval authority or outcome judge; Harness's live-root user-question channel records choices, and later deterministic checks decide certification. See Two-stage review.

Supported checks in v0.7:

CheckPass condition
file_existsA workspace-relative path resolves to a regular file.
file_absentNo path entry exists at the workspace-relative path.
file_containsA bounded regular text file contains an exact literal.
file_not_containsA bounded regular text file excludes an exact literal.
file_equalsA bounded regular text file exactly matches expected UTF-8 text.
json_equalsA JSON Pointer resolves to the exact predeclared JSON value.
tool_succeededThe session log contains the required matching tool call and a correlated non-error result after the contract began.
tool_not_calledThe named tool was not called after the contract began.
code_verification_succeededThe latest required results from a named deployment-configured verifier profile succeeded after the last non-governor tool call.
no_tool_errorsNo model-facing tool result after the contract began is an error.

File checks are read-only through Harness ctx.fs. Trusted code profiles receive exact deployment-authored argv and execute only through Harness ctx.subprocess, ctx.sandbox, and ctx.sandboxPolicy; the model supplies only a profile ID. The plugin never uses an LLM as the outcome judge, initiates a provider retry/fallback, or repeats a business action. Optional auxiliary authorship is requirement discovery only and has no certification authority.

Trusted verifier evidence is invalidated conservatively by any later non-governor tool call, including nested Code Mode dispatches, and by a later different verifier profile with workspace-write access. This prevents a test result from certifying code that the agent or another verifier changed afterward. Because Harness does not expose authoritative side-effect metadata for arbitrary tools, even a later read-only tool call requires the trusted profile to be rerun.

file_contains and no_tool_errors intentionally have narrow meanings. The policy warns the model not to use an exact literal for equivalent-output requirements and not to treat a recovered intermediate tool error as evidence that the final result failed. The live benchmark includes JSON-format equivalence and a recoverable-tool-error task to measure those authorship mistakes rather than assume them away.

Before activation, v0.7 maps every declared success claim to checks and counts independent evidence authorities rather than raw checks. Two checks over one file count as one source. human-required, unsupported, and under-supported claims produce review-required; brittle checks produce visible warnings. See Contract coverage. Coverage remains structural: the separate intent review exposes semantic assumptions to the user but cannot automatically prove that every requirement was understood or mapped to a claim.

Contract authorship is configurable. The zero-setup default is current-agent; auxiliary-model routes one isolated draft call through Harness's existing provider/model layer; manual is for a user or reviewed reference contract but is honestly labeled caller-declared, not authenticated. Auxiliary drafts must match a durable receipt exactly before activation. See Contract authoring.

Install

From the directory containing this checkout:

git clone https://github.com/chenjie1129/deepseek-harness-reliability-governor.git
cd deepseek-harness-reliability-governor
npm ci
npm pack
dsh plugin --profile web add ./chenjie1129-dsh-reliability-governor-plugin-0.7.0.tgz
dsh --profile web --dump-config
dsh --profile web

For a headless profile, replace web with its profile name. The interactive default needs a registered Harness user-question provider; without one, intent or evidence review returns unavailable and no contract activates. Controlled unattended workflows may explicitly set contractReview.mode: off. The installed profile must list @chenjie1129/dsh-reliability-governor-plugin in dsh.profile.bundles; merely placing the package beside Harness does not activate it.

The shipped bundle layer mounts one plugin row:

- insert:
    - id: reliability-governor
      name: '@chenjie1129/dsh-reliability-governor-plugin'
      config:
        maxAttempts: 3
        maxChecks: 20
        maxFileBytes: 1048576
        autoVerifyAtTurnStop: true
        codeVerificationMaxOutputBytes: 65536
        codeVerificationProfiles: []
        contractAuthoring:
          mode: current-agent
          maxInputBytes: 32768
          maxOutputTokens: 3000
          timeoutMs: 45000
        contractReview:
          mode: required

The empty code-profile list is a fail-safe default because repositories have different checks. Configure reviewed test/typecheck/build argv as described in Trusted code verification. The bundled reliability-code-verification skill teaches the workflow; the runtime profile, not the skill, is the independent judge. contractReview.mode: required is the interactive default and now means both intent and evidence review. Unattended evaluation or automation must opt out explicitly with mode: off; that creates an unreviewed version 3 contract and must not be reported as intent-approved or evidence-approved.

Keep current-agent unless you specifically want an extra authoring call. For auxiliary-model, first configure credentials and the exact provider route in Harness Models, then add only provider, model, and optional reasoningEffort under contractAuthoring; the governor never stores provider credentials. There is no automatic route fallback.

Example contract

The model calls:

{
  "objective": "Create a configured application entry point",
  "intent": {
    "constraints": ["Preserve unrelated workspace files and existing public behavior"],
    "assumptions": ["src/index.ts is the requested application entry point"],
    "non_goals": ["Do not redesign unrelated modules"],
    "ambiguities": []
  },
  "claims": [
    {
      "id": "entry-configured",
      "statement": "src/index.ts exists and exports apply",
      "importance": "critical",
      "verification": "deterministic",
      "check_ids": ["entry", "export"],
      "minimum_independent_sources": 1
    },
    {
      "id": "trusted-tests-pass",
      "statement": "The deployment-approved unit tests pass on the final workspace state",
      "importance": "critical",
      "verification": "deterministic",
      "check_ids": ["tests"]
    }
  ],
  "checks": [
    { "id": "entry", "kind": "file_exists", "path": "src/index.ts" },
    { "id": "export", "kind": "file_contains", "path": "src/index.ts", "text": "export function apply" },
    { "id": "tests", "kind": "code_verification_succeeded", "profile": "unit-tests" }
  ],
  "max_attempts": 3
}

The model first previews the claim/check mapping with reliability_assess. In interactive mode, reliability_begin then asks the user to approve the interpreted intent and the evidence contract separately. Only both approvals create a version 5 contract. At a stopping boundary the plugin evaluates the actual assertions. A failure produces an exact repair message and another model step. A pass records certified; the final model step receives the terminal SHA-256 receipt. At the budget limit it records exhausted and explicitly tells the model not to claim completion.

Develop and verify

npm install
npm run check

npm run check runs unit/composition tests, validates all evaluation manifests, builds strict ESM TypeScript, executes the 180-run keyless A/B benchmark, verifies the release contract, and audits the npm pack list. Follow docs/SMOKE_TEST.md for the required clean-profile Harness test.

To regenerate the promotion visual directly from the checked-in keyless report:

npm run demo:render

Benchmark commands:

npm run benchmark:keyless
npm run benchmark:live:plan

The keyless benchmark proves the governor's enforcement mechanics using the real Harness agent loop and an independent oracle. It does not prove that a natural-language model became deterministic. The provider-backed, pre-registered 20-task three-arm protocol measures false success, false exhaustion, false abstention, contract-authorship cost, repair transitions, overhead, and uncertainty; see docs/BENCHMARK.md.

Boundaries

  • A receipt hashes the recorded contract/outcome; it is not a signature and does not prove the external world independently.
  • The model still chooses whether a task needs a contract and which checks express success. A bad contract can certify the wrong thing.
  • Out-of-band workspace changes that produce no Harness tool event are not detected; use isolated workspaces and prevent concurrent external writers.
  • Deterministic checks improve outcome reliability, not wording consistency.
  • Each UI approval establishes only that its exact proposal was accepted through the live Harness question channel. Neither authenticates a legal identity, proves that the user understood it, authorizes side effects beyond the original request, or certifies the outcome.
  • v0.7 does not judge visual quality, semantic correctness beyond configured checks, omitted claims, remote state without authoritative evidence, or unknown side-effect outcomes. Two-stage review makes misunderstandings visible; it does not guarantee that users detect them.
  • Removing this plugin from a profile that owns sessions containing its required custom events can make those sessions non-continuable by a runtime that does not know the event vocabulary. Keep the bundle installed when resuming those sessions. Harness 0.1.2-alpha.1 has no downstream event-registration service, so v0.7 registers these types in its exported process-wide persistence catalog at load and fails loudly if that compatibility seam becomes unavailable.

See Contract review, Contract authoring, Contract coverage, Beta feedback, Architecture, Trusted code verification, Research, Benchmark, Limitations, and Security.

License

MIT