dsh-sop-guard: Turning SOP.json into Step-by-Step Tool Whitelists
dsh-sop-guard is a DeepSeek Harness plugin maintained by ExpertKT. It reads SOP.json from the skill directory and, before tool execution, validates allowed tools and shell command regex patterns against the current step. The model declares and advances steps via `sop_step`, while humans can use `/sop approve` and `/sop off` for control. Install it with `npm install github:ExpertKT/dsh-sop-guard`; it is mounted via `cordis.patch.yml` and supports both enforce and warn modes along with session state persistence. It is designed to constrain the pacing of agent file modifications and command execution through a checklist, rather than replacing OS-level sandboxing.
Read More