dsh-verify-judge
DeepSeek Harness 的目标完成验证拦截插件:拦截 update_goal(complete) 调用,在工作区运行验证命令,仅在命令通过时允许关闭目标。
AI 分析
核心用途是为 Agent 任务交付引入自动化质量把关。适合需要确保 Agent 提交的代码或成果必须通过测试、Lint 校验等硬性指标的开发任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zriyox/dsh-verify-judge說明文件
閱讀完整 README ↗Configuration
Add config to the plugin row (profile or home cordis.patch.yml):
- id: verify-judge
config:
commands: ['pnpm test', 'pnpm run lint'] # always wins over auto-detect
onUndetected: allow # allow (default) | deny
timeoutMs: 300000 # per-command cap
outputTailChars: 4000 # failure tail fed to the model
| Field | Default | Meaning |
|---|---|---|
commands | auto-detect | Explicit verification commands, run in the session workspace |
onUndetected | allow | deny refuses the stamp when no command is found |
timeoutMs | 300000 | Per-command timeout |
outputTailChars | 4000 | Cap on the output tail included in denial feedback |