LeslieWylie/dsh-checkout-guard0

dsh-checkout-guard

Pre-flight guard for git working copies: is the checkout you are about to write to the one you think it is? Branch identity, drift from the remote and how stale that figure is, the identity your next commit will carry, work already in the index, and duplicate clones of the same repository. Read-only, offline by default, deterministic.

AI 분석

核心用途是在 Agent 写入代码前自动核对 Git 仓库状态,防止在错误的分支或脏工作区上进行操作。适合频繁让 Agent 自动提交代码的开发者。

패키지
dsh-checkout-guard
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LeslieWylie/dsh-checkout-guard

Configuration

- id: checkout-guard
  name: 'dsh-checkout-guard'
  config:
    roots:
      - /Users/you/projects

roots bounds everything the plugin will look at. Unset, it defaults to your home directory.