dsh-anchored-standard-1024
DiscoveredTwo-phase DeepSeek Harness preset: Minimal-aligned bootstrap (bash+read, 1024-token cap, either promotion), then full Standard tools
dsh-anchored-standard-1024
An experimental DeepSeek Harness agent preset that bootstraps the first model
request with the Minimal-aligned system prompt, a two-tool schema
(bash + read), a 1024-token output cap, and no auto-injected workspace
or skill context — then exposes the complete Standard tool catalog after the
first durable tool call or reply.
This is a community project. It is not an official DeepSeek preset and is not affiliated with or endorsed by DeepSeek.
Why
DeepSeek V4 Pro conditions strongly on the API-visible tool catalog and on the first request's shape. A full 25-tool Standard opening and a large output budget often push the model into a "survey everything first" trajectory; the Minimal opening anchors a "pick up the tool and start" trajectory but keeps only two tools forever.
This preset separates initial trajectory selection from later tool use:
- Keep the Minimal-complete system prompt.
- First request =
bash+readonly,maxTokens = 1024, and the auto-injected skill catalog / workspace-instruction digest is stripped. - After the first durable signal (
tool/callorassistant/message), the full Standard catalog and the normal output budget return and never re-narrow.
Key differences from the upstream xiaobright/dsh-anchored-standard:
| upstream | this preset | |
|---|---|---|
| bootstrap tools | bash + str_replace_editor | bash + read |
| first-request output cap | adapter default | 1024 tokens |
| promotion signal | first tool call | first tool call or first reply (either) |
| first-request context | minimal | minimal + explicit source-based strip |
Mechanism
request #1 request #2+ (after promotion)
───────────────────────────── ─────────────────────────────
system: Minimal-complete system: unchanged (complete)
tools: [bash, read] tools: full Standard catalog
maxTokens: 1024 maxTokens: previous header value
skill catalog: stripped skill catalog: injected normally
AGENTS.md digest: stripped AGENTS.md digest: injected normally
Phase is derived from durable session events, so resume/reload preserves it. All three filters (catalog, budget, context) fail open: any filter error degrades to the full catalog instead of breaking the session.
Evidence (n = 1, honest disclosure)
Local experiment, 2026-08-16, deepseek-v4-pro, identical real task
("invest architecture root-cause research + remediation plan") run in two fresh
sessions — Standard preset vs this preset — then scored blind (anonymized
full-text review, reviewer did not know which document came from which preset):
| Standard | Anchored Standard (this preset) | |
|---|---|---|
| blind score (/100) | 82 | 94 |
| first-request tools | 25 tools, maxTokens 256000 | bash + read, maxTokens 1024 |
| tool calls | 51 | 85 |
| repeated reads | 0 | 2 |
Read this honestly: the anchored run scored higher and found three more real mechanism defects, but it also used more tool calls. This is a single sample on a single task type — evidence that the preset works as designed, not proof that it is universally better. Try it on your own workload and judge for yourself.
Install
Clone this repository, then copy the preset/ directory into the user preset
root under the id anchored-standard-1024:
git clone https://github.com/sishuai33-commits/dsh-anchored-standard-1024.git
mkdir -p ~/.dsh/.agent-presets
cp -R dsh-anchored-standard-1024/preset ~/.dsh/.agent-presets/anchored-standard-1024
Restart DSH, open a new session, and select Anchored Standard (1024) in the session preset picker. You can verify the first request in the session log:
# inside a session dir: <session>.jsonl.zstd
# decompress and inspect the first request/header:
# config.maxTokens == 1024 and tools == ["bash", "read"]
Uninstall:
rm -rf ~/.dsh/.agent-presets/anchored-standard-1024
Verify (three layers, most reliable first)
- Unit tests — 14 deterministic tests for the three bootstrap filters,
no model endpoint, runs in CI on every push:
npm test - Official composition validation — stages the preset in a temp root and
runs the harness's own
discoverPresetsvalidation (same code path the preset picker uses; catches broken rows / missing files). Requires a local DeepSeek Harness install:npm run verify # node verify/check-preset.mjs npm run check # syntax + unit tests + composition validation - Real-endpoint smoke (manual, optional) — install the preset, open a new
session, then inspect
session.jsonl.zstd: the firstrequest/headermust haveconfig.maxTokens == 1024andtools == ["bash","read"]. CI does not run this layer because it would need model credentials.
Files
preset/
preset.yml display metadata
agent.cordis.yml composition (persona, tools, skills, planning, ...)
tool-bootstrap.mjs the three first-request filters
test/
tool-bootstrap.test.mjs
License and attribution
MIT. This preset is derived from
xiaobright/dsh-anchored-standard
(MIT) — see NOTICE. DeepSeek Harness and its presets are © their respective
owners; this project is independent and experimental.
Comments
Loading…
Similar plugins
by Jungod1121
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap (bash+read), then full Standard tools after the first tool call or reply
★ 26
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-anchored-standardby rinDBeans
DeepSeek V4 Pro/Flash unified anchored agent preset for DeepSeek Harness (official API & opencode-go): two-stage RL-aligned bootstrap, model-aware path routing, epoch-aware long-session stability
★ 12
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-miraculous-standardUnified anchored agent preset for DeepSeek V4 Pro/Flash on the official API and opencode-go: Minimal-exact two-tool first-request bootstrap, model-aware Pro/Flash paths, and epoch-aware catalog manage
★ 0
dsh plugin --profile web add dsh-miraculous-standardby xiaoso456
DeepSeek Harness 基础工具增强:持久 bash、结构化 read、多模式 edit、原子 write、双引擎 grep/glob、图像直读,一个插件全覆盖
★ 8
↓ 404/wk
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add @xiaoso/dsh-tool-plusby Yan-Zero
An automatically mounted, presentation-only progressive tool disclosure layer for every DeepSeek Harness Agent preset in Native, Code, and Both modes.
★ 3
↓ 52/wk
Apache-2.0
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-progressive-toolsby labmimors
Search 1,000 MCP tools through two interfaces in DeepSeek Harness. Load exact schemas on demand and keep structured results usable across tool calls.
★ 9
MIT
TypeScript
Sep 11, 2026
dsh plugin --profile web add dsh-mcp-lens