
030611/dsh-verification-receipt
40最近提交 2026年8月14日
dsh-verification-receipt DSH 插件
DSH Verification Receipt 是 DeepSeek Harness 的一个小型被动 Profile Bundle。在每个持久化回合结束时,它会将一份隐私最小化、启发式的执行摘要追加到本地 JSONL 文件中。它记录工具调用次数和词汇层面类似验证的信号,但不证明测试已运行或代码正确。
如何安装 dsh-verification-receipt DSH 插件
dsh plugin --profile web add dsh-verification-receipt复制不会执行命令。安装 dsh-verification-receipt DSH 插件前请核对仓库和版本。
dsh-verification-receipt DSH 插件数据来源
dsh-verification-receipt DSH 插件快照日期:2026年8月16日
discovered
dsh-verification-receipt DSH 插件能做什么
- 记录每回合的工具调用次数(调用、成功、失败、未解决、顶层、嵌套)。
- 当工具名称或 shell 参数类似测试、类型检查、lint、构建、检查、验证或校验工作时,发出启发式验证信号。
- 默认将收据持久化到 `$DSH_HOME/verification-receipts/v1/` 下的可配置 JSONL 文件中。
- 为每条收据计算无密钥的 SHA-256 哈希以提供完整性感知(非防篡改)。
- 不持久化工具参数、结果内容、消息文本、原始会话 ID 或模型名称,以保护隐私。
dsh-verification-receipt DSH 插件适合哪些场景
- 获得跨 DSH 会话的验证相关工具使用的轻量级、隐私感知摘要。
- 无需依赖完整执行日志即可追踪测试、lint 或构建工具调用的启发式信号。
- 分析收据模式以识别反复出现的验证失败或工具调用趋势。
- 将收据输出集成到外部监控或审计管道中,作为非权威性提示。
- 与其他信任层插件(Telemetry Redactor、Evidence Audit、Context Provenance)配合使用,获取更完整的执行画面。
dsh-verification-receipt DSH 插件适合谁
- 使用 DeepSeek Harness 的开发者,需要最小化、保护隐私的执行追踪。
- 团队需要轻量级、启发式的验证信号日志用于调试或合规提示。
dsh-verification-receipt DSH 插件的限制
- 不证明测试已运行、断言充分或输出真实。
- 收据行相互独立;无法检测删除、重新排序、截断和回滚。
- 启发式分类仅基于词汇;预期存在假阳性和假阴性。
- 不支持数组命令、argv、嵌套命令对象或自定义 shell 工具名称。
- 进程崩溃可能导致队列中的收据丢失,因为磁盘写入对 turn/end 不是同步的。
- 没有跨进程锁;两个 DSH 进程指向同一文件可能导致行顺序和边界损坏。
dsh-verification-receipt DSH 插件的仓库 README 摘录
以下文字摘自 dsh-verification-receipt DSH 插件的上游仓库 030611/dsh-verification-receipt 的 README,版权归原作者,仅作引用。
> Ask a smaller, checkable question: what verification-shaped execution signals did DSH record this turn? ```sh dsh plugin --profile web add dsh-verification-receipt ``` The receipt summarizes recorded tool counts and lexical verification-shaped signals. It does **not** prove that tests ran or that code is correct. > Community-maintained and not an official DeepSeek project. Related trust-layer plugins: [Telemetry Redactor](https://github.com/030611/dsh-telemetry-redactor), [Evidence Audit](https://github.com/030611/qiushi-dsh-evidence-audit), and [Context Provenance](https://github.com/030611/dsh-context-provenance). DSH Verification Receipt is a small, passive Profile Bundle for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). After each durable `turn/end`, it appends one privacy-minimal, heuristic execution summary to a local JSONL file.  It records execution traces, not semantic correctness. A receipt shows only that DSH logged tool calls and that a lexical heuristic found a possible verification signal. It never proves th
阅读完整 README仓库许可: MIT
dsh-verification-receipt DSH 插件常见问题
如何安装 DSH Verification Receipt?
使用 DSH 插件命令安装:`dsh plugin --profile web add dsh-verification-receipt`。将 `web` 替换为你想要使用的配置文件名称。如果是本地开发,请克隆仓库,运行 `pnpm install --frozen-lockfile && pnpm run check`,然后将仓库路径传给 `add` 命令而不是包名。
收据能证明我的测试通过了吗?
不能。收据仅记录了一个类似测试名称的工具调用发生了,以及 DSH 记录的状态。它不验证实际的测试结果、断言覆盖率或正确性。启发式信号纯粹基于词汇,可能产生假阳性或假阴性。
收据文件保存在哪里?
默认保存在 `$DSH_HOME/verification-receipts/v1/receipts.jsonl`。如果未设置 `DSH_HOME`,则解析为 `~/.dsh/verification-receipts/v1/receipts.jsonl`。你可以在插件的配置中通过 `cordis.patch.yml` 的 `outputPath` 覆盖路径。
插件会向外部服务器发送数据吗?
不会。插件仅写入本地 JSONL 文件。它不做网络请求,不注册工具,不添加提示段,不注入上下文,也不调用模型。所有数据都停留在你的机器上。
如果进程在收据写入前崩溃了怎么办?
插件在回合期间不会同步等待磁盘写入。如果进程在写入队列清空之前崩溃,最后一回合的收据可能丢失。正常的插件/应用程序处置会排空已接受的写入,但突然终止无法保证。