DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-verdict

Verdict

衡量 dsh 设置变更是否确实有所帮助:注册可重复的案例,运行这些案例,并比较你更改规则、技能或模型前后的结果差异。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-verdict@0.5.1
README兼容性版本

兼容性与来源证明

Verdict 以 dsh-verdict 发布,当前版本为 0.5.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/19

版本

0.5.1stable
2026/9/19
0.4.0stable
2026/9/19
0.2.1stable
2026/9/18
查看其余 3 个版本收起版本
0.2.0stable
2026/9/18
0.1.0stable
2026/9/18
0.1.0-alpha.1prerelease
2026/9/18

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

效果评测(dsh-verdict)

中文名称:效果评测;英文名称:Verdict。用于评估规则、技能或模型调整前后的效果,使用可重复的评测与证据判断是否改善。包名 dsh-verdict、命令 verdict 保持不变。

Measure whether a change to your dsh setup actually helped.

Register repeatable cases, run them, and diff the results before and after you change rules, skills, model settings, or plugins. A dsh setup change usually feels like an improvement; this plugin is what tells you whether it was one.

Status

Published to npm as dsh-verdict@0.1.0.

Implemented: capture, durable store, rule promotion into AGENTS.md, guard compilation, automatic re-verification (also scheduled every six hours in a resident host), skill distillation, and the settings page. Covered by 87 unit tests against a real filesystem (npm test), including static renders of the panel. CI runs on Ubuntu and Windows.

Verified on real hardware: the plugin loads inside dsh 0.1.5-rc.2, the host route GET /api/verdict.panel serves the panel payload, and the browser half registers a "Verdict" page in Settings without errors.

What it does

ctx.verdict.learn('never commit the file secrets.env')
// -> rule captured, guard compiled for this platform, written into AGENTS.md
//    behind <!-- verdict:<id> -->, and now re-checked on demand

ctx.verdict.check()
// -> { passed, violated, broken, exitCode }
//    exitCode is 1 only for real violations — a guard that cannot run is
//    reported separately and never turns a pipeline red

A rule is only promoted if it has an executable check. A rule whose check stops holding is reported; a rule that keeps failing is demoted to ineffective after three distinct violation episodes — not three runs, so a long-lived failure cannot inflate the count.

The compiler knows a few sentence shapes — file existence, forbidden files, forbidden root globs ("no *.pem files"), and required file contents ("the file README.md must mention install") — and refuses any sentence it cannot express faithfully on the current platform, leaving it a candidate rather than emitting an approximate command.

Install

From npm (recommended — the tarball ships pre-built lib/):

dsh plugin add dsh-verdict --profile web

Or pin the exact version:

dsh plugin add dsh-verdict@0.1.0 --profile web

For local development without publishing:

dsh plugin add link:/path/to/dsh-verdict --profile web

The plugin ships a cordis.patch.yml, so the profile registers it on install — there is nothing to insert by hand. GitHub source installs will not work directly because lib/ is gitignored and dsh forbids install-time build scripts; use npm or link: instead.

CLI

The same modules are reachable without booting dsh, so the plugin's claims can be checked independently and check can run in CI:

verdict learn "never commit the file .env"    # capture + compile a guard + promote
verdict check                                 # exit 1 on real violations, 0 otherwise
verdict list
verdict recall "env"
verdict session --intent "verify a change" --step "run tests" --step "commit"
verdict skills --write
verdict panel                     # the panel's view of the project
verdict diff before ; verdict diff after ; verdict diff
                                  # did that change help? answered from two snapshots
verdict doctor                    # check this package against dsh's plugin rules
verdict inventory --audit         # installed plugins, and what would stop them loading

verdict check is the CI-relevant one: it exits non-zero for a genuine violation and stays zero when the only problem is a guard that cannot run, so a typo in a guard can never turn a pipeline red on its own.

verdict doctor covers everything about loading that is static — manifest, build output, patch id agreement, peer placement, lifecycle scripts — so the one thing left for a real dsh install is the loader itself.

Web panel

The plugin also ships a browser half (exports["./client"]). It registers a settings.section slot — a "Verdict" page inside Settings — and reads the panel from GET /api/verdict.panel, which the host half registers on the web connection when one exists. Hosts without a web client simply skip it.

The page draws only what the data supports: a rule shows "guard passed" because a guard ran and passed, never because it was promoted, and a before/after comparison without both snapshots states that instead of an improvement. Skill candidates distilled from repeated successes are listed with a write action (POST /api/verdict.skills.write); the response carries whether the written skill's guard actually runs.

scripts/bundle-client.mjs replicates the loader's lazy-CJS factory artifact (banner, intro vars, footer, react left external to the platform module table). The bundle is lib/verdict.web.js — deliberately not lib/client.js, which is the compiled host module src/client.ts.

Layout

PathRole
src/index.tsHost half — apply(ctx), exposes the verdict service
src/identity.tsRule id derived from text, so repeats collapse into one rule
src/store.tsDurable .verdict/ledger.json; atomic writes
src/guard.tsRule → shell command; run it; classify pass / violated / broken
src/promote.tsWrite rule into AGENTS.md behind a marker; verify its presence
src/check.tsVerification pass, episode-based recurrence, exit code
src/pipeline.tslearn: capture → compile → promote
src/session.tsAppend-only session log; what actually happened
src/skills.tsDistil repeated successes into a skill (M6)
src/cli.ts / src/bin.tsCommand-line entry, usable without dsh
src/routes.tsGET /api/verdict.panel and POST /api/verdict.skills.write on the host's web connection
src/verdict-view.tsPayload → view model, shared by host route and browser half
src/schedule.tsThe six-hour re-check report line for resident hosts
src/client/index.tsxBrowser half — panel state, fetch, registration
src/client/view.tsxBrowser half — pure rendering, statically tested in Node
scripts/bundle-client.mjsesbuild bundle in the loader's factory format
cordis.patch.ymlProfile registration (insert id dsh-verdict)
package.jsonPackage manifest; host packages stay in peerDependencies

Payloads must be peers

dsh reserves certain packages for the host. Copying one into this plugin's own dependencies produces a nested or aliased copy, which the profile validation rejects. So @deepseek-ai/cordis and every @deepseek-ai/dsh-* package this plugin uses belong in peerDependencies (plus devDependencies for local typechecking), never in dependencies.

No lifecycle scripts

Desktop rejects plugins whose dependencies carry install lifecycle scripts unless the package is in the desktop project's reviewed allowBuilds policy. This plugin therefore does no work at install time — everything happens in apply.

Develop

npm ci
npm run typecheck
npm run build
npm test
node tests/smoke.mjs   # end-to-end walkthrough against temp dirs