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

dsh-auto-review-jev

DeepSeek Harness 审批守护者:权限请求先由审查模型裁决。支持 System One 决策 API 后端(TypeSafe Jev / 硅基流动 systemone / 自部署 Laya)、onLowConfidence 低置信度策略与 allowRules 免审白名单。fork 自 @gbthui/dsh-auto-review。 适合需要自动化安全审批、支持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