Introduction

In the development practice of DeepSeek Harness (DSH), context management often involves the complexities of access control and auditing. Existing approaches can easily lead to coupling between context and execution logic, or a lack of fine-grained permission control mechanisms. The laodonge/col-dsh-plugin plugin aims to address these issues by providing a structured Context Organization Layer (COL).

What This Is

This is a plugin for DeepSeek Harness (DSH) and Cordis, maintained by the user laodonge. It decouples context management from execution logic by introducing persistent context slots and treating executors (such as agents, models, and scripts) as replaceable components.

Core Features

The plugin provides the following core capabilities:

  • Fail-closed permission checker: Adopts a conservative policy when permission checks fail, namely fail-closed.
  • Two-stage audit events: Supports staged auditing of events and provides a replay mechanism.
  • Permission-pruning Briefs: Automatically prunes permissions in Briefs and restricts access to sensitive information.
  • Zero runtime dependencies: Depends on no other runtime libraries except the peer dependency @deepseek-ai/cordis.

Installation and Enablement

The official documentation does not provide a specific installation command. Because the installation process cannot be confirmed, it is recommended to directly check the source repository for the correct installation method.

Typical Usage

Specific typical usage examples cannot be confirmed at this time. According to the plugin description, its primary use case is integration into the DSH/Cordis ecosystem to manage context organization and permission control.

Use Cases and Notes

This plugin is suitable for DSH projects that require strict permission management and context isolation.

  • Runtime permissions: The plugin runs with the permissions of the current DSH process; developers should be aware of potential security risks.
  • Source code review: Before installation, be sure to review the source code and license information to assess compliance.

Summary

This plugin provides DSH with a new context organization and permission management solution. For more details, please visit the community directory or the GitHub repository.