MIT DSH plugin that drives long coding tasks through staged tracks and a step state machine, with verification gates and optional read-only planning before code edits are allowed.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-25
License
Not specified by the author
01What can it help you accomplish?
Turn a long coding request into plan-then-code work with a checked stage sequence
A task following feat / issue / refactor stages, with `task.json.steps` as the single execution checklist and verification before completion
DSH users running multi-hour refactors or feature work where the model otherwise edits before designing
Keep every task's state, artifacts and verification record in one place per project
`task.json` plus stage deliverable templates under `.trellis/tasks/<slug>/`, archived to `.trellis/tasks/archive/YYYY-MM/`, with session bindings isolated per conversation
Teams that want the agent's plan, design and check notes to be files they can review and commit
Watch and steer the workflow from the DSH Web client instead of prompting blind
A phase badge with a compact popover (current task as a focus card with its step tracker) that expands to a full task board with ⌘K search, workflow filter and a detail drawer
DSH Web users who want to see which stage a task is in and push it forward without editing task state by hand
02How to install into DeepSeek Harness
Prerequisites
- Node.js 20 or newer
- A DSH runtime whose version is covered by the plugin's declared `@deepseek-ai/dsh-*` peer range — this repository targets DSH 0.2.0-rc.2, and a mismatch is rejected at install time
- At least one project root you are willing to add to the allowlist; with an empty allowlist the plugin does not intervene in any project
Installation steps
- 01
Run `dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest`
$ dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest
- 02
Restart the DSH service
- 03
In the DSH Web client open the sidebar Plugins icon, go to Installed and open @banana-peeljj12/dsh-trellis — the config form is on the outermost detail page
- 04
Add the absolute project root paths you want the workflow to cover to the allowlist, either typed by hand or picked with the Browse… folder selector; saving takes effect immediately
- 05
Optionally switch on enforceReadonlyPlanning on the same page to block source edits until a plan is approved
- 06
Desktop app users: install through the bundled carrier CLI with `plugin --profile desktop add link:F:\dsh-plugins\dsh-trellis`, then fully quit the app including the tray icon and restart it
Verify the integration
- After the restart, @banana-peeljj12/dsh-trellis is listed under Installed in the sidebar Plugins page
- Ask for a complex change in a project that is on the allowlist — the model guides you into creating or advancing a workflow task
- `trellis_state` reports the current project's Trellis runtime state and task information
- The phase badge above the conversation expands into the task board and its detail panel
03DSH integration and capability boundaries
Native DSH plugin bundle installed with `dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest`, then restarted. It registers a pre-step hook, seven `trellis_*` tools, runtime tool filtering, task files under `.trellis/`, and a phase badge with a task board in the Web client.
Three workflow tracks
A feature request, a bug report or a refactor goal→A task named `feat-MM-DD-name` / `issue-MM-DD-name` / `refactor-MM-DD-name` advancing through prd → design → impl → review → check, report → analyze → fix → fix-note, or scan → design → apply → done
stage state is tied to `work.stage` in the task recordStep state machine and verification gate
`task.json.steps` entries with a verification mode→Steps moving pending → in_progress → verifying → completed, or blocked with a `blockedReason`; AI-verified steps need test notes, human gates need explicit approval
completing or archiving a task audits that all steps passed and the Git worktree is cleanRead-only planning mode (optional)
`enforceReadonlyPlanning: true` plus the current task state→A denylist that removes `write` / `edit` and task-write tools while the plan is undecided or in a planning stage, and restores them once the task is authorized
other tools, including those from other plugins, stay untouchedonly whitelisted documents inside `.trellis/tasks/<slug>/` can be updatedTask board and phase badge
The phase badge above a conversation in the DSH Web client→A compact popover with the bound task as a focus card and its step tracker, expandable to a full board with status groups, ⌘K search, workflow filter and a detail drawer
the board does not mutate task state; ▶ advances a task by filling the prompt into the input boxartifacts open as `@.trellis/tasks/...` file referencesProject doc injection
`.trellis/doc.json` listing Markdown files and optional per-project KB budgets→The bodies of the listed documents injected within the file and total budget, with truncation annotated; falls back to indexing `.trellis/spec/` when no doc.json exists
explicitly configured files replace the old spec scanbudgets are clamped to 128 KB per file and 512 KB total
04Who is it for? When not to use it?
Good for
- DSH users running multi-hour refactors or feature work where the model otherwise edits before designing
- Teams that want the agent's plan, design and check notes to be files they can review and commit
- DSH Web users who want to see which stage a task is in and push it forward without editing task state by hand
Not for
- The declared `@deepseek-ai/dsh-*` peer range must cover your DSH runtime: DSH checks it before pnpm runs and again at profile start, and a mismatch yields `installation rejected` instead of a load. This repository targets DSH 0.2.0-rc.2, so re-check the range after a DSH upgrade.
- The allowlist defaults to empty, which means the plugin intervenes in no project at all — you must add absolute project root paths. With enforceReadonlyPlanning on, `write` and `edit` are stripped during planning, so the model genuinely cannot touch source until the plan is authorized.
- Task state is written inside each project: `task.json.steps`, session bindings under `.trellis/.runtime/sessions/`, artifacts under `.trellis/tasks/<slug>/` and archives under `.trellis/tasks/archive/YYYY-MM/`. Completing or archiving also audits the Git worktree, so uncommitted changes block the transition unless you declare `modified_files`.
- On the desktop app the plain `dsh` CLI refuses the `desktop` profile outright — that name is hardcoded as Electron-managed — so you must use the bundled carrier CLI, and after installing you have to fully quit the app including the tray icon for it to take effect.
05Compatibility, maintenance and safety notes
- The declared `@deepseek-ai/dsh-*` peer range must cover your DSH runtime: DSH checks it before pnpm runs and again at profile start, and a mismatch yields `installation rejected` instead of a load. This repository targets DSH 0.2.0-rc.2, so re-check the range after a DSH upgrade.
- The allowlist defaults to empty, which means the plugin intervenes in no project at all — you must add absolute project root paths. With enforceReadonlyPlanning on, `write` and `edit` are stripped during planning, so the model genuinely cannot touch source until the plan is authorized.
- Task state is written inside each project: `task.json.steps`, session bindings under `.trellis/.runtime/sessions/`, artifacts under `.trellis/tasks/<slug>/` and archives under `.trellis/tasks/archive/YYYY-MM/`. Completing or archiving also audits the Git worktree, so uncommitted changes block the transition unless you declare `modified_files`.
- On the desktop app the plain `dsh` CLI refuses the `desktop` profile outright — that name is hardcoded as Electron-managed — so you must use the bundled carrier CLI, and after installing you have to fully quit the app including the tray icon for it to take effect.
MIT (stated in the README; no license value in the repository metadata) · active, last push 2026-11-03, latest release v0.5.1, published as @banana-peeljj12/dsh-trellis
06Frequently asked questions
How do I install dsh-trellis into DeepSeek Harness?
With Node.js 20 or newer, run `dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest` and restart the DSH service. On the desktop app the plain dsh CLI refuses the desktop profile, so use the bundled carrier CLI with `plugin --profile desktop add link:F:\dsh-plugins\dsh-trellis`, then fully quit the app including the tray icon before starting it again.
Why does nothing happen in my project after installing?
The allowlist defaults to an empty list, which means the plugin does not intervene in any project. Open the sidebar Plugins page → Installed → @banana-peeljj12/dsh-trellis and add the absolute project root paths, either typed or picked with Browse…; the change takes effect on save.
What does enforceReadonlyPlanning actually block?
It is a denylist, not a global lock: while the task is undecided or in a planning stage it removes `write` / `edit` and the task-write tools, and once the task is authorized nothing is stripped. Other tools, including those registered by other plugins, are left as they are, and `trellis_artifact_update` can only touch whitelisted documents inside the current `.trellis/tasks/<slug>/`.
Why can't I mark a task complete or archive it?
Completion and archiving audit that every step passed verification and that the Git worktree is clean. Steps with `verification: 'ai'` need `verified: true` plus test notes from `trellis_task_update`, human gates need explicit approval recorded as `verifiedBy: 'human'`, and uncommitted changes block the transition unless you declare `modified_files`.
How do I skip the workflow for one turn?
Include `no-trellis` in the message and that turn skips breadcrumb injection and interception; `trellis_task_skip` skips the workflow for the current session with your consent. The system-prompt level injectSpecIndex / enforceReadonlyPlanning settings are session-wide and are not suppressed by the keyword, so turn those off with their own switches.
07Related DSH workflows
dsh-agent-teams
by nanmicoder
AgentTeams 多智能体团队协作插件:自然语言驱动建团队、拉成员、拆任务声明依赖、成员间消息直达,Web 右上角活动面板
dsh-blender-plugin
by sixtysevenlf
Adds tools for Blender scene editing, viewport capture, render profiling, headless work, and verification.
dsh-free-search
by dddmuc
DSH 免费搜索插件,执行联网检索。
dsh-bili-scroll
by c1overzz
Schedules Bilibili discovery, reads subtitles, writes daily reports, and optionally posts a comment tagging you.
08Data and sources
`dsh-trellis` 是为 [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) 开发的工程化工作流插件,借鉴了 [Trellis](htt…
`dsh-trellis` 通过统一的步骤状态机、任务阶段流转和运行时工具过滤,帮助大模型在复杂任务中遵循“先方案后编码、验证后再完结”的工程规范。
- **结构化阶段流转**:提供特性开发(feat)、缺陷修复(issue)与代码重构(refactor)三条标准阶段轨道,引导模型逐步推进。
- **`trellis_task_create`**:创建新的工作流任务,生成初始 `task.json` 与阶段交付物模板,并自动绑定当前会话。
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-25. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
