dsh-prompt-gate:首条消息改写为可执行 brief,审批前锁定工具
dsh-prompt-gate 是 DSH 工作流宿主插件,将用户首句(或可配置为每条消息)扩写为含目标、范围与验收条件的 brief,在 Web 问题面板展示并等待 Approve;审阅期间 tools.guard 拒绝 bash/write/edit 等工具。依赖 dsh>=0.2.2-alpha.2,可通过 npm 或 GitHub 安装到 web profile,支持 scope、timeoutMs、language 等配置。MIT 许可,Host-only,无 CLI 问题通道时不拦截。
阅读全文