closure_drift
Audit a local Git repository's tags for version-label collisions before publishing, read-only and offline.
would_tag: check whether HEAD's declared version would reuse a label already naming different code; exit 1 means bump the version before tagging.check_versions: audit the whole tag history to see whether each version label names exactly one code state, with optionalstrictandpublished_filecontrols.explain_label: after drift is reported, list the paths that differ for a given label across tags.compare: compare any two tags or commits for version labels, closures, and differing paths.All tools return exit
0for clean,1for drift, or2for not decided, plus a JSON report or refusal text; they run localgitreads only, with no network.
Operates on local git repositories, reading the tag history read-only to check whether each version label names exactly one code state. Tools audit the whole tag history, compare any two tags or commits and list differing paths, explain which paths differ under a drifted label, and check before tagging whether HEAD's declared version would reuse a label that already names other code (exit 1 = do not tag).
Provides a GitHub Actions step (luizfnsilva/closure_drift@v1.2.2) to gate releases in CI, running the version-label check on a checkout (with full history) before a tag is created, so drift is caught in the pipeline.
closure_drift
Does v1.4.2 mean one thing in your repository?
$ git clone -q https://github.com/psf/requests && cd requests
$ closure-drift --compare v2.16.0 v2.16.1
A v2.16.0 (commit bcd0e170ac20)
label 2.16.0
closure 3d2886b87c2a7b94 17 file(s)
B v2.16.1 (commit f687e9f3d8b0)
label 2.16.0
closure 696b71ed6023f563 18 file(s)
changed requests/__init__.py
only in B requests/packages.py
==============================================================
DIFFERS UNDER ONE LABEL: both declare 2.16.0, and the code differs
in 2 path(s). If both were published, that label names two things.Check it without this tool: git show v2.16.1:requests/__version__.py says 2.16.0. closure_drift reads
the git history, not a package index: it shows what the tags contain, not which commit a published package
was built from.
A version is a string a human edits. When two releases share a version and differ in code, one address names two artefacts — and nothing notices, because the version is all that was recorded.
One command checks it. Read-only, one file, no dependencies, no network.
Three ways in
Try it now (recommended first). See the three answers on tiny repositories it builds and deletes, then measure yours:
git clone -q https://github.com/luizfnsilva/closure_drift && python3 closure_drift/examples/demo.py
python3 closure_drift/closure_drift.py /path/to/your/repoOr without cloning: curl -sO https://raw.githubusercontent.com/luizfnsilva/closure_drift/v1.3.1/closure_drift.py
then python3 closure_drift.py inside any git repository. Needs Python 3.9+ and git. The last
lines say what to do next. (./reproduce.sh is something else: it validates closure_drift itself,
a long run, and does not look at your repository.)
With your agent. Install the skill (skills/closure-drift/),
which tells the agent when to check before a tag and how to read the answer:
gh skill install luizfnsilva/closure_drift closure-drift --agent claude-code (or codex,
cursor, gemini-cli, github-copilot, …). In Claude Code, skill and MCP server together:
/plugin marketplace add luizfnsilva/closure_drift. Other clients: integrations/.
In CI, the barrier that holds when nobody remembers to check: docs/CI.md.
Exit 0 pass, 1 drift, 2 nothing decided (a failure by default).
Related MCP server: mcp-gerrit-code-review
Check before you tag
--would-tag answers: if I tag this commit now, does its version already name different code?
# GitHub Actions
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: luizfnsilva/closure_drift@v1.3.1Push the workflow before the first tag: a tag pushed together with the workflow that should run on
it may not start it (then run it by hand, with workflow_dispatch: in its on:). mode: measure
concludes only from two distinct labels; on the first release it is inconclusive, exit 2, so gate
with would-tag from the first tag.
# pre-commit, on git push
- repo: https://github.com/luizfnsilva/closure_drift
rev: v1.3.1
hooks: [{ id: closure-drift-would-tag }]Other pipelines: docs/CI.md.
For AI agents
An agent that tags and publishes can ask the same question first, through a Model Context Protocol
(MCP) server, standard library only, with a would_tag tool:
claude mcp add closure-drift -- uvx --from git+https://github.com/luizfnsilva/closure_drift closure-drift-mcpCodex CLI, Gemini CLI, Cursor, VS Code, Windsurf, an agent skill that says when to run it, and a rule to paste into AGENTS.md, CLAUDE.md or .cursorrules:
integrations/. The server makes the check available; the agent has to call it
and respect the answer. The barrier is CI.
The answer
verdict | exit | |
| 0 | every label names one closure, over at least as many points compared as not |
| 1 | a label names more than one closure |
any other verdict (list) | 2 | not enough to tell; the report says why |
refusal | 2 | cause on stderr |
Exit 0 means clean and nothing else. No input we tried produces a traceback, and no failure exits 1.
label — the version your project declares at each tag: in its build files, in the module they point to, or the tag itself when the version is derived from it
closure — SHA-256 over
(path, git object id)of the files that determine your output
The report also says how many tags it could not compare.
Options
| would tagging this commit reuse a label? |
| only these tags are publication points (monorepos) |
| you publish at every commit |
| which files determine your output |
|
|
| which paths differ under a label in drift: |
| two tags side by side |
| where the label is |
| only tags of versions you published: a local list, one per line. |
|
|
| a file's mode (executable bit, symlink) is part of the closure |
| one component of a monorepo (below) |
| report (contract), README badge, bug-report block |
Settings can be committed in .closure-drift.json. Flags override it, except beside components,
where they need --component; a broken file is refused.
A monorepo declares its components, and gets one verdict each:
{"components": {
"python": {"tags": ["py-*"], "version_file": "py/pyproject.toml", "closure": ["py/**"]},
"rust": {"tags": ["rs-*"], "version_file": "rs/Cargo.toml", "closure": ["rs/**"]}
}}The answer is drift if any component is in drift, clean if all are clean, otherwise
incomplete. Components are declared, never guessed. A gate in such a repository passes
--component NAME to --would-tag.
What it found
The 100 most-downloaded PyPI projects with a public repository, at the defaults, measured with a build of 0.10.0 that prints the same reports as the release — rule and method fixed before the first run; no repository tuned (full table and every collision):
repositories | |
| 59 |
| 29 |
| 4 |
no version label found, or inconclusive | 8 |
A version label names two different code states in 29 of the 88 decided, 29 of all 100. Each
of the 87 labels is in collisions.tsv, one line per tag involved, reproducible by hand:
$ closure-drift --compare v2.16.0 v2.16.1 # in psf/requests
DIFFERS UNDER ONE LABEL: both declare 2.16.0, and the code differs in 2 path(s).A collision is not a verdict on a project. The usual causes are a tag created without bumping the
version, branch markers such as 7.x, and tag families in a monorepo. A first run, kept in the
repository, decided only 63 of 100 — it read the version from one file chosen at HEAD — and that
is why this release finds the label where each project keeps it.
Six reference repositories, measured with 1.0.0 at every tag (tools/reference/):
Repository | verdict | labels in drift | tags compared |
| drift | 3 of 66 | 71 of 71 |
| drift | 3 of 140 | 145 of 162 |
| clean | 0 of 50 | 50 of 53 |
| clean | 0 of 88 | 88 of 88 |
| drift | 2 of 4 | 6 of 15 |
| drift | 60 of 107 | 209 of 440 |
Two causes: a release tagged without bumping the version (impress.js), and tag families sharing
one version file (lodash). Neither project is badly run. --would-tag addresses the first,
--tags or components the second.
Limits
It never runs your code and attests nothing.
cleanis about addressing, not reproducibility.A change of file mode alone is not seen, unless
--modes.Never in the closure: folders
test/,tests/,spec/,docs/,vendor/,node_modules/,.git/; files named*_test.*,*.test.*,*.md.The default closure globs are a guess. Pass
--closure.Labels are compared as written:
1.0and1.0.0are two labels, unless--label-equality version.It reads git, not a package index: a tag never released counts, unless
--publishedlists what was. A tag left off the list is left out of the analysis, not shown unpublished.How the label is found is a set of rules, not a build:
docs/LABELS.md.In a gate, pass
--version-file, or--published: the rules can still read the wrong file when one tag happens to agree with it.
Every failure found so far: docs/FAILURES.md. More: SCOPE.md,
docs/WHY.md.
Safety
It starts git and, for a version pattern you supply, itself; nothing else. It never writes to the repository, and does not run commands named
in that repository's git config. What is defended and what is not:
THREAT_MODEL.md. Reporting: SECURITY.md.
Tests
Four suites, each pre-registered before the code. Scores are never added together.
suite | macOS, Python 3.14 |
| 222 declared · 221 green · 0 red · 1 not run |
| 61 mutants · 61 caught · 0 not caught |
| 315 attacks · 304 as required · 2 loose · 9 not run; the 2 loose are declared limits ( |
| 17 properties · 17 green · 0 red · 10 controls · 10 caught |
CI runs the same four on Linux (Python 3.9 to 3.14), macOS and Windows; what each platform could not
run is in
tests/RECORD.md. These scores describe the cases executed, not inputs nobody
tried. ./reproduce.sh runs all of it. The 100 projects of the study are also a regression corpus,
pinned to recorded commits: 1.3.0 gives the recorded answer on all 99 still checkable (one tag of apache/arrow moved upstream), as predicted before it ran
(tools/regression/).
Ten large repositories (the Linux kernel, LLVM, CPython and seven more), protocol written
first. Every tag of the kernel: 6.5 GB for the whole process tree with 0.9.1, 900 MB with 1.0.0.
0.9.1 gave three wrong or near-empty answers there; 1.0.0 gives none of them. With a declared
version file (docs/LABELS.md) every tag of the kernel is compared: clean,
947 of 947, in four minutes.
tools/benchmark/READING.md.
Send a result
RESULTS.md is for measurements made by someone other than the author: two so far,
both on private repositories. closure-drift --json > result.json, then
open an issue
or write to lfnsilva.invest@gmail.com. A result showing the tool is wrong is the most useful kind.
Version
1.3.1 fixes the last line of --would-tag on projects that take the version from the tag (setuptools_scm, hatch-vcs), reported on TabNews.
1.3.0 opens the README with three ways in, ends every text report with a Next: line, and adds docs/EVIDENCE.md and a usability protocol; the verdicts are unchanged.
1.2.2 adds an agent skill (skills/closure-drift/): when to run the check, how to read the answer, and never to move a published tag; the detector is unchanged.
1.2.1 adds the first third-party results to RESULTS.md, and the refusal names a package.json it skipped because it is marked private.
1.2.0 names a version file one level down, says whether a dirty tree touches the closure, and writes UTF-8 when the output is not a terminal (from issue #12).
1.1.3 says when to use --explain or --compare, and --tags or --published; the detector is unchanged.
1.1.2 installs the MCP server in one line (closure-drift-mcp); the detector is unchanged.
1.1.1 fixes O11: a version file over the size limit (1 MB) is named and the answer is
incomplete, never clean. It adds integrations/ for AI agents. 1.1.0 (script sha256 e2a67a5a9148fe273d2c95ad4bcce9bc589a43711fc34443a4a9491fde575913)
adds --published, three version sources, an earlier refusal and two opt-in comparisons; with
no new option, results change only under --at commits (CHANGELOG.md). What it
had to meet was written first (tests/PREREGISTRATION.md §16), and a
reviewer who did not write it found 13 problems before the tag (docs/REVIEW-1.1.0.md).
SCOPE.md says what stays stable until 2.0.
Apache-2.0. Cite the version DOI, under concept DOI 10.5281/zenodo.21763931
(CITATION.cff). Planned next: ROADMAP.md.
Available Tools
4 toolscheck_versionsMeasure all version labelsARead-onlyIdempotent
Use to audit the whole tag history: does each version label name exactly one code state? For a single release about to be tagged, use would_tag. With one release only, the answer is not decided (exit 2). Returns exit 0, 1 or 2 and the JSON report. Exit 2 is not a pass: nothing was decided, and output says why (no label found, a file not read, a tag not compared). Read-only: it runs git reads only, on the local repository, with no network.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | path to a local git repository with its tags fetched | |
| strict | No | answer clean only if every tag scanned was compared (default false) | |
| published_file | No | a local file with the versions actually released, one per line; tags not on it are not counted as publications |
Output Schema
| Name | Required | Description |
|---|---|---|
| exit | Yes | 0 clean, 1 drift, 2 not decided (the reason is in output) |
| output | Yes | the JSON report (docs/REPORT.md), or the refusal as text |
| meaning | Yes | the exit code in words |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, local, non-destructive behavior, but the description adds valuable context beyond them: it runs git reads only, uses no network, returns exit 0/1/2 plus a JSON report, and explains that exit 2 means nothing was decided and why.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the primary use case and the sibling alternative, then concisely covers exit semantics and read-only behavior. Every sentence carries operational value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex audit tool with an output schema, rich annotations, and full parameter documentation, the description supplies the remaining needed context: when to use it, when not to, exit-code meaning, and local-git/no-network behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the three parameters are already documented in the schema. The description does not add parameter-specific meaning for strict or published_file, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific audit action over the whole tag history and frames the core question precisely: whether each version label names exactly one code state. It also distinguishes the tool from sibling would_tag for single-release checks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to use this for whole tag-history audits and routes single-release tagging checks to would_tag. It also calls out the edge case of one release only being undecided via exit 2.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compareCompare two referencesARead-onlyIdempotent
Use to compare any two tags or commits you name: their version labels, closures and the paths that differ. Publication points play no part. Exit 1 when both declare one label and the code differs. Returns exit 0, 1 or 2 and the JSON report. Exit 2 is not a pass: nothing was decided, and output says why (no label found, a file not read, a tag not compared). Read-only: it runs git reads only, on the local repository, with no network.
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | the first tag or commit (the reference side) | |
| b | Yes | the second tag or commit; paths are listed as changed, only in a, only in b | |
| repo | Yes | path to a local git repository with its tags fetched |
Output Schema
| Name | Required | Description |
|---|---|---|
| exit | Yes | 0 clean, 1 drift, 2 not decided (the reason is in output) |
| output | Yes | the JSON report (docs/REPORT.md), or the refusal as text |
| meaning | Yes | the exit code in words |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations, it discloses the full outcome contract: exit 0/1/2 semantics, that exit 1 means both declare one label but code differs, and that exit 2 means nothing was decided with a stated reason. It also confirms the read-only, local-only, no-network execution profile, which is richer than readOnlyHint alone.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the purpose, then the outcome contract in a compact sequence. The exit-code sentences are dense but each carries decision-relevant information; the sole visible duplication is the no-network clause already implied by openWorldHint=false.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 3-required-param comparison tool with an output schema, this covers the gaps that matter: how to read exit codes, what exit 2 means operationally, and that execution is local and side-effect free. Nothing an agent needs to invoke and interpret the call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description adds that both operands are user-named tags or commits and clarifies the directional semantics of the comparison output ('only in a, only in b'). It does not add format or resolution rules (e.g. ambiguous tag vs branch names) beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (compare two tags or commits) and enumerates exactly what the comparison yields: version labels, closures, and differing paths. 'Publication points play no part' implicitly separates it from the release/publication-oriented siblings like would_tag.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Use to compare any two tags or commits you name' gives a clear trigger plus the exit-code contract that tells the agent how to interpret outcomes. It does not explicitly name the sibling alternatives (check_versions, explain_label) or state when not to use it, which keeps it short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
explain_labelExplain a label in driftARead-onlyIdempotent
Use after check_versions reports drift: lists, for one label, the paths that differ between the first tag that used it and each other tag that did. For two references you choose, use compare. Returns exit 0, 1 or 2 and the JSON report. Exit 2 is not a pass: nothing was decided, and output says why (no label found, a file not read, a tag not compared). Read-only: it runs git reads only, on the local repository, with no network.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | path to a local git repository with its tags fetched | |
| label | Yes | a version label reported in drift, as written in the report (e.g. 1.0.0) |
Output Schema
| Name | Required | Description |
|---|---|---|
| exit | Yes | 0 clean, 1 drift, 2 not decided (the reason is in output) |
| output | Yes | the JSON report (docs/REPORT.md), or the refusal as text |
| meaning | Yes | the exit code in words |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover the safety profile (readOnly, non-destructive, idempotent, closed-world), yet the description adds genuinely new behavior: exit codes 0/1/2, that exit 2 means nothing was decided, and reasons it can occur. It also restates the local-git-reads-only constraint, rounding out operational context beyond structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the trigger condition and core action; the exit-code sentence is dense but earns its place for a tool whose status codes are semantically meaningful. Slightly heavy, but no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Output schema exists so return values needn't be explained, and the description still covers the exit-code contract and failure modes. For a 2-param read-only tool, nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so both params are already documented (repo path with tags fetched, label as written in drift). The description reinforces label semantics via 'first tag that used it' but adds no syntax or format detail beyond the schema, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (list paths that differ for one label between tags) and explicitly differentiates from siblings: 'Use after check_versions reports drift' and 'For two references you choose, use compare.' An agent can place this tool precisely among its siblings without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit ordering guidance (use after check_versions reports drift) and a named alternative with the condition that selects it (compare for two arbitrary references). When-to-use is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
would_tagCheck before taggingARead-onlyIdempotent
Use BEFORE creating a release tag: would the version that HEAD declares reuse a label that already names other code in the tags? Exit 1 means do not tag; bump the version first. Returns exit 0, 1 or 2 and the JSON report. Exit 2 is not a pass: nothing was decided, and output says why (no label found, a file not read, a tag not compared). Read-only: it runs git reads only, on the local repository, with no network.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | path to a local git repository with its tags fetched |
Output Schema
| Name | Required | Description |
|---|---|---|
| exit | Yes | 0 clean, 1 drift, 2 not decided (the reason is in output) |
| output | Yes | the JSON report (docs/REPORT.md), or the refusal as text |
| meaning | Yes | the exit code in words |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations, it explains all three exit codes, stresses that exit 2 is not a pass, and gives examples of why exit 2 occurs. It also confirms read-only local git reads with no network, aligning with and enriching the annotation profile.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the primary instruction and then efficiently covers exit-code semantics and read-only behavior. Every sentence contributes operational meaning without unnecessary repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the single parameter, existing output schema, and rich annotations, the description supplies the missing behavioral context an agent needs: when to call it, how to interpret exits, and why exit 2 is not success. No critical pre-call information appears to be missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is only one parameter and schema description coverage is 100%, so the schema already explains that `repo` is a local git repository with tags fetched. The description reinforces the local-repository context but adds no additional syntax or constraints beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific pre-tag check: whether the version declared by HEAD would reuse a label already present in tags. It is clear about the resource and operation, but it does not explicitly distinguish itself from siblings like check_versions or compare.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a clear usage context: "Use BEFORE creating a release tag" and explains that exit 1 means do not tag and bump the version first. It does not state when to choose a sibling tool instead, so it stops short of full alternative routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.2.0- Changed
check_versions4 fields changed- changed
Input schema / properties / published_file / descriptionPrevious value: -"optional file with the versions actually released, one per line"New value: +"a local file with the versions actually released, one per line; tags not on it are not counted as publications" - changed
Input schema / properties / repo / descriptionPrevious value: -"path to a local git repository"New value: +"path to a local git repository with its tags fetched" - changed
Input schema / properties / strict / descriptionPrevious value: -"clean only if every tag scanned was compared"New value: +"answer clean only if every tag scanned was compared (default false)" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "properties": { + "exit": { + "description": "0 clean, 1 drift, 2 not decided (the reason is in output)", + "enum": [ + 0, + 1, + 2 + ], + "type": "integer" + }, + "meaning": { + "description": "the exit code in words", + "type": "string" + }, + "output": { + "description": "the JSON report (docs/REPORT.md), or the refusal as text" + } + }, + "required": [ + "exit", + "meaning", + "output" + ], + "type": "object" +}
- Changed
compare4 fields changed- added
Input schema / properties / a / descriptionAdded value: +"the first tag or commit (the reference side)" - added
Input schema / properties / b / descriptionAdded value: +"the second tag or commit; paths are listed as changed, only in a, only in b" - changed
Input schema / properties / repo / descriptionPrevious value: -"path to a local git repository"New value: +"path to a local git repository with its tags fetched" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "properties": { + "exit": { + "description": "0 clean, 1 drift, 2 not decided (the reason is in output)", + "enum": [ + 0, + 1, + 2 + ], + "type": "integer" + }, + "meaning": { + "description": "the exit code in words", + "type": "string" + }, + "output": { + "description": "the JSON report (docs/REPORT.md), or the refusal as text" + } + }, + "required": [ + "exit", + "meaning", + "output" + ], + "type": "object" +}
- Changed
explain_label3 fields changed- added
Input schema / properties / label / descriptionAdded value: +"a version label reported in drift, as written in the report (e.g. 1.0.0)" - changed
Input schema / properties / repo / descriptionPrevious value: -"path to a local git repository"New value: +"path to a local git repository with its tags fetched" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "properties": { + "exit": { + "description": "0 clean, 1 drift, 2 not decided (the reason is in output)", + "enum": [ + 0, + 1, + 2 + ], + "type": "integer" + }, + "meaning": { + "description": "the exit code in words", + "type": "string" + }, + "output": { + "description": "the JSON report (docs/REPORT.md), or the refusal as text" + } + }, + "required": [ + "exit", + "meaning", + "output" + ], + "type": "object" +}
- Changed
would_tag2 fields changed- changed
Input schema / properties / repo / descriptionPrevious value: -"path to a local git repository"New value: +"path to a local git repository with its tags fetched" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "properties": { + "exit": { + "description": "0 clean, 1 drift, 2 not decided (the reason is in output)", + "enum": [ + 0, + 1, + 2 + ], + "type": "integer" + }, + "meaning": { + "description": "the exit code in words", + "type": "string" + }, + "output": { + "description": "the JSON report (docs/REPORT.md), or the refusal as text" + } + }, + "required": [ + "exit", + "meaning", + "output" + ], + "type": "object" +}
4 tool updates
v1.1.1- First observed
check_versions - First observed
compare - First observed
explain_label - First observed
would_tag
TDQS
Scored across 4 tools
The four tools have largely distinct scopes: would_tag is for a forthcoming single release, check_versions audits all tag history, explain_label drills into one drifted label, and compare examines any two refs. The main possible confusion is between would_tag and check_versions, but their descriptions explicitly separate pre-tag single-release checks from full-history audits.
Three tools follow a verb_noun pattern (would_tag, check_versions, explain_label), while compare is a bare verb. This is a minor deviation and still readable, with no mixed casing styles.
Four tools are well-scoped for a focused read-only version/tag drift audit server. Each tool earns its place and covers a distinct step in the workflow.
The surface covers pre-tag checking, whole-history auditing, drift explanation, and arbitrary ref comparison. Minor gaps remain, such as listing tags or labels directly, but the core read-only lifecycle for this domain is covered.
Maintenance
Related MCP Connectors
Ovanek MCP: Model Context Protocol server for Ovanek platform tools; writes are dry-run by default.
MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.
MCP server (stdio): validate JSON against JSON Schema (draft-07 / 2020-12) via the AgentForge API
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server providing Git-related functionalities, primarily a tool to generate diffs for Git merge commits against their first parent.4MIT
- AlicenseAqualityCmaintenanceMCP Server providing AI agents with tooling for Gerrit code review workflows via stdio transport.1812 npm1MIT
- AlicenseNot gradedqualityAmaintenanceA local git MCP server. It exposes 12 git operations to an MCP client over stdio, allowing the client to inspect and work with a git repository on your machine, including status, diffs, log, branches, staging, and commits.MIT
- AlicenseAqualityBmaintenanceLocal MCP server for AI agents and vibe coding safety: deterministic risk checks (payments, auth, database, secrets, infrastructure), sessions, checkpoints, policy inspection, and fix prompts. Runs over stdio against a local git repository; no language model judges risk.8Apache 2.0