dsh-plugin-failure-lab
v0.1.0
Published
DSH plugin: Turn a failed turn into a reproducible experiment card: compare retry parameters, a different tool or a different plan, and record what actually recovered.
Maintainers
Readme
dsh-plugin-failure-lab
把一次失败变成可复现的实验卡:比较重试参数、换工具、换计划,并记录哪种方式真正恢复。
这是 14 个 DSH Agent 生命周期只读可观测插件之一(主题:失败恢复实验室)。它只读取会话事件的元数据——从不读取提示词、工具调用内容或文件内容——且不发起任何网络请求。
安装
dsh plugin --profile web add dsh-plugin-failure-lab需要 Node ^22.19.0 || >=24 与 DSH >=0.2.0-rc.2 <0.3.0。
30 秒演示
- 正常使用 DSH 几轮。
- 在任意会话输入
/failure-lab。 - 得到紧凑的只读报告;用
/failure-lab --json获取机器可读输出。
它读取什么
只读取会话事件元数据:事件类型、工具名、token 计数与路由名。任何疑似凭据的值在显示前都会被脱敏。不读取、存储或传输文件内容与提示词。
许可
MIT — SSHOOTING。
