dsh-verify-gate
Manifest validDSH plugin wrapping verify-gate as the verify_run agent tool: declarative checks, pass/fail report, strict exit codes
dsh-verify-gate
DSH 插件:把 verify-gate(声明式验证清单执行器)包装成 agent 工具 verify_run。
verify_run:按 TOML 清单(file存在/包含/regex、cmd退出码+输出、http状态+body、gitclean/branch、json字段)机械执行验证,返回结构化报告(verdict/ 每项pass|fail|na/ 证据明细)。manifest(路径)或manifestText(内联 TOML)二选一,cwd指定断言基准目录。
把「验证」从 agent 的散文行为变成 exit 0/1/2 门禁——改完必跑、不过 blocked。
安装
# 二进制(工具本体,crates.io 或 GitHub Release)
cargo install verify-gate
# 插件(link 本地开发 / github 依赖)
dsh plugin --profile web add /path/to/dsplugins/dsh-verify-gate
# 或 pnpm install 后把 dsh-verify-gate 加入 profile package.json dependencies + dsh.profile.bundles
二进制解析顺序:cordis.patch.yml 的 verify-gate 行 config.binary → $VERIFY_GATE_BIN → PATH verify-gate → ~/.cargo/bin/verify-gate。缺失时工具返回安装提示,不拖垮插件树。
验证
node --check index.mjs lib/tools.mjs
node test/preflight.mjs # 用真实 @deepseek-ai/dsh-tools 编译工具定义
pnpm dsh --profile web --dump-config | grep -A6 'verify-gate' # 行存在
改 host 代码后必须重启 dsh web;verify_run 在新会话可见(注入时序)。
Manifest 示例(内联)
[[check]]
name = "构建产物存在"
type = "file"
path = "target/release/verify-gate"
[[check]]
name = "测试通过"
type = "cmd"
cmd = "cargo test"
stdout_contains = "test result: ok"
timeout_secs = 180
License
MIT
Comments
Loading…
Similar plugins
by zhangyy0423
dsh plugin: per-turn receipts (todo counts, goal id, fail-closed plan verdict) that survive the next turn, plus a read-only veripipe_receipt tool.
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-veripipeby Web0926
DeepSeek Harness plugin that validates and ranks 3/5 independent coding-agent patches before approval-gated apply.
★ 3
↓ 647/wk
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-llm-verifierby BaqiF2
该仓库暂未提供项目说明。
★ 1
↓ 217/wk
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add dsh-plugin-precheckby zriyox
AI 说"做完了"?先让它拿证据:目标盖章前强制跑测试,收工前再查一遍 — DeepSeek Harness 插件 / Make your dsh agent prove it's done: gated goal completion + turn-end verification
★ 0
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add dsh-verify-judgeby dengyier
Community DeepSeek Harness plugin for verifiable AI agent authorization, execution evidence, and offline delivery verification
★ 0
Apache-2.0
TypeScript
Aug 30, 2026
dsh plugin --profile web add @openworkproof/dsh-pluginby GIN0076
Pre-install review gate for DeepSeek Harness plugins: audit, approve the change plan, backup, then install(插件装前审查)
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add @local/dsh-install-review