Introduction¶
The approval workflow in DeepSeek Harness (DSH) involves high-risk permissions such as Shell execution and file read/write operations. Developers often need to manually approve each request one by one, which is inefficient and prone to oversight. The AutoConsent plugin provides DSH with task-boundary-controlled automatic approval capabilities, supporting one-click auto-approval and multi-layer rule management to reduce repetitive operations in controlled environments.
What Is This¶
AutoConsent is a plugin that provides automatic approval capabilities for DeepSeek Harness, maintained by mxxz11. It addresses the frequent manual approval bottleneck in the DSH approval workflow by implementing rule and blacklist mechanisms, achieving automatic consent while ensuring security.
Core Features¶
One-Click Auto-Approval¶
Supports three modes:
- Always-on: continuous automatic approval
- 5 minutes: timed automatic approval, automatically disabled upon expiration
- 10 minutes: timed automatic approval, automatically disabled upon expiration
Decision Priority¶
Decisions are applied in the following order of precedence:
Blacklist > Task Contract > Resource Quota > Group Toggle > One-click Approval
Blacklist Interception¶
Blacklist and contract rules carry the highest priority. When quotas are exhausted or a group is disabled, the system forces a fallback to manual approval, which cannot be bypassed.
Visual Control Panel¶
Provides an intuitive view of toggle states, remaining time, and rule configurations.
Audit Logs¶
Each decision is accompanied by a hash chain, allowing clear differentiation between auto-approval, manual approval, and rejection.
Installation and Activation¶
Install using the repository Git URL:
dsh plugin add https://github.com/mxxz11/dsh-autocontest.git
The plugin is automatically enabled after installation.
Typical Usage¶
- After installing the plugin via the command, DSH loads the automatic approval logic.
- Configure the blacklist, group toggles, and quota limits in the panel.
- Select an auto-approval mode (Always-on / 5 minutes / 10 minutes).
- When an approval request is received, the system evaluates whether to auto-approve based on decision priority and records the outcome in the audit log.
Use Cases and Precautions¶
Best suited for local, trusted development environments to reduce repetitive manual approval operations. The plugin takes over the approval workflow and automatically grants code execution and file read/write requests. Before use, please review the source code and license (MIT). It is not recommended to enable auto-approval mode in production or public environments.
Conclusion¶
AutoConsent implements auto-approval and boundary control within DeepSeek Harness through its rule and blacklist mechanisms. For more details, please visit:
- Plugin directory page: https://www.skillhub.cn/plugins/mxxz11/dsh-autocontest
- GitHub repository: https://github.com/mxxz11/dsh-autocontest