Preface¶
After completing a round of development in DeepSeek Harness (DSH), the wrap-up report often has to be hand-written: branch and commit, whether tests/builds ran, artifact hashes, whether any secrets were carried out. Writing too little leaves you short of evidence; writing too much tends to present “it was like this on my machine at the time” as “already a reproducible delivery”. Two common categories of community plugins don’t serve this purpose: 2008924/dsh-progress-viz and 133563825as-ai/dsh-api-dashboard are real-time status panels for developers themselves; the similarly named dsh-receipt series (e.g., bluechips-zhao/dsh-receipt, louisyeaaah/dsh-receipt) are session or usage receipts (tokens, elapsed time, cost, etc.), and they also don’t answer “which items others can reproduce, and which items only hold true on your machine”.
Below we introduce dsh-delivery-receipt (delivery receipt) from maintainer dingchenhui0618-arch: press it once at project wrap-up, and it consolidates the branch and commit, test and build results, the size and sha256 of key artifacts, and secret-scan conclusions into a single page that can be shown externally. It mandatorily classifies each claim into one of three zones — “Verified / Local Only / Unverified”; sections without evidence are left blank, with no filler text.
What Is This¶
dsh-delivery-receipt is a delivery-receipt plugin for DSH (npm package name dsh-delivery-receipt, version 0.1.0 per the current materials, MIT license). It binds “delivery statements” and “evidence strength” into a single testable rule: the three zones look only at evidence, not wording, and do not use success/failure as the classification criterion — a failed test or a secret-scan hit, as long as there is evidence, also goes into “Verified”, just possibly with a warning color in the display.
| Zone | Determination (summary from the source materials) |
|---|---|
| Verified | Evidence comes from this collection and can be reproduced elsewhere: the command was actually executed (the exit code is the fact), the file has a hash and is committed to the repo, the scan actually scanned files, git references exist in the remote recorded locally |
| Local Only | Only holds true on this machine: uncommitted changes, unpushed commits, artifacts not tracked by git, etc. |
| Unverified | No evidence or insufficient evidence: command not run / timed out, claimed file does not exist, scan covered 0 files, and any sentence written by a person in claims and other config fields |
The plugin does not draw “good or bad” conclusions for you, nor does it go online to verify whether the remote repo is public or whether tags have been pushed — such information falls into “Local Only” or “Unverified”.
Installation and Activation¶
The DSH ecosystem is “everything is a plugin”; the plugin directory is displayed on an independent community site and has no official affiliation with DeepSeek / High-Flyer. Before installing, it is recommended to review the source code and license of the GitHub repository. The plugin runs with the permissions of the current DSH process; the tests / builds in the config are executed when generating the receipt, so you should only put commands you trust there.
The installation method given in the official README is as follows.
dsh plugin --profile <your profile> add dsh-delivery-receipt
You can also install directly from GitHub:
dsh plugin --profile <your profile> add github:dingchenhui0618-arch/dsh-delivery-receipt
After installation, restart DSH, and a “Delivery Receipt” tab will appear in the conversation view. The runtime requires Node >= 20 (see engines in package.json).
Configuration: delivery-receipt.json in the Project Root¶
Place delivery-receipt.json in the project root to define the tests/builds to be executed, artifact globs, secret-scan ignore items, and claims, which serve only as descriptions and always go into the “Unverified” zone.
{
"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
}
Meanings of the common fields (consistent with the README):
tests/builds: executed when generating the receipt, with the exit code, number passed, and elapsed time written into the receipt; items can be strings or{ "name", "command" }.artifacts: artifact paths or patterns (e.g.,docs/*.png), recording byte size, sha256, image dimensions, and whether it is committed to the repo.scan.ignore: path prefixes skipped by the secret scan.scan.allowMarker: per-line exemption marker, defaulting todelivery-receipt:allow; the number of exempted lines appears in the receipt, rather than being silently let through.claims: manual statements, which always go into the Unverified zone; content that can be backed by evidence should be written astests/builds/artifactsfields.runCommands: defaults totrue; whenfalse, it only collects without executing commands.cwd: optional, overrides the collection directory (relative paths are resolved relative to the directory containing the config file); thecwdpassed when generating via HTTP must be within the plugin config’s whitelist.
Typical Usage¶
Generating in the DSH Panel¶
- Open the conversation view → “Delivery Receipt”.
- Click “Generate Receipt”. The panel first lists the commands that will be executed this time, then displays the results by the three zones.
- “Open Receipt Page” yields a self-contained HTML (can be saved to a file or forwarded); “Copy Markdown” is convenient for pasting into a PR or chat.
Using the CLI Without Installing DSH¶
The repository provides scripts/receipt.mjs, which can be run directly in the project directory:
node scripts/receipt.mjs # 打印摘要
node scripts/receipt.mjs --out receipt.html # 落盘自包含页面
node scripts/receipt.mjs --md # 打印 Markdown
node scripts/receipt.mjs --no-run # 只采集,不执行命令
See the example receipt in the repository’s docs/receipt-example.md.
HTTP Endpoints (within the host)¶
| Method | Path | Description |
|---|---|---|
| GET | /dsh-delivery-receipt/state |
Current config, commands to be executed, summary of the last receipt |
| POST | /dsh-delivery-receipt/generate |
Generate a receipt (the body may carry {"cwd": "..."}, which must be within the whitelist) |
| GET | /dsh-delivery-receipt/receipt.html |
Self-contained receipt page (a clear notice page when not yet generated) |
| GET | /dsh-delivery-receipt/receipt.md |
The same content in Markdown |
| GET | /dsh-delivery-receipt/receipt.json |
The receipt object (404 when not yet generated) |
Security boundaries (emphasized in the README): the commands to be executed only come from delivery-receipt.json or the plugin config’s receiptConfig, not from the HTTP request body; collectable directories are constrained by the cwd and roots whitelists; there is no network access; secret hits only record the file and line number and rule name, without writing the matched content; the receipt page contains no externally linked scripts or CDN resources, making it convenient for offline saving.
Use Cases and Cautions¶
Who it’s for: teams or individuals who need to distinguish, at project wrap-up and during internal/external handover, “reproducible facts”, “local-only facts”, and “statements without evidence” using the same set of rules; who want test, build, artifact hash, and simple secret-scan conclusions to land on one page instead of hand-writing Markdown every time.
What it does not do (from the source materials): it does not judge good or bad; it does not verify the remote for you; if a section has no evidence, it stays blank; the built-in regex scan reduces the probability of accidentally sending credentials, but is not equivalent to a complete security audit.
The maintainer discloses in the README: the repository’s own node --test (64 tests), build, and dogfood receipt are recorded, but it has not yet been installed and verified end-to-end in a running DSH — panel-related capabilities, apart from unit tests, have their screenshot examples taken from CLI-generated receipt pages. Please verify it yourself in the target environment before use.
Conclusion¶
dsh-delivery-receipt turns the delivery report from “writing a paragraph” into a repeatable process of “classify by evidence, leave blank when evidence is missing”, solving a problem different from what progress-visualization and session-receipt plugins address. If you want to hook this wrap-up chain into DSH, you can start by checking the installation and configuration on the community directory page and the GitHub repository.
- Directory page: https://www.skillhub.cn/plugins/dingchenhui0618-arch/dsh-delivery-receipt
- GitHub: https://github.com/dingchenhui0618-arch/dsh-delivery-receipt