fix: 缓解 DSH rc.2 Auto Mode 冗余沙箱请求 - #11
Closed
LonelyHerbivore wants to merge 1 commit into
Closed
Conversation
将 DSH 依赖与兼容范围对齐到 0.1.1-rc.2。\n\n将 sandbox 请求区分为缺失、冗余 workspace-write、真实 danger-full-access 扩权和非法值。冗余请求会在插件层返回可恢复拒绝,并在下一次模型组装中仅投影受影响工具的无字段 schema,避免改写调用参数或官方执行器。\n\n补充策略、Cordis 组合和 Windows PowerShell 回归测试,以及 rc.2 检测与重试限制说明。
This was referenced Sep 5, 2026
Closed
Owner
|
感谢贡献。已在维护集成中吸收这份 PR 的冗余 sandbox 恢复思路,并适配现代 Harness:执行前拒绝、plugin notice、一次组装的无 sandbox 字段 schema、保留 args/canonical schema/常驻权限。原 PR 的旧 RC 依赖回退没有合入;支持范围以当前精确兼容表为准。 真实 API 已观察到冗余请求被拒绝后成功重试;四版产品入口回归还覆盖 classifier/approval/grant 不被冗余请求提前触发。贡献明确归因到本 PR 和 LonelyHerbivore。 |
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 的检测与重试缓解,不宣称原始同值请求会透明执行,也不关闭上游严格扩权限制。