验证门
An open-source DeepSeek Harness plugin that requires the agent to run the workspace’s verification commands before it can conclude that work is done.
これは DeepSeek Harness(DSH)プラグインです。当サイトは GitHub README、インストール情報、メンテナンス状況、公開セキュリティシグナルをまとめています。
上流で中国語 README が提供されていないため、リポジトリのオリジナルコンテンツを表示しています。
dsh-verify-gate
English | 中文
An open-source DeepSeek Harness plugin that requires the agent to run the workspace’s verification commands before it can conclude that work is done.
Pass/fail is decided only by process exit codes. A successful run writes an auditable receipt. After that, any successful mutating tool (for example edit, write, or bash) invalidates the receipt, so verification must pass again before conclude.
Install
Local path:
dsh plugin --profile web add /absolute/path/to/verify-gate
Or from GitHub (the repo includes the built lib/ entry points):
dsh plugin --profile web add github:blueWhalei/dsh-verify-gate
Restart Web, open the target workspace, then:
- Run
/verify run, or have the model callverify_run - Call
verify_concludeonly after every command exits 0
How commands are chosen
Resolution order:
- Non-empty
config.commandsalways wins - Otherwise auto-detect (on by default) requires exactly one common workspace marker:
package.jsonwithscripts.test→ pick the package manager from the lockfile /packageManager, then run<pm> testgo.mod→go test ./...Cargo.toml→cargo test
- If nothing matches, or more than one ecosystem matches → fail with an error that asks you to set
commands, instead of guessing
For Python, Java, and other stacks with many local conventions, set commands explicitly.
Custom config
Change config only when the default is wrong. Put this in the profile’s cordis.patch.yml (it replaces that plugin’s entire config):
- id: dsh-verify-gate
name: dsh-verify-gate
config:
commands:
- id: test
run: pytest -q
autoDetect: true
sandboxMode: danger-full-access
sandboxMode defaults to danger-full-access so package managers can use a global store. If you tighten the sandbox, confirm the verify commands still run for real.
Everyday entry points
| Goal | Entry |
|---|---|
| Run verification | verify_run or /verify run |
| Inspect gate status | verify_status or /verify |
| Conclude | verify_conclude (needs a green, non-dirty, non-expired receipt) |
Receipts are stored under <workspace>/.dsh/verify-receipts/. Most application repos should ignore that directory.
License
MIT
セキュリティとインストールエビデンス
このスコアは公開リポジトリメタデータと当サイトに登録されたインストールエビデンスのみに基づくもので、コードセキュリティ監査とは異なります。
公開プラグインカタログから取得し、公開 GitHub リポジトリにリンクしています。
リポジトリは MIT ライセンスを宣言しています。
過去180日以内にコードの更新があります。
再現可能な正確なインストールメタデータはまだ登録されていません。リポジトリの説明に従って手動で確認してください。
確認したパッケージメタデータにインストールライフサイクルスクリプトは宣言されていません。