dsh-imperial-court

Implements DeepSeek Harness's super-agent (router–worker) design on your own machine: a resident router, the Chancellor's Office, splits a request into tasks, triages and queues them by fixed rules without model calls, and starts each one as an isolated worker on its own git worktree and branch, surfacing only what needs your decision; an unattended mode repairs failed audits and archives passed ones. Inside each task the coding CLIs run as a Tang-dynasty court: one tool drafts a plan, a second reviews or vetoes it, six ministries work in parallel by dependency, an inspector checks each output and a final audit runs before you approve, and nothing is merged until then. Supports Claude Code, Codex, Gemini CLI, Cursor CLI, OpenCode, Qwen Code, WorkBuddy and DSH itself via dsh headless, with a tool catalog that shows install commands, per-call token and cost accounting with budgets, and an English Roman Senate mode.

Overview

Implements DeepSeek Harness's super-agent (router–worker) design on your own machine: a resident router, the Chancellor's Office, splits a request into tasks, triages and queues them by fixed rules without model calls, and starts each one as an isolated worker on its own git worktree and branch, surfacing only what needs your decision; an unattended mode repairs failed audits and archives passed ones. Inside each task the coding CLIs run as a Tang-dynasty court: one tool drafts a plan, a second reviews or vetoes it, six ministries work in parallel by dependency, an inspector checks each output and a final audit runs before you approve, and nothing is merged until then. Supports Claude Code, Codex, Gemini CLI, Cursor CLI, OpenCode, Qwen Code, WorkBuddy and DSH itself via dsh headless, with a tool catalog that shows install commands, per-call token and cost accounting with budgets, and an English Roman Senate mode.

Installation

Install from npm

dsh plugin --profile web add dsh-sansheng-liubu

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:shilaoban666/dsh-imperial-court

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