xlennart/dsh-auto-review-jev ↗★ 0

dsh-auto-review-jev

由审查模型自动裁决权限请求 适合需要自动化安全审批、支持System One等决策后端的系统。

包名
dsh-auto-review-jev
兼容性
待验证
版本
0.2.0-jev.0
许可证
Apache-2.0
最近更新
2026年9月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xlennart/dsh-auto-review-jev

配置

设置段:dsh-auto-review。完整参考见 docs/configuration.md。

reviewer

键默认值说明
protocolchatchat = OpenAI 兼容补全,systemone = System One 决策 API
baseURL''空 + chat = 当前会话模型;空 + systemone = 硅基流动
model''空 + systemone = Kev-4b(硅基流动暂定默认)
apiKey / apiKeyEnv / apiKeyFile''三选一;回环端点不需要
timeoutMs24000单次审查调用超时
thinkingdefault对不接受 thinking 的后端设 off
systemone.confidenceThreshold0.6低于此值的决策答案不予采信(0.5–1)
factFinding.enabled / maxRounds / maxFactstrue / 2 / 3审查器可调用的只读事实工具
factFinding.content.enabled / maxBytesfalse / 4096是否允许把文件内容附进请求

policy

键默认值说明
enabledtrue总开关(/auto-review on │ off)
tools[]限定守护者审查哪些工具
allowRules[]免审白名单:{ tool, operations[], escalationTarget }
allowDangerFullAccessRulesfalse必须显式打开,规则才允许授予 danger-full-access
onLowConfidencedenydeny(失败关闭)或 defer(交人工)
denyOnReviewerErrortrue审查器崩溃/超时 ⇒ 拒绝
context.enabled / maxMessages / maxCharstrue / 10 / 6000交给审查器的有界会话上下文
breaker.consecutiveDenyLimit / windowDenyLimit3 / 10连续拒绝达阈值即熔断
audit.enabled / path / includeToolInputtrue / ~/.dsh/auto-review-audit.jsonl / false每次裁决一行 JSON