dsh-complex-project-preset
Manifest validAgent preset for DeepSeek Harness: the standard tool stack plus four working rules written into the persona prompt — a project keeps at most four documents (intro, decisions, change log, current state
dsh-complex-project-preset
An agent preset for DeepSeek Harness (DSH): the full standard tool stack, plus the discipline to think before it types.
中文版: README.zh.md
The whole preset lives in cordis.patch.yml: it inserts one @deepseek-ai/dsh-agent-preset row into the profile and registers a preset with the id complex-project. The package ships configuration only — no host code, no browser UI — so there is very little that an upgrade can break.
Why
The standard preset gets work done, but it will not hold a line on its own: diffs creep, project docs turn into changelogs, and code goes up before you said so.
This preset writes four rules into the persona prompt, so every session starts with them already in force:
| Rule | In one line |
|---|---|
| Four documents | A project keeps at most four docs: intro, decisions, change log, current state & next steps |
| Current state only | No AI edit history, no superseded decisions, no leftover "stage 1–5" wording |
| Commit/push red line | No git commit, git push, or PR until you explicitly say so |
| Careful coding + plain language | Restate the goal and the done-criteria first, make surgical diffs, lead reports with the conclusion |
What's inside
The tool stack matches the standard preset — bash/pwsh chosen per platform, file read/write and search, tasks and background jobs, skills, plan mode, compaction, subagents and workflows, web fetch, the TODO tool, present. What differs is the persona prompt and the documentation rules:
persona— the four-document policy, current-state-only docs, the commit/push red line, the careful-coding rules, and plain-language reporting;agent-instructions— still loads your globalAGENTS.md(64 KB cap);planning/compaction/delegation— same groups and isolation settings as standard;tool-plugin-manager— disabled, so the agent cannot rewrite its own plugin tree.
⚠️ The persona block deliberately sets no
suffix. DSH registers onlyproviderandmodelas prompt variables; any other{{name}}throws during prompt assembly and the whole turn fails before a single request is sent. The working directory is injected by the runtime context already, so declaring it here is redundant as well as fatal.
Install
# from npm (recommended — prebuilt install, no build approval)
dsh plugin --profile web add dsh-complex-project-preset
# or from the repository / a local directory
dsh plugin --profile web add https://github.com/sueqet/dsh-complex-project-preset
dsh plugin --profile web add link:<local-dir>
Restart the profile (run dsh web again, or restart the desktop app) — a preset is a row in the profile composition, not a runtime hot-load.
Uninstall: dsh plugin --profile web remove dsh-complex-project-preset
Conflicts with a hand-rolled copy
If your profile's cordis.patch.yml already declares - id: preset-complex-project by hand, installing this package registers the same preset twice and DSH reports Duplicate agent preset: complex-project. To switch over:
- delete that
- id: preset-complex-project ...block from yourcordis.patch.yml; dsh plugin --profile <name> add dsh-complex-project-preset;- restart the profile.
Only one package should provide complex-project at a time.
Version requirement
Requires DSH ≥ 0.1.7-rc.2 (the preset registry @deepseek-ai/dsh-agent-preset-registry joins the base composition there) and Node.js ≥ 22.19.0. Verified on DSH 0.1.7-rc.2 and on the desktop build 0.2.1-rc.2.
The Node floor is the harness's own rather than this package's: DSH compositions call process.getBuiltinModule, which Node ships from 22.3 onwards. This package is a manifest plus one YAML patch — no host code, no browser code, no install-time scripts — so it never loads JavaScript of its own, and the floor only mirrors where DSH can run at all.
Verify
After a restart, open the mode picker for a new session: 复杂项目模式 (order 2, right after the standard preset) should be listed. Start a session with it and ask about the project's current state — the answer should talk in terms of the four documents rather than freeform.
From the CLI you can also inspect the composed tree:
dsh --profile web --dump-config | grep -A3 preset-complex-project
Develop
npm test # checks manifest + cordis.patch.yml consistency, including !!js parsing
npm pack --dry-run
tools/smoke.mjs verifies that dsh.bundle.patch points at a file that exists, that repository points back at this repo, that every required preset field is present, that child row ids are unique, and that the persona prompt is neither truncated nor carrying a stray suffix. It parses the patch with the harness's own loadOverlayPatches when available, so !!js expressions behave exactly as they do at boot.
License
MIT © 2026 sueqet
Comments
Loading…
Similar plugins
by Senguk520
A Multitask "shock absorber" plugin & agent preset for DeepSeek Harness (DSH): the main chat only plans, briefs subagents and summarizes results, while file reads, commands, search and builds all run inside subagent contexts. Four worker types, an approval gate, zero DSH source changes.
★ 1
↓ 656/wk
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-multitaskby Neo65536-engineer
Read-only work reports for DeepSeek Harness: reconstruct what an agent task actually did from session logs — tools used, files read/written, commands run, test results, failures, token usage, and whether it finished. Fully offline, no API key, no data leaves your machine.
★ 1
MIT
JavaScript
Sep 26, 2026
dsh plugin --profile web add dsh-agent-logby BOWLUNA
Structured git tools for DeepSeek Harness agents: status, diff, log, branch, commit and stash - pinned output, no shell involved, approval-gated writes.
★ 0
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-zcode-gitby ccneedb
An additive project-governance layer for DeepSeek Harness. Verifiable prototype — see the status section before relying on it.
★ 1
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-information-environment-governanceby mario841859784
Agent preset plugin for DeepSeek Harness that triages every request, delegates implementation to an expert, and schedules parallel work through a dependency-DAG taskboard and a file-based message bus
★ 3
↓ 626/wk
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-expert-orchestratorby 82c86b8z86-stack
Engineering workflow layer for DeepSeek Harness (dsh): a disciplined-engineer agent preset with five gated phases — requirements clarification, plan approval, TDD, parallel subagent execution, and ver
★ 4
MIT
JavaScript
Oct 11, 2026
dsh plugin --profile web add dsh-engineering-workflow