codex/dsh-runtime-update
main
上一轮扩展 Python 回归 391 项通过。排期测试 test_reconcile_refuses_active_owner_and_pending_resources 使用的替身数据类型与实际记录不一致,同一失败已在升级前的 main 上复现。
bd80f86
488bf02
结论:通过。 0 P0 / 0 P1 / 4 项 P2。依赖升级、版本单一来源、候选验证与替换/回滚设计合理;本机实测真实运行时与回归无新增失败。
npm ci --prefix integration/dsh
node integration/dsh/start.mjs --doctor
ready
0.2.2-rc.5
node tools/verify_dsh_runtime.mjs
node tools/verify_dsh_files.mjs
node --test tests/integration/test_dsh_standard_compat.mjs
node tools/verify_dsh_auto_runtime.mjs --fixture
pytest tests/dsh
test_incident_rule_retry.py
test_scheduling.py::test_reconcile_refuses_active_owner_and_pending_resources
@deepseek-ai/dsh*
registry.npmjs.org
integrity
file:
link
git+
http://
dsh
start.mjs
package.json
VERSION
native_runtime.HARNESS_VERSION
installed.version === VERSION
latest
--save-exact --ignore-scripts
DSH_API_KEY
DSH_API_BASE
DSH_MODEL
DX_DSH_MODELS
DSH_PERMISSION_MODE
DX_DSH_PARENT_PIPE
Core regression
DxPartReplace.spec
dsh_runtime_staging.py
node_modules
bootRuntime
update-in-progress
docs/superpowers/specs/2026-10-30-dsh-native-integration.md:7
@deepseek-ai/dsh@0.2.1-rc.5
previous
未做真实桌面点击验收与云端模型回复;未在 Windows 实机执行完整 Install-DshRuntime.ps1 -Version latest 更新路径(脚本逻辑为静态审查,候选验证链路已实测);verify_dsh_model_settings.mjs 的 UI 选择器改动未在桌面环境验证。
Install-DshRuntime.ps1 -Version latest
verify_dsh_model_settings.mjs
No dependencies set.
The note is not visible to the blocked user.
变更
自审
验收
上一轮扩展 Python 回归 391 项通过。排期测试 test_reconcile_refuses_active_owner_and_pending_resources 使用的替身数据类型与实际记录不一致,同一失败已在升级前的 main 上复现。
代码审查结果(
bd80f86→488bf02,2026-11-20)结论:通过。 0 P0 / 0 P1 / 4 项 P2。依赖升级、版本单一来源、候选验证与替换/回滚设计合理;本机实测真实运行时与回归无新增失败。
实测(Windows 10 / Node v24.19.0 / npm 11.17.0)
npm ci --prefix integration/dsh:670 包,无 lock 冲突node integration/dsh/start.mjs --doctor:ready,0.2.2-rc.5node tools/verify_dsh_runtime.mjs:passed(工具/预设/401 鉴权/409 过期动作/无桌面拒绝)node tools/verify_dsh_files.mjs:passed(read/grep/工作目录/ZIP/自动会话隔离)node --test tests/integration/test_dsh_standard_compat.mjs:4 passednode tools/verify_dsh_auto_runtime.mjs --fixture:passedpytest tests/dsh:385 passed / 4 failed;4 项失败(test_incident_rule_retry.py×3、test_scheduling.py::test_reconcile_refuses_active_owner_and_pending_resources)已在升级前 mainbd80f86上逐项复现,非本 PR 回归。已确认
@deepseek-ai/dsh*全为0.2.2-rc.5;全部registry.npmjs.org+integrity,无file:/link/git+/http://条目;dsh包 integrity 与 registry 一致。start.mjs从package.json读取VERSION;native_runtime.HARNESS_VERSION删除后全仓无残留引用;启动仍校验installed.version === VERSION。latest/精确 semver)、固定 npmjs、--save-exact --ignore-scripts;逐项备份与异常回滚;文件锁;候选与安装目录同卷。DSH_API_KEY/DSH_API_BASE/DSH_MODEL/DX_DSH_MODELS/DSH_PERMISSION_MODE与DX_DSH_PARENT_PIPE,不会继承模型配置或桌面父进程模式。Core regression。DxPartReplace.spec/dsh_runtime_staging.py从node_modules的package.json判定,不硬编码版本。建议(P2,不阻塞合并)
package.json与node_modules不一致。bootRuntime会拒绝启动(不静默),但建议写update-in-progress标记并在下次安装/启动时提示重跑。docs/superpowers/specs/2026-10-30-dsh-native-integration.md:7仍写“固定@deepseek-ai/dsh@0.2.1-rc.5”,与“以 package.json 为准”的新策略矛盾,建议同步。previous目录保留完整node_modules,反复升级会累积;建议文档给出清理方式或成功更新后提示。限制
未做真实桌面点击验收与云端模型回复;未在 Windows 实机执行完整
Install-DshRuntime.ps1 -Version latest更新路径(脚本逻辑为静态审查,候选验证链路已实测);verify_dsh_model_settings.mjs的 UI 选择器改动未在桌面环境验证。