dingchenhui0618-arch/dsh-delivery-receipt ↗★ 0

dsh-delivery-receipt

可公开的交付回执(DeepSeek Harness 插件):项目收尾时把分支与 commit、测试与构建结果、交付物尺寸与 sha256、密钥扫描结论汇成一张自带「已验证 / 仅本地 / 未验证」三区的回执,没有证据的板块留空而不是补话。 / Publishable delivery receipt for DeepSeek Harness: one page that sorts every claim into verified / local-only / unverified, and leaves unsupported sections empty instead of filling them.

パッケージ
dsh-delivery-receipt
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/27

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dingchenhui0618-arch/dsh-delivery-receipt

ドキュメント

README 全文を読む ↗

配置:delivery-receipt.json(放在项目根)

{
  "project": "my-project",
  "tests":   [{ "name": "单元测试", "command": "node --test test/*.test.mjs" }],
  "builds":  [{ "name": "构建", "command": "node scripts/build.mjs" }],
  "artifacts": ["docs/*.png"],
  "scan": { "ignore": ["docs/big-demo.html"] },
  "claims": [{ "label": "已内部评审", "value": "2026-10-12 通过" }],
  "runCommands": true
}
字段作用
tests / builds生成回执时会执行并把退出码、通过数、耗时写进回执。写法可以是字符串或 {name, command}
artifacts交付物模式:精确路径或 目录/*.png。会记录字节数、sha256、图片尺寸、以及是否已入版本库
scan.ignore密钥扫描跳过的路径前缀
scan.allowMarker逐行豁免标记,默认 delivery-receipt:allow。测试夹具、文档示例这类"像凭据但不是凭据"的行,在行尾写上标记即可豁免;豁免了多少行会原样出现在回执里,不是静默放过
claims你要说的话。永远进未验证区 —— 能附证据的东西应该写成上面那些字段
runCommands默认 true;设 false 只采集不执行
cwd可选:覆盖采集目录(相对路径按配置文件所在目录解析)