LeslieWylie/dsh-checkout-guard
LeslieWylie★ 0JavaScriptLast synced: 2026-08-17
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. Read-only, offline by default.
README excerpt
dsh-checkout-guard Is the working copy you are about to write to the one you think it is? A DSH plugin that answers that before you edit, commit, or push — not after. It reads a git checkout and tells you where it sits relative to its remote, how stale that answer is, who your next commit will be attributed to, what work is already sitting in the index, and whether another clone of the same repository on this machine has moved ahead of the one you are in. Read-only. Offline unless you ask for a fetch. Never takes the index lock. Why Every check here exists because a specific mistake actually happened, usually to an agent working across many repositories at once: What goes wrong What you see afterwards You edit a checkout that is 8 commits behind Your "fix" reverts work, or your push is rejected after the fact Two clones of one repository, you are in the stale one Changes vanish; the repo on the forge never shows them A concurrent process moved HEAD to another branch Your commit lands on a branch you have never heard of Something was already staged before you ran git add Your commit packages somebody else's work in progress No repository-local user.email A work address is permanentl…
View full README on GitHub →Category
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 88,090
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,837
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,081