返回目录
模型与 MCP 插件

dsh-deliver-check

return054/dsh-deliver-check

Deliver pre-flight gate for DeepSeek Harness: scans AI code changes for debug leftovers, TODO markers, not-implemented throws, credentials and placeholders. Exit code verdict, model cannot overrule. Paywalled cloud rule pack via Alipay 402.

Stars
0
Forks
0
Issues
0
更新
18 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:return054/dsh-deliver-check

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-deliver-check

DSH (DeepSeek Harness) plugin that exposes a deterministic deliver pre-flight gate for AI code changes as the deliver_check tool.

It scans AI-generated code for delivery blockers — debug leftovers (console.log / debugger / print / pdb), TODO/FIXME markers, not-implemented throws, hardcoded credentials, and placeholder text — and issues a mechanical exit-code verdict the model may only relay, never re-interpret: 0 = PASS, 1 = FAIL, 2 = UNVERIFIED.

Install

dsh plugin add dsh-deliver-check

Other channels: dsh plugin add github:<owner>/<repo> (pure JS, no build step) or dsh plugin add ./dsh-deliver-check-<version>.tgz.

Tool: deliver_check

Parameter Type Required Description
projectDir string yes Absolute path of the project root to scan (script runs with cwd set here).
paths string[] no Explicit file paths (relative to projectDir) to scan instead of git changes.
staged boolean no Only scan git-staged files (default: all uncommitted changes incl. untracked).
allow string no Case-insensitive regex; lines matching it are exempted (e.g. logger\.log).
offline boolean no Offline mode: built-in free rules only, no network request for the cloud rule pack.

Returns the script's raw stdout/stderr followed by a final EXIT CODE: N line.

Exit codes

Code Verdict Meaning
0 PASS Zero delivery blockers in scanned files — safe to deliver.
1 FAIL At least one blocker. Fix every reported line, then re-run until exit 0.
2 UNVERIFIED Cannot judge (no checkable files, or paid cloud rules not obtained). Never treat as PASS.

Rules & payment

  • Free tier (built-in, offline): debug leftovers + TODO markers for the JS/TS family and Python.
  • Cloud rule pack (paid): not-implemented throws, hardcoded credentials, placeholders (needed for JS/TS + Python too), plus full debug/throw signatures for Go/Rust/Java/Kotlin/C#/PHP/Ruby. Billed per use at ¥0.01 via Alipay 402 payment (the A2M HTTP 402 protocol); results are cached for 7 days so no repeated billing within TTL. Rule packs are Ed25519-signed and verified client-side.
  • When the tool output contains a 402 / [payment-required] section, the model must relay the payment instructions to the user verbatim — never bypass or simulate payment.

Publish

Tag push auto-publishes to npm (requires NPM_TOKEN, see .github/workflows/publish.yml):

npm version patch && git push --follow-tags

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。