dsh-artifact-promotion-proofv0.1.1

dongsheng123132/dsh-artifact-promotion-proof

安全管理 MIT 最近更新 2026-11-06
0Stars
0Forks
0待解决 Issue
安装命令 dsh plugin --profile web add github:dongsheng123132/dsh-artifact-promotion-proof#f12f5c5262856c908c0f7b427f0fb981f9b96da5

介绍

Offline proof that one immutable artifact followed a declared promotion chain

标签

artifact-promotion deepseek-harness dsh dsh-plugin mcp supply-chain evidence

概述

DSH Artifact Promotion Proof

Maintainer / Author:贺去病 (He Fangsheng / Dosen) · hequbing.com

An offline, deterministic evidence layer for DeepSeek Harness supply chains. It checks whether one explicit artifact digest followed a declared build → staging → production chain with the exact environment bindings, predecessor receipts and gate evidence required at every stage.

It does not deploy anything, call a registry, grant approval, verify runtime health, or mutate an environment. It also does not authenticate receipts or verify provenance signatures. A promoted verdict means only that the supplied hash-only records are internally complete, ordered and policy-conformant.

Complementary boundary

  • dsh-release-proof compares download endpoints for HTTP, length, version and SHA-256 agreement.
  • dsh-attestation-proof verifies DSSE/in-toto signatures, subjects and signer thresholds.
  • dsh-reproducible-build-proof compares independent rebuild outputs.
  • dsh-build-hermeticity-proof checks one recorded build's declared external-influence closure.
  • dsh-output-custody-proof checks how a DSH tool result is projected, spilled and durably recorded.
  • This plugin checks zero-rebuild promotion continuity across declared deployment stages. dsh-evidence-arena promotes a selected coding worktree into a repository; this plugin never writes a candidate or repository.

Every stage must appear exactly once and in order. The artifact digest, stage/environment hash and predecessor deployment receipt must remain continuous. Required gate types must appear once, bind the same artifact, precede promotion and meet the stage's distinct-authority threshold. Missing, stale, reordered, cross-artifact or extra gate evidence fails closed.

Install

dsh plugin --profile evidence add github:dongsheng123132/dsh-artifact-promotion-proof#COMMIT

The bundle exposes dsh_artifact_promotion_inspect and dsh_artifact_promotion_verify from one headless core. The independent MCP stdio server exposes artifact_promotion_inspect and artifact_promotion_verify. The CLI accepts inspect or verify plus an explicit JSON path.

See examples/promoted.json. Reports contain only hashes, counts, booleans, gate classifications and verdicts. Secret-shaped material and raw log/body/content fields are rejected. The DSH verify tool reads a workspace-relative non-symlink manifest, writes only to an explicit workspace-relative artifactDir, creates deterministic content-addressed output exclusively, and verifies it by read-back.

npm test
npm run check
npm run smoke:plugin
npm run smoke:mcp
python C:/Users/YOU/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py .

Node.js 22 or newer is required. The verifier has no runtime dependency, spawns no process and makes no network request.

星级评价

0.0 按 GitHub Stars 换算的社区热度,非用户打分
Stars0
Forks0
待解决 Issue0
最近更新2026-11-06

基本信息

作者dongsheng123132
版本0.1.1
开源许可MIT
默认分支main
入库时间2026-11-06

插件信息来自公开 GitHub 仓库与 SkillHub,版权归原作者所有;安装前请自行审查仓库代码。