dHR-P/dsh-anchored-wsl

dHR-P★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Two-phase DeepSeek Harness preset: first turn = official Minimal mode (We-chain anchor), then full Standard tools on Windows (Git Bash / WSL). 首轮极简锚定 + 第二轮标准工具

README 摘要

dsh-anchored-wsl 两阶段 DeepSeek Harness Agent 预设: 首轮完全等价官方极简模式 (锚定 V4 Pro 的 We 思维链), 首个工具调用/回复后自动切换完整标准工具目录 ,Windows 原生可用(Git Bash / WSL 执行,绕开官方 bash 工具在 win32 的缺失)。 社区项目,非 DeepSeek 官方预设,与 DeepSeek 无隶属关系。 为什么 DeepSeek V4 Pro 对 首次请求的 API 可见工具目录 强条件化(消融实验): 首轮工具组合(minimal persona 下) 轨迹 bash + str replace editor (官方极简) ✅ We need / minimal-like bash + read ✅ minimal-like bash + glob ❌ 变 Let me (glob 是已观测分界之一) 完整 25 工具 ❌ 压不住,高频 Let me 官方 minimal 模式(99/96 分)很强但只有两个工具;标准模式(91/92 分)工具全但轨迹差。本预设把两者解耦: 先以极简工具面锚定推理轨迹,第一次工具调用后立即恢复完整能力 ( anchored-standard 思路,完整 Project2 实测 98/99、均值 98.5、355 个推理块仅 1 个 let me )。 本预设与 anchored-standard 的差异 - 首轮工具 = 官方极简模式原版 : bash (官方持久 bash 工具,PTY 指向 Git for Windows 的 bash.exe)+ str replace editor ,不是 bash + read 变体 - 预热机制 :你发的第一条消息会被自动推迟到第二轮,第一轮自动以一条占位消息触发 纯极简请求 (无用户内容、无工作区上下文),模型回复后你的真实消息带着完整工具进入第二轮——全程无需手动操作 - 首轮严格无工作区指令 :官方 dsh-agent-instructions 被禁用(它的注入发生在 pre-step 过滤器之后、无法拦截),改为自研 instruction-late 插件—— CLAUDE.md / AGENTS.md 等 workspace instructions 在首个工具调用/回复(promote)后才注入 ,预热回合完全纯净 - Windows 原生 :提供 gitbash (Git for Windows,bootstrap 默认)与 wsl (WSL bash)两个 shell 工具;不需要 Linux / WSL 也能跑 阶段行为 阶段 系统提示 工具目录 工作区指令 (CLAUDE.md) 第 1 轮(预热) 仅 You are a helpful software en…

在 GitHub 查看完整 README →
工具/开发dsh-pluginagent

分类