Repository navigation
[Bug] bundled 技能 diagnose-windows-sandbox-acl:SKILL.md 说「脚本没有模式」,但它自己打印的 ROLLBACK 命令用的就是 -Restore #12686
csh-ai-2026
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
环境:DSH
0.2.2-rc.1,Windows 11 x64,涉及包@deepseek-ai/dsh-sandbox-windows-acl@0.2.2-rc.1(技能面板里的 bundled 技能diagnose-windows-sandbox-acl)。现象:该技能自带的说明书与随包脚本对不上。
assets/diagnose-windows-sandbox-acl/SKILL.md:The script has no modes.never pass a mode switch that does not exist但
assets/diagnose-windows-sandbox-acl/scripts/diagnose-windows-sandbox-acl.ps1里:也就是说:脚本打印的 ROLLBACK 命令带着
-Restore,而说明书写着「脚本没有模式」「不要传不存在的模式开关」。影响(推断,非实测):SKILL.md 第 41 行把
restore_pending_then_stop定义为「按顺序执行打印出来的恢复命令」。按文档读,模型会先相信「脚本没有模式开关」,再看到一条带-Restore的 ROLLBACK 命令,于是有理由判断命令写错了而不敢执行。而这条路径正是「repair 失败、回滚未验证」的状态——脚本自己也要求此时不要重复调用,等于停在半改状态。说明:我没有真的构造出
restore_pending_then_stop的现场,上面是从 SKILL.md 与脚本读出来的推断;如果需要实测证据我可以补。建议(只改文档,不动脚本):
The script has no modes.改成类似The script has no repair modes; -Restore is the only recovery entry.-Restore用法:restore_pending_then_stop时按 ROLLBACK 行执行,-Restore需要恰好一个-Path。另外两个小点(可选):
-Restore的参数说明。-Out在 repair 模式下其实是必须的(脚本 L516 会 throwA repair requires -Out for its recovery artifacts),但 SKILL.md 第 12 行把它和-Path/-AllowRoot并列,读起来像可省略。All reactions