DeepSeek Harness Plugin

kongbai9420/dsh-boss-worker

Stars ★ 3 Category Workflow & Automation Added 2026-10-17

Hierarchical multi-agent team coordination with lead review gates, write-scope isolation, and floating workspace.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:kongbai9420/dsh-boss-worker

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

DSH Boss Worker

Choose models per node. Coordinate with workflows. Deliver with evidence.

A multi-model workflow workbench for DeepSeek Harness

简体中文 · English

Quick start · How it works · Documentation · Changelog


[!NOTE] Current version: 0.2.0-beta.28 · Beta pre-release. See verification boundaries below and download the package and checksums from the Release.

Why use it

Turn requirements into nodes in DSH's official workflow tab. Choose a Provider / model for each node, then connect dependencies, reviews and rework. Model configurations, execution states and acceptance evidence stay recorded from draft to delivery.

Capability What you get
Models per node Choose execution and independent review models directly, without maintaining a worker pool
Branches and joins Independent nodes run in parallel when dependencies pass and declared write scopes do not conflict
Editable workflows Drag connections, change layout, undo/redo, attach Skills, import/export templates
Evidence-based acceptance Reconcile original requirements, retain verification history and distinguish failure from missing evidence
Explicit rework Re-execute the rejection target and affected downstream nodes along canvas routes
Runtime visibility Inspect node calls, rework, independent review, Token usage and estimated cost

How it works

flowchart LR
    A[Requirements and planning] --> B[Plan review]
    B --> C[Frontend implementation]
    B --> D[Backend implementation]
    C --> E[Integration and testing]
    D --> E
    E --> F[Independent acceptance]
    F -->|Pass| G[Delivery and reconciliation]
    F -->|Reject| C
    F -->|Reject| D

This conceptual example shows branching, joining and rework. Canvas connections define actual dependencies; the built-in full-stack template also includes architecture, UX and delivery nodes.

There is no worker-count or maximum-concurrency setting. The same model can create multiple independent execution instances. Scheduling follows dependencies and declared write scopes; conflicting writes queue. A single direct controller execution context remains serial.

Workflow type Best for Rules
Parallel graph · kind=dag Custom branches and joins; the default for new templates passed dependencies must be acyclic; rejected returns to a predecessor or the same node
Model handoff chain · no kind Switching models sequentially for one task Pass, rejection, rework limit, timeout and error routes; one successor per condition
Governed orchestration · kind=orchestration Three Departments and Six Ministries; full-stack team Structured planning, plan review, delegation, joining, final acceptance and reporting

Applying a parallel graph with multiple terminal nodes and no explicit join adds a visible delivery-and-acceptance join. A handoff graph with multiple passing successors from one node is identified and validated as a parallel graph. See the workflow guide.

Quick start

Use in DSH

  1. Configure available Providers and models in DSH, then install the local package through the app's plugin manager.
  2. Open the official workflow tab and select a template or create a workflow.
  3. Choose each node's model, responsibility, Skills, write scopes, rework budget and timeout. Adjust its independent review model as needed.
  4. Connect pass routes for dependencies and rejection routes for rework targets.
  5. Save a draft or apply it to an unstarted task. Approve or start orchestration under the current approval policy.
  6. Check results in execution records and requirement reconciliation; deliver once the original requirements have valid acceptance evidence.

Previewing, saving and applying a workflow do not immediately call models. Applied nodes retain snapshots of execution and review configurations; editing the shared catalog does not silently change their models.

Screenshot from offline interaction verification, showing template editing, model selection and responsibilities. offline / C is a test fixture. The interface shown is in Chinese.

Build from source

Use Node.js 24, matching the repository CI.

git clone https://github.com/kongbai9420/dsh-boss-worker.git
cd dsh-boss-worker
npm ci --legacy-peer-deps --ignore-scripts
npm run build:client
npm test
npm run test:client
npm pack --ignore-scripts

This creates a local .tgz package. Check package.json in your checkout for its version. client/ contains frontend sources; client.js is generated. Host contract checks also require official DSH dependencies; see the CI configuration for installation and execution.

Try the offline workbench:

node scripts/preview-workbench.mjs

Open the local address printed in the terminal. Preview uses a temporary Profile and offline models; it does not operate on real sessions or incur model API charges.

Acceptance and runtime controls

Area Current behavior
Quality and evidence A model's passed=true cannot override a confirmed failure; missing evidence preserves results pending verification
Final delivery Reconcile each original requirement's version, status and reviewable reference; a verbal summary is insufficient
Verification corrections The latest trusted verification within the same version and execution epoch applies; history remains, and worker self-reports cannot override trusted conclusions
Independent acceptance New implementation nodes default to an independent review context; manual verification requires recorded evidence before review
Read-only review Inspect files and existing evidence; test execution belongs to test nodes
Pause scheduling Stop new dispatches while started calls settle; interruption, cancellation and draining are distinct actions
Cancellation and recovery Cancelling upstream work blocks affected dependants; interrupted work requires inspection and confirmation after restart

writeScopes supports task contracts, conflict scheduling and delivery checks; it is not filesystem isolation. Execution follows the host sandbox and approvals. BOSS direct dispatch and automatic management are session-private switches; rework and approval defaults retain shared settings.

Usage and pricing

Node totals include rework and independent review, attributed to the actual Provider / model. Add prices directly from available models; use official reference prices, manual overrides, display units and explicit conversions.

Session budgets are reminders and do not stop execution. Unknown usage and unpriced costs are explicit. Estimates do not represent invoices, subscription quotas or account balances. See runtime monitoring.

Verification status

Last verified: 2026-10-27. These are local records, not a claim that remote GitHub Actions have run.

Check Result and scope
Unit and business regression tests 412 passed, 0 failed, 0 skipped
Official host and frontend contracts Passed on DSH 0.1.7-rc.2, 0.2.0-rc.2 and 0.2.1-rc.2
Interface interaction Offline template editing, model selection, saving and reopening verified
Live Providers Full paid tasks, rate limits and invoice reconciliation still require separate acceptance

Compatibility tests use real official host dependencies with offline model fixtures. See compatibility. Legacy members / memberId and maxParallel remain migration inputs; they no longer represent execution-instance counts or scheduling limits.

Documentation and participation

Document Contents
Documentation hub Bilingual navigation and reading order
Workflows Parallelism, handoff, rejection, application and recovery
Model routing Fixed models, tiers, snapshots and migration
Full-stack team Roles, dependencies and targeted rework
Runtime monitoring Tokens, pricing, budgets and metric definitions
Compatibility · Roadmap · Changelog Verification boundaries, next steps and version history

Report problems through Issues with the plugin version, DSH version, reproduction steps and sanitized logs. Contributions should describe behavior changes and verification results; development commands are above.

Released under the MIT License. See third-party notices for bundled dependency licenses.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.