dsh-auto-review
审批链上的第二模型自动审查:只读审查子代理返回带理由的 allow/deny 结构化裁决,默认 fail-closed。
安装
dsh plugin --profile web add dsh-auto-review
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✓ |
| 2 列装 | ✓ |
| 3 挂载 | ✓ |
| 4 启动 | — |
四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
README
<div align="center">
🤖 dsh-auto-review



Second-model AI approval for DeepSeek Harness — a read-only reviewer subagent decides allow/deny on the approval chain, fail-closed by default.
When an action crosses the sandbox boundary, a second model reads the evidence and returns a verdict with a reason — so humans approve nothing while nothing unsafe slips through.
Official repository. This is the only official repository of dsh-auto-review, maintained by PerryLink. Same-name repositories under other accounts are not affiliated.









[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
dsh plugin --profile <name> add dsh-auto-review
</div>
📖 Ecosystem knowledge base — measured data, not marketing: plugin development guide · plugin-selection data · maintenance criteria.
<!-- star-cta -->
Install & uninstall
- git channel (latest
main):dsh plugin --profile web add github:PerryLink/dsh-auto-review— the isolatedpreparebuild needs theallowBuildskeys thedshCLI prints fordsh-auto-review. - npm channel (published releases):
dsh plugin --profile web add dsh-auto-review. - 1024 store channel:
npm i -g dsh1024once, thendsh1024 plugin --profile web add dsh-auto-review(counts toward the deepseek1024.com install ranking). - tarball channel:
pnpm packin this repo, thendsh plugin --profile web add ./dsh-auto-review-<version>.tgz. - uninstall:
dsh plugin --profile web remove dsh-auto-review(or remove the row from the profile patch). - native build scripts: when
dsh plugin addstops atERR_PNPM_IGNORED_BUILDSforkoffi/node-pty(pulled in by the eval harness), runpnpm approve-buildsto approve those build scripts.
⭐ 如果它帮到了你
这个插件是 DSH 插件家族的一员(95 个,全部 Apache-2.0)。如果你在用,给个 star —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
English: part of a 95 plugin family for DeepSeek Harness. If it is useful, a star helps the next person find it — nothing is gated behind it.
What is dsh-auto-review?
Second-model AI approval for DeepSeek Harness — a read-only reviewer subagent decides allow/deny on the approval chain, fail-closed by default.
When an action crosses the sandbox boundary, a second model reads the evidence and returns a verdict with a reason — so humans approve nothing while nothing unsafe slips through.
Workflow overview: request → policy / review → verdict. The examples below use the real command surface.
Compatibility
Surface · Status
Harness · DeepSeek Harness dsh-v0.2.1-rc.2 (verified 2026-10-18): engines.dsh >=0.2.1-0 <0.3.0; the P0 compatibility paths have regression tests.
Node · ^22.19.0 \ · \ · >=24.0.0
Platforms · All (host answerer; optional Web review panel via the session-projection capability)
Model · Any generative model (the reviewer inherits the session agent's route; reviewerModel overrides), or the local non-generative Phocinae-Largha-150M-v1 decision model (reviewerBackend: phocinae)
What you get
dsh-auto-review puts a second model on the approval/request answerer chain:
1. Official seam — an answerer that claims only the requests it owns (ai policy) and delegates everything else via next(); the human approval flow is never short-circuited.
2. Read-only reviewer subagent — a one-shot fork with a read/glob/grep tool allow-list returns a structured verdict { decision, reason, riskLevel }. Reviewer asks are recognized by identity and delegated; maxDepth + the allow-list keep the reviewer non-delegating.
3. Fail closed — reviewer crash, timeout, or schema mismatch resolves through fallbackPolicy (default rejected); a deny verdict feeds its reason back to the calling model.
4. Config-driven routing — per-tool policies (ai/human/never) plus regex risk rules, all changeable from cordis.yml.
5. Deny reasons reach the model — the reviewer's reason is injected into the denied tool result (callId-linked); fallback and never-policy rejections inject auditable markers too ([auto-review] / [auto-review-fallback] / `[auto
…(truncated)
以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:47,最后更新 2026-10-28