@deepseek-ai/dsh-popper
为会话建立可证伪修订闭环,支持风险工具门控与证据留痕 适合高风险自动化推理场景;需配置门控规则与执行阈值后才能获得拦截与修订效果。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1473382/dsh-popper说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
mode | observe | observe: record the model's protocol without executing gates; strict: arm and execute gates |
backstopRounds | 6 | consecutive protocol-invalid rounds before escalation |
noveltyRejectLimit | 3 | consecutive novelty rejections -> frontier exhausted |
riskyTools | [write, exec, patch, delete] | tool names that trigger gate validation |
gateRegistry | [] | deterministic gates: { id, command, timeoutMs? }. In strict, must be non-empty; commands come only from the task contract, the model references gate ids |
falsificationToolName | falsification | model-facing protocol tool name |
gateTimeoutMs | 120000 | gate execution timeout |
outputCapChars | 2000 | gate output injected back (head + tail) |
strict with an empty gateRegistry or empty riskyTools fails loud at load. The shipped cordis.patch.yml defaults to mode: observe so a bare install boots cleanly on any machine without blocking the agent; switch to strict plus at least one gateRegistry entry to enforce.
Example cordis.patch.yml override (a later patch layer restates the whole row):
- id: popper
name: '@deepseek-ai/dsh-popper'
config:
mode: strict
gateRegistry:
- id: typecheck
command: pnpm run typecheck
timeoutMs: 120000