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 peer 범위
^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

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.