dsh-shipgate
Manifest validLocal-first pre-merge delivery receipt generator
ShipGate
ShipGate is a local-first, pre-merge receipt generator. It reads an explicit Git comparison and caller-supplied check evidence, then writes a deterministic JSON Release Receipt and portable Markdown summary. It does not execute checks, upload source code, or claim that code is correct.
Local Development
Requires Node.js 20 or newer.
cd /Users/albert.liu/Projects/dsh-delivery-gate/shipgate
npm install
npm test
Usage
Run the built CLI from the Git repository being evaluated:
node /Users/albert.liu/Projects/dsh-delivery-gate/shipgate/dist/cli.js inspect \
--base origin/main \
--checks checks.json \
--intent "Add checkout validation"
The default outputs are .shipgate/receipts/<head-sha>/receipt.json and summary.md. Local mode is advisory. Add --ci to apply the project's configured failure policy.
checks.json records observed check results and is never executed:
{
"schemaVersion": "1.0",
"checks": [
{
"id": "unit-tests",
"label": "Unit tests",
"status": "passed",
"command": "pnpm test",
"exitCode": 0
}
]
}
Optional .shipgate.yml configuration declares required check IDs, disabled or severity-overridden rules, CI failure conditions, and path-redaction patterns. Its detailed contract is in DESIGN.md.
GitHub Action
Action 已内置于此目录,会在用户自己的 GitHub runner 中执行,不上传源码或 Receipt。使用时必须让 actions/checkout 拉取完整历史,以便解析 merge base:
name: ShipGate
on:
pull_request:
jobs:
shipgate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./shipgate
id: receipt
with:
base: ${{ github.event.pull_request.base.sha }}
checks: checks.json
- uses: actions/upload-artifact@v4
with:
name: shipgate-receipt
path: .shipgate/receipts
Action 输出 receipt-id、outcome、risk-level、receipt-path 和 summary-path。默认会按 .shipgate.yml 的 policy.failOn 在 CI 中失败;传入 fail-in-ci: "false" 可改为建议性模式。
The product boundary and validation criteria remain in PROJECT.md.
DSH Plugin / DSH 插件
ShipGate can be mounted as a DeepSeek Harness bundle. The plugin injects the DSH tools service and registers one tool: shipgate_inspect. It accepts an explicit Git base and optional evidence/config/output paths, then reuses the same local inspect core as the CLI. It never runs a command supplied by the model and never uploads source code.
The bundle metadata is in package.json; its patch is cordis.patch.yml. Install it according to your DSH bundle workflow, then invoke shipgate_inspect with at least:
{
"base": "origin/main",
"checks": "checks.json",
"ci": true
}
The tool returns the receipt ID, outcome, risk level, artifact paths, and the Markdown summary. ci: false (the default) keeps a failed policy result advisory, consistent with the CLI.
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.3k
↓ 172/wk
Apache-2.0
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 7.4k
↓ 172/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 5.2k
↓ 150.1k/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add dshmarketby crafter-station
A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 4.2k
MIT
TypeScript
Sep 28, 2026
by superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 4k
NOASSERTION
Python
Oct 1, 2026
dsh plugin --profile web add treg-dshby xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
★ 3.8k
JavaScript
Sep 10, 2026