dsh-split-proof

Read-only split-rule acceptance for DeepSeek Harness: point it at a Clash/Mihomo profile plus a JSON suite of expected routes (direct / proxy / block or a concrete policy) and it walks the rules in their real order, reporting per domain the expected route, the matched rule with its index and raw text, and what actually happens. Rules that need DNS, an IP-geo database or phone runtime state are marked as undecidable offline instead of guessed. Optional baseline diff checks that domestic direct routes did not move. Ships an agent tool, a conversation-view panel, a CLI with exit codes, and a self-contained HTML report. Zero runtime dependencies, no network, writes no device configuration. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Read-only split-rule acceptance for DeepSeek Harness: point it at a Clash/Mihomo profile plus a JSON suite of expected routes (direct / proxy / block or a concrete policy) and it walks the rules in their real order, reporting per domain the expected route, the matched rule with its index and raw text, and what actually happens. Rules that need DNS, an IP-geo database or phone runtime state are marked as undecidable offline instead of guessed. Optional baseline diff checks that domestic direct routes did not move. Ships an agent tool, a conversation-view panel, a CLI with exit codes, and a self-contained HTML report. Zero runtime dependencies, no network, writes no device configuration. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from GitHub

dsh plugin --profile web add github:dingchenhui0618-arch/dsh-split-proof

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.