Three Departments and Six Ministries (dsh-imperial-court): Local Multi-Tool Collaboration with Isolated Branch Review and Merge

Three Departments and Six Ministries (dsh-sansheng-liubu) is a DeepSeek Harness workflow plugin maintained by shilaoban666. It orchestrates local agents such as DSH, Claude Code, and Codex using a Router–Worker architecture inspired by the imperial bureaucratic system: the Secretariat (Zhongshu) drafts edicts, the Chancellery (Menxia) conducts independent cross-review, and the Six Ministries execute tasks in parallel according to declared dependencies. Each edict is isolated via a git worktree, and the main working directory remains untouched until final approval (imperial review). The Chancellor's Office supports batch multi-task dispatch, a pending-edict queue, and a low-disturbance "Chancellor mode." Install with `dsh plugin --profile desktop add dsh-sansheng-liubu`. Requires Node 20+ and git. MIT licensed.

Read More