Phocinae/dsh-evidence ↗★ 0

dsh-preclaim

DeepSeek Harness plugin: a deterministic gate that checks a git commit, push or README write asserting something was verified against what the session actually ran. No model, no network. 适合需要在写入前严格核对会话执行记录与声明的用户。

パッケージ
dsh-preclaim
互換性
未検証
Cordis ピア範囲
^4.0.5-alpha.1
バージョン
0.1.3
ライセンス
Apache-2.0
最終更新
2026/10/20

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Phocinae/dsh-evidence

ドキュメント

README 全文を読む ↗

Configuration

- insert:
    - id: preclaim
      name: dsh-preclaim
      config:
        triggerTools: [pwsh, bash, write, edit, str_replace_editor]
        readmeGlobs: ['README*', 'CHANGELOG*', 'docs/**/*.md', '**/README.md']
        decision: review      # review | deny
        audit: true
        ledgerLimit: 500
        pushMessageLimit: 20

There is deliberately no configuration value that lets an unbacked claim through. decision chooses between asking and refusing, and nothing else — a gate with an off switch is a gate that gets switched off. resolveConfig throws on decision: allow.

pushMessageLimit caps how many commit messages a push is checked against, so the cost does not grow with repository age. The cap is reported when it bites, because a silently truncated check reads as a complete one.