fix: 缓解 DSH rc.2 Auto Mode 冗余沙箱请求 - #11
Open
LonelyHerbivore wants to merge 1 commit into
Open
Conversation
将 DSH 依赖与兼容范围对齐到 0.1.1-rc.2。\n\n将 sandbox 请求区分为缺失、冗余 workspace-write、真实 danger-full-access 扩权和非法值。冗余请求会在插件层返回可恢复拒绝,并在下一次模型组装中仅投影受影响工具的无字段 schema,避免改写调用参数或官方执行器。\n\n补充策略、Cordis 组合和 Windows PowerShell 回归测试,以及 rc.2 检测与重试限制说明。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改说明
0.1.1-rc.2。workspace-write、真实danger-full-access扩权和非法值。sandbox_permissions、justification字段的 detached schema。ToolExecution.arguments,不替换官方工具/执行器,不修改已安装 DSH 包。验证
pnpm verify:92 passed,22 skipped;Windows PowerShell 原生测试 8/8 通过。git diff --check通过。DSH_HOME运行 CPAMC /gpt-5.6-luna/maxheadless gate,且明确 unsetDEEPSEEK_API_KEY。pwsh调用被拒绝;紧接着同一命令无字段重试成功,并读取到recoveredsentinel。安全边界
这是 rc.2 的检测与重试缓解,不宣称原始同值请求会透明执行,也不关闭上游严格扩权限制。