dsh-rules: Organizing Agent Principles into an Audible Rule Library

dsh-rules is a DSH workflow plugin maintained by xulei666a (MIT license, v1.1.1). It stores agent guidelines in ~/.dsh/rules/rules.jsonl, supports default/local scopes, semantic routing, classification trees, and issue ledgers. Active rules can be synced to the managed section of AGENTS.md. It provides 23 model tools, a management page, and a panel assistant. To install, search for dsh-rules in the Plugins marketplace, then restart DSH.

Read More
dsh-rules: DeepSeek Harness glob activation rules plugin

# Introduction Writing collaboration rules for agents often involves stacking all conventions into a single global prompt. However, when there are many rules, two issues arise: irrelevant content consumes the context window, and the model struggles to distinguish which rule applies to which files. Claude Code addresses this using `rules.md` and `# Path:` sections—rules declare the file scope they govern themselves and only take effect when touching matching files. If you are developing on DeepSeek Harness (DSH) and want this same mechanism, the `dsh-rules` introduced below provides exactly that: rules match files using glob patterns, and when the agent reads or edits matching files, the rule content is automatically injected into the conversation. # What is it dsh-rules is created by rj-jiangyich

Read More