Who it is forAn engineer who keeps DeepSeek Harness running on a shared repo and wants destructive commands blocked without a human answer.
The problemA default setup may allow a command that matches a dangerous pattern, and a reviewer timeout may pass the request through.
The outcomeRequests that match a never rule are rejected with an auditable marker, and reviewer failures resolve through a chosen fallback policy.
What you need first
- DeepSeek Harness (dsh) installed, with a profile named web or another profile of your choice
- Harness version compatible with the plugin (the README lists dsh-v0.2.1-rc.2 as verified)
- Network access to install from GitHub or npm
- pnpm, only if you use the tarball channel or need to approve native build scripts
Steps
- Open the profile patch that mounts the plugin row with id auto-review
- Add riskRules entries with a pattern and policy: never for destructive shell commands
- Set fallbackPolicy to delegate or keep the default rejected, and set reviewerTimeoutMs as needed
- Set riskPolicy to a maxAutoAllow level that fits your risk tolerance
- Restart, then run
dsh --profile web --dump-config | grep -A4 'id: auto-review'to confirm the new values
Prompt for your agent
Using the repo PerryLink/dsh-auto-review, edit the auto-review row in the cordis patch for profile <profile-name> to add a riskRules entry that sets policy never for the pattern <regex>, then verify with dsh --profile <profile-name> --dump-config that the entry is present. Report the final config block. Verify that the config is written in the profile patch and not in ~/.dsh/settings.yaml.
Caveat. Changes must go in the profile patch that mounts the row, because the README states that ~/.dsh/settings.yaml has no effect on this plugin and gives no warning.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for PerryLink/dsh-auto-review and "Block risky commands with rules and a stricter fallback"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer