dsh-dialog-fence

Per-conversation behavioral rule fence for DeepSeek Harness: rules live in one JSON file, are edited from a Settings page or the conversation panel, and every rule carries its own on/off switch so a single rule can be muted without deleting it (muted rules are skipped at injection and the remaining numbering stays contiguous); any number of conversations can also be excluded as a whole so they receive no fence at all, and picking conversations never touches the rules themselves; the enabled rules are injected as one runtime-context section at a fixed order so the system prompt prefix stays stable.

Overview

Per-conversation behavioral rule fence for DeepSeek Harness: rules live in one JSON file, are edited from a Settings page or the conversation panel, and every rule carries its own on/off switch so a single rule can be muted without deleting it (muted rules are skipped at injection and the remaining numbering stays contiguous); any number of conversations can also be excluded as a whole so they receive no fence at all, and picking conversations never touches the rules themselves; the enabled rules are injected as one runtime-context section at a fixed order so the system prompt prefix stays stable.

Installation

Install from GitHub

dsh plugin --profile web add github:ILoveHAKU/dsh-dialog-fence

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands