dsh-tiered-approval
Run the following command in DeepSeek Harness:
dsh plugin install Elaina-real/dsh-tiered-approval
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Elaina-real/dsh-tiered-approval in your DeepSeek Harness terminal, or manually copy the directory from the source repository https://github.com/Elaina-real/dsh-tiered-approval into your profile's node_modules, add the bundle entry to cordis.patch.yml, then restart.
About this plugin
DSH's native permission model offers only two extremes: either every tool call that crosses a boundary triggers a confirmation popup, or you grant full access and lose all guardrails. In a read-only session that frequently needs to escalate for routine operations, clicking approve over and over is tedious and breaks your flow; yet full access makes you nervous about irreversible commands like recursive deletes or force-pushes.
dsh-tiered-approval inserts a three-layer checkpoint between those extremes. First, a zero-cost static ruleset blocks dangerous commands outright—recursive deletion, disk formatting, force-push, writes to system paths, process kills—rejecting them without a popup or model call, while supporting custom deny/allow regexes. Second, an LLM reviewer handles calls the rules do not cover, deciding allow, deny, or ask, with the review frame including the most recent user message for intent alignment. Third, a human fallback surfaces a native confirmation dialog whenever the reviewer says ask or is unavailable. An optional autoApproveAligned mode skips the popup entirely when the reviewer says allow and the user's instructions clearly match the call. Review strictness automatically tracks the active Access level (read-only / workspace-write / danger-full-access), and under Full access the reviewer becomes the last line of defense.
It is well suited for users working in read-only sessions who frequently escalate for legitimate operations and want to stop clicking approve every time, while still keeping a hard block on irreversible actions. If you already live in workspace-write or Full access and rarely trigger escalation requests, the plugin stays largely silent and the benefit is limited.
Use Cases
- Frequent permission escalation in read-only sessions without the fatigue of manual approvals
- Hard-blocking irreversible operations like recursive deletion and force-pushes to prevent unrecoverable damage
- Automatic fallback to human confirmation when LLM review is uncertain or unavailable
Best For
- DSH users who frequently escalate permissions in read-only sessions and want less friction
- Developers concerned about irreversible commands who want a safety net without fully manual approval
- Admins looking to configure tiered approval policies for team workflows
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.