dsh-approval-flow-poc
Run the following command in DeepSeek Harness:
dsh plugin install lasoloryan/dsh-approval-flow-poc
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install lasoloryan/dsh-approval-flow-poc in DeepSeek Harness to install the enterprise approval-policy plugin from https://github.com/lasoloryan/dsh-approval-flow-poc.
About this plugin
Running AI tools inside DeepSeek Harness often leaves teams in an awkward middle ground: the official tools/pre-execute hook is available, but there is no out-of-the-box enterprise approval policy. dsh-approval-flow-poc closes that gap by classifying every tool call into allow, deny, or requireApproval based on a risk level (low / medium / high / critical), so you do not need to build a full security gateway from scratch.
The design follows a minimal-control philosophy. Critical calls are rejected outright; the developer, production, and strict presets map to local development, controlled pre-production, and high-sensitivity demos respectively, and switching is as simple as overriding one config block in the profile. When a human decision is needed the plugin returns DSH-native ask decisions, so the approval interaction stays entirely inside the built-in service and Web UI. Every call also writes a redacted JSONL audit row that records only the parameter summary and policy outcome, never the raw arguments.
It suits small and mid-size teams that already run agent workflows on DSH and want one extra human-confirmation gate on tool invocations. The project is explicit about its limits: no SSO, RBAC, multi-level co-signing, or compliance certification. It is a minimal PoC that can be validated quickly and later extended with Feishu or WeCom approval transports.
Use Cases
- Adding a human-confirmation gate to high-risk tool calls in DSH agent workflows
- Switching between developer, production, and strict security presets on the fly
- Recording redacted JSONL audit logs of every tool call for post-incident review
Best For
- Small and mid-size teams already running agent workflows on DSH
- Dev teams that need enterprise-style approval without full SSO or RBAC
- Plugin developers prototyping approval flows on the DSH tools/pre-execute extension point
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.