Back to home

NLeRWantFly

dsh-HoldThatBigBlueFatFish

约束蓝色大肥鱼过度思考暂时的方案~模型测试opencode go实现

Stars
2
Language
JavaScript
Created
Aug 15, 2026
Updated
Aug 15, 2026

Introduction

dsh-HoldThatBigBlueFatFish

让 DeepSeek Harness 的蓝色大肥鱼先拿一条证据,再动整片池塘。

#dsh-plugin · DeepSeek Harness community preset · MIT

本工作区汇总了 deepseek-official/deepseek-v4-proreasoningEffort: max 的 Git-style Anchored Standard、Project2 长测和 V2–V6 省 Token 消融,并提供已安装到当前 DeepSeek Harness 的生产预设:

dsv4-progressive-guarded

这是社区实验,不是 DeepSeek 官方 preset,也不代表 DeepSeek 的认可或背书。当前 composition 基于 DeepSeek Harness 47f943859bef60e4160492346772ded9b24f765a 的 Standard preset 生成;Harness 升级后应重新运行验证。

快速安装

克隆仓库后,将生产 preset 目录完整复制到你的 DSH 用户 preset 根目录。PowerShell:

if (-not $env:DSH_HOME) { throw '请先设置 DSH_HOME' }
$source = '.\.dsh-data\.agent-presets\dsv4-progressive-guarded'
$target = Join-Path $env:DSH_HOME '.agent-presets\dsv4-progressive-guarded'
if (Test-Path -LiteralPath $target) { throw "目标已存在:$target" }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $target) | Out-Null
Copy-Item -Recurse -LiteralPath $source -Destination $target

Linux/macOS:

test -n "$DSH_HOME"
test ! -e "$DSH_HOME/.agent-presets/dsv4-progressive-guarded"
mkdir -p "$DSH_HOME/.agent-presets"
cp -R .dsh-data/.agent-presets/dsv4-progressive-guarded \
  "$DSH_HOME/.agent-presets/dsv4-progressive-guarded"

完整重启 DeepSeek Harness,新建空白 session,选择 DSV4 Progressive Guarded。不要在已有轨迹的会话中途切换 preset。

验证发布包:

npm.cmd test

总结

工具 schema 与运行时 guard 对实际动作的影响大于 prompt;它们能约束仓库盘点风险,但当前实验没有证明能同步缩短模型内部 reasoning。

  • Persona/context:Standard 换成 46 字符 Minimal 后,首步 reasoning 从 81 增至 166,动作广度仍为 2。
  • 首轮 schema:Minimal Fixed/Anchored 在短探针把广度降至 1,但 reasoning 增至 294/227;通用 shell 仍能绕回递归盘点。
  • 显式 prompt:动作更合规,但模型会在 reasoning 中复述规则,V2/V3 为 248/370 字符。
  • 能力过窄:只开放 read 导致 1778 字符的能力焦虑;告知后续会开放工具后降至 442。
  • 上下文预取:V6 reasoning 降至 328,但工具调用增至 3、广度回到 2。
  • 长任务:Minimal 两组 Ability 为 91.0,对比 Standard 90.5;但 Ship 从 90.5 降到 72,未证明总体质量提升。

完成数据均来自 Windows native;Linux Docker 没有形成完整可评分 run,因此不作跨 OS 结论。

全部评分数据

总计 14 条结果、634 次模型请求、858,011 input tokens、142,176,128 cache-read tokens、423,458 output tokens、159,096 reasoning tokens,估算费用 1.25703173 USD。

SuiteConditionSystem chars首轮 toolsReasoning charsCallsBreadth合规Requests费用 USD
官方短探针standard-full633325812230.00664987
官方短探针minimal-full46251662230.00706208
官方短探针standard-anchored63372782230.00784989
官方短探针minimal-fixed4622942130.00560724
官方短探针minimal-anchored4622272130.01397026
Project2standard-full63362587221490.29941497
Project2minimal-fixed462240212070.44036715
Project2minimal-anchored462252222530.45865420
省 Token 探针v2-minimal-core4621521230.00043164
省 Token 探针v2-compact-core40022482130.01207189
单请求探针v3-single-core26223701110.00101616
单请求探针v4-read-core46117781110.00068301
单请求探针v5-read-noted-core113144221是*10.00058986
单请求探针v6-prefetched-core6196632832否*10.00266351

* 单请求微探针记录拟调用意图,并在工具 dispatch 前停止。

完整 token 列、首次调用参数、来源 run 和失败尝试见:

生产预设

dsv4-progressive-guarded 使用短 Minimal persona。未取得证据时只暴露 read + native shell;成功的指定文件读取、明确测试或窄诊断后,下一请求恢复 read/shell/edit/write/grep/glob。所有阶段继续拦截递归/根目录盘点、全量 glob、无路径 grep、后台 shell 和无修改的重复命令。

Plan Mode 会按持久化 plan/mode 事件绕过本插件,让 Harness 原生规划目录和 exit_plan_mode 接管。

当前工作区生成位置:

.dsh-data/.agent-presets/dsv4-progressive-guarded/

安装到实际 Harness 的用户 preset 目录:

<DSH_HOME>/.agent-presets/dsv4-progressive-guarded

四个安装文件已逐字节哈希一致。单元测试和真实 DSH 假 API 冒烟测试均通过:首请求只有 pwsh + read,成功 read 后恢复 6 个核心工具,递归 shell 与 **/* glob 均被拒绝。验证产物: