Add version-sentinel: dependency-version guardrail plugin - #23
Open
KSEGIT wants to merge 1 commit into
Open
Conversation
Third-party plugin (github source: KSEGIT/Version-Sentinel): a PreToolUse guardrail that blocks dependency additions, bumps, and downgrades in Claude Code until a fresh, source-cited version check is recorded. Stops hallucinated versions, stale training-data pins, and silent downgrades. Supports npm, pip/Poetry/uv, Cargo, and NuGet.
KSEGIT
added a commit
to KSEGIT/Version-Sentinel
that referenced
this pull request
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds version-sentinel to the marketplace as a third-party plugin via a
githubsource — no files vendored into this repo.What the plugin does
A PreToolUse guardrail for Claude Code that hard-blocks dependency additions, bumps, and downgrades (manifest edits via Edit/Write, and install commands via Bash) until the agent has verified the package version against its upstream registry (npmjs.com, pypi.org, crates.io, nuget.org) and recorded a source-cited check. It stops hallucinated versions, stale training-data pins, silent downgrades, and compromised-release installs. Supports npm/pnpm/yarn/bun, pip/Poetry/uv, Cargo, and NuGet. Ships
/vs-recordand/check-versionscommands and escape hatches for intentional pins and offline sessions. MIT licensed.Why here
The GLM Coding Plan runs inside Claude Code, so Claude-format plugins benefit Z.ai users directly. Version-checking is especially relevant for GLM coding sessions: the guardrail forces a live registry lookup instead of trusting a model's memorized package versions.
Verification
claude plugin marketplace add+claude plugin installfrom the plugin's own marketplace verified working (plugin loads, hooks fire, block/unblock cycle confirmed).sourceuses the marketplace-schemagithubform..claude-plugin/marketplace.jsonis valid JSON.Happy to adjust category, description wording, or the README row placement.