You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…remain listed to keep the tool catalog unchanged.
注:上表行号为本地安装包内位置,源码仓库中行号可能略有偏移,但文件路径与措辞差异可直接复现。
建议修复(供参考)
统一为同一句(首选):三处 preset 与 base 层统一措辞。保留哪句由维护者决定;若以"请求缓存稳定性"为设计动机,建议保留 base 层的 "only to keep the request shape stable"(更精确);若以"工具目录不变"为用户可见语义,则统一为 preset 版。关键是四个文件必须逐字一致。
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
[Bug 报告] plan-mode 指令文案在 base 层与 agent preset 间不一致:"keep the request shape stable" vs "keep the tool catalog unchanged"
概述
同一段 plan-mode 指令(
plan-mode插件的section配置)在两个配置层中各自维护了一份拷贝,且其中一句已经漂移。逐字对比后确认:除下面这一句外,两段指令完全相同。dsh-base层(cordis.patch.yml:272):standard/code/cordis三个 agent preset(config/agent-presets/*/agent.cordis.yml):由于 Web 表面实际挂载
standardpreset(web-app 补丁将 base 层的plan-mode行disabled: true),而 headless 表面使用 base 层的版本,同一个模型在不同启动模式下会读到两个措辞不同的 plan-mode 指令。影响面
证据
四份文件中包含此句的精确位置(安装版本
@deepseek-ai/dsh@0.1.0-rc.6):packages/boot/base/cordis.patch.yml(base 层)packages/agent-presets/config/agent-presets/standard/agent.cordis.ymlpackages/agent-presets/config/agent-presets/code/agent.cordis.ymlpackages/agent-presets/config/agent-presets/cordis/agent.cordis.yml建议修复(供参考)
section文案提升为共享常量或从同一来源注入(例如由plan-mode插件提供默认 section,preset 只在需要覆盖时声明),避免两处手工同步。补充说明
dsh-base与config/agent-presets/时逐字对比发现的,两处均无 TODO/注释提及此差异,属于"同一逻辑两处维护导致的无声漂移"。All reactions