dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security.
Raw Developer Origin & Technical Request
GitHub Issue
Oct 14, 2026
> 来源说明:本报告的排查与实测由 **AI 助手**在真实环境中完成(DSH 会话内自动执行),经人工复核后提交。
> 本机路径已脱敏;DSH / Windows / 插件与载荷的版本号保留以便复现。若需完整补丁或更多日志,可在评论中索取。
> **定位说明(2026-10-14,提交后补充)**:拒绝外来/升级的 MSYS DLL 已是 `docs/release-0.3.0.md` 的**明文策略**("不匹配的自定义/升级 MSYS DLL 会拒绝兼容执行,不绕过沙箱")。因此本条**不请求改变该策略**,请求的是两件事:① 把"`bashPath` 在受限模式下按设计不可用"写进 README / 配置注释(用户遇到 `ops_bash` 不可用时第一反应都是换自有 Git Bash,我们也是);② 给出与宿主工具对齐的**可执行诊断或补救**(见下方「建议」第 2 条)。
> **范围说明**:现象复现于 **DSH 0.1.5-rc.2**;但该门位于插件代码 `lib/bash-ipc.js`(按 `msys-2.0.dll` 摘要校验),**与宿主版本无关**,在目标宿主 0.2.0-rc.2 上同样成立。
> **补充证据**:在目标宿主 0.2.0-rc.2 的 `workspace-write` 会话里,模型尝试升级时收到
> `Error: invalid arguments: unknown keys "sandbox_permissions", "justification"; this tool accepts command, description, script_path, workdir, timeoutMs, graceMs`
> —— 即 `ops_bash` 连宿主工具已有的"单次升级"这条路径都没有,提示词里却写着"不要绕过隔离",模型读完无路可走。
## 现象
在 `workspace-write` 会话里把 shell 指向用户自带的 Git for Windows:
```yaml
- id: dsh-ops-shell
config:
bashPath: 'C:\Program Files\Git\bin\bash.exe'
```
`ops_bash` 立即返回(无需真正执行命令):
```
Error: EXECUTOR_UNAVAILABLE: This MSYS version has no verified DSH IPC compatibility build.
Rebuild the matching proxies; do not bypass confinement.
```
## 根因(源码)
`lib/bash-ipc.js:19-24`:
```js
const dll = path.join(root, 'usr/bin/msys-2.0.dll')
const bytes = fs.readFileSync(dll)
const receipt = JSON.parse(fs.readFileSync(path.join(proxies, 'provenance.json'), 'utf8'))
if (receipt.platform !== 'win32-x64' || receipt.msysSha256 !== hash(bytes)) throw Error('EXECUTOR_UNAVAILABLE: ...')
```
`ba...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from T-Auto/dsh-ops.
Frequently Asked Questions
Market intelligence mapped to dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security..
What problem does dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security. solve?
Are engineers actively discussing dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security.?
What architecture is tied to dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security.?
What open-source repositories focus on dsh-ops plugin, specifically its `ops_bash` tool and the underlying `lib/bash-ipc.js` mechanism for MSYS compatibility and security.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like dsh-ops and justification by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics