skip to content

Version-Sentinel

Dependency-version guard for coding agents. Shared checks and platform adapters require fresh, source-cited registry evidence before supported dependency changes.

shell · python · agent hooks · npm · pypi · cargo · nuget

Problem

Coding agents can select stale or nonexistent dependency versions. A version change needs a registry check and a record of why that version was chosen.

Approach

Shared scripts inspect dependency manifests and supported install commands. Hook-enabled integrations can reject unchecked additions, upgrades and downgrades until a fresh version record exists. The record includes the package, version, source URL and timestamp.

The repository provides adapters for Claude Code, Kimi Code, Gemini CLI, GitHub Copilot and Codex, plus instruction-based setup for Zed. Enforcement depends on the host: Zed has no hook support, so its checks are best-effort. The shared registry checks cover npm, PyPI, Cargo and NuGet, including Poetry/uv manifests.

Tradeoffs

  • Blocking a supported tool call adds friction, but catches unchecked dependency decisions before they enter the manifest.
  • Shared scripts keep adapters small; host differences still require platform-specific wiring and tests.
  • A deliberately older version remains possible with a recorded reason. A registry check does not replace vulnerability scanning or code review.

Outcome

A public MIT-licensed developer tool with shared enforcement scripts, platform adapters and regression tests. Its boundary is supported agent operations; it is not a sandbox for arbitrary filesystem writes.