Scotlight/dsh-guardian-approval

Scotlight★ 1TypeScript最后同步: 2026-08-20

在 GitHub 打开

Independent model-backed automatic approval plugin for DSH (Codex Guardian-style auto-review)

README 摘要

dsh-guardian-approval English · 简体中文 In DSH (DeepSeek Harness), agents trigger approval prompts for out-of-sandbox writes, command runs, etc. Under the "Auto Approve" preset, this plugin hands every approval request to a fixed reviewer model for a verdict: Features - Independent review channel — endpoint, model, reasoning effort and timeout are configured separately; hot-swapping the agent's main model never touches the reviewer - Full Codex Guardian policy — the risk (low/medium/high/critical) × authorization (unknown/low/medium/high) matrix; file/tool content counts as untrusted evidence, only explicit user instruction authorizes — "do what the file says" does not authorize the dangerous thing inside the file - Payload samples — for egress-shaped actions the plugin pre-reads the file being written/uploaded (2KB excerpt) so the reviewer sees exactly what would leave the machine - Three-state circuit breaker — 3 consecutive denials / 3 consecutive channel errors / 10 denials in a 50-review window; any trip fast-fails with a readable reason (parity with Codex's "stop and announce approval failure" behavior) - Fail-closed — a dead review endpoint never results in an allow; requests f…

在 GitHub 查看完整 README →
工具/开发dshdsh-pluginagent

分类