dsh-depth-tool-gate

Tool-surface governance for DeepSeek Harness: scope-separated deny lists cut each agent's tool visibility through the host tools.restrict() API, unseen tool names wait in a pending gate, and dispatch_composed assembles a minimal surface from capability tags — a tasks array runs subagents in parallel, and a continued subagent keeps its original surface. Every tool also gets an auto-written one-line purpose note, so agents can look up what a tool actually does instead of guessing from a truncated summary, and a read-only explain_gate reports what was cut and by which rule. Every decision goes to an append-only ledger that rotates into dated archives without ever losing history.

Overview

Tool-surface governance for DeepSeek Harness: scope-separated deny lists cut each agent's tool visibility through the host tools.restrict() API, unseen tool names wait in a pending gate, and dispatch_composed assembles a minimal surface from capability tags — a tasks array runs subagents in parallel, and a continued subagent keeps its original surface. Every tool also gets an auto-written one-line purpose note, so agents can look up what a tool actually does instead of guessing from a truncated summary, and a read-only explain_gate reports what was cut and by which rule. Every decision goes to an append-only ledger that rotates into dated archives without ever losing history.

Installation

Install from GitHub

dsh plugin --profile web add github:DDL095/dsh-depth-tool-gate

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.