Skip to content

Commit 5821078

Browse files
committed
fix(pkg): correct stale packaging versions to v0.10.8 + gate the drift
Seven packaging surfaces declared 0.8.1 while v0.10.8 was the shipped release — nine releases of drift in metadata published to package registries, and the third version-metadata drift this month. pkg/go was not cosmetic: it hardcodes its version into the release URL it downloads from, so `go install` fetched v0.8.1 binaries. Chocolatey had to move as a unit. The nuspec is version-only but chocolateyInstall.ps1 pins the asset sha256, so bumping the nuspec alone would ship a package declaring 0.10.8 while installing 0.8.1. The new checksum is the v0.10.8 windows-amd64.zip digest, verified by downloading the published asset and hashing it, not merely copied from checksums.txt. The gate (tests/test_version_metadata_contract.sh, scripts/test.sh Step 0x) checks against the newest stable v-prefixed tag, because nothing in the tree declares the version: CBM_VERSION is injected at build time and the release is dispatched with a version input. That absence is exactly why these files drifted. Mutual consistency across the surfaces needs no git and always runs, so a shallow clone degrades the gate loudly instead of passing silently. Homebrew (0.10.3), Scoop and AUR (0.8.1) are left pinned: each embeds per-release asset checksums, so bumping them is a distribution chore rather than a metadata edit. They are still gated — internally consistent, and never naming a release that does not exist — and each carries a recorded reason for being frozen. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent be7b578 commit 5821078

9 files changed

Lines changed: 321 additions & 11 deletions

File tree

‎pkg/chocolatey/codebase-memory-mcp.nuspec‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>codebase-memory-mcp</id>
5-
<version>0.8.1</version>
5+
<version>0.10.8</version>
66
<title>codebase-memory-mcp</title>
77
<authors>DeusData</authors>
88
<projectUrl>https://github.com/DeusData/codebase-memory-mcp</projectUrl>
@@ -28,7 +28,7 @@ After installation, run:
2828

2929
to configure your coding agents automatically.
3030
</description>
31-
<releaseNotes>https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.8.1</releaseNotes>
31+
<releaseNotes>https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.8</releaseNotes>
3232
</metadata>
3333
<files>
3434
<file src="tools\**" target="tools" />

‎pkg/chocolatey/tools/chocolateyInstall.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
$ErrorActionPreference = 'Stop'
22

33
$packageName = 'codebase-memory-mcp'
4-
$version = '0.8.1'
4+
$version = '0.10.8'
55
$url64 = "https://github.com/DeusData/codebase-memory-mcp/releases/download/v${version}/codebase-memory-mcp-windows-amd64.zip"
6-
$checksum64 = 'a602ad090ed3f49d86c55472f73f27ad7055222806a82358f2e08513e027f00f'
6+
$checksum64 = 'b43ad982994c4d829670749e08d3b622a74bb20041fc0a7d02bef6113f81c34d'
77
$installDir = Join-Path $env:ChocolateyBinRoot $packageName
88

99
Install-ChocolateyZipPackage `

‎pkg/go/cmd/codebase-memory-mcp/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636

3737
const (
3838
repo = "DeusData/codebase-memory-mcp"
39-
version = "0.8.1"
39+
version = "0.10.8"
4040
windowsBinaryName = "codebase-memory-mcp.exe"
4141

4242
maxRedirects = 5

‎pkg/npm/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codebase-memory-mcp",
3-
"version": "0.8.1",
3+
"version": "0.10.8",
44
"description": "Fast code intelligence for AI coding agents — installs a verified native runtime set",
55
"mcpName": "io.github.DeusData/codebase-memory-mcp",
66
"license": "MIT",

‎pkg/pypi/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
88

99
[project]
1010
name = "codebase-memory-mcp"
11-
version = "0.8.1"
11+
version = "0.10.8"
1212
description = "Fast code intelligence for AI coding agents — installs a verified native runtime set"
1313
readme = "README.md"
1414
license = { text = "MIT" }

‎pkg/pypi/src/codebase_memory_mcp/_cli.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def _version() -> str:
338338
from importlib.metadata import version
339339
return version("codebase-memory-mcp")
340340
except Exception:
341-
return "0.8.1"
341+
return "0.10.8"
342342

343343

344344
def _os_name() -> str:

‎scripts/test.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ bash "$ROOT/tests/test_nomic_blob_generator_contract.sh"
269269
echo "=== Step 0w: published language-count contract ==="
270270
bash "$ROOT/tests/test_language_count_contract.sh"
271271

272+
echo "=== Step 0x: packaging version-metadata contract ==="
273+
bash "$ROOT/tests/test_version_metadata_contract.sh"
274+
272275
# Verify compiler supports target arch
273276
verify_compiler "$CC"
274277

‎server.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"source": "github"
99
},
1010
"websiteUrl": "https://deusdata.github.io/codebase-memory-mcp/",
11-
"version": "0.8.1",
11+
"version": "0.10.8",
1212
"packages": [
1313
{
1414
"registryType": "npm",
1515
"identifier": "codebase-memory-mcp",
16-
"version": "0.8.1",
16+
"version": "0.10.8",
1717
"runtimeHint": "npx",
1818
"transport": {
1919
"type": "stdio"
@@ -22,7 +22,7 @@
2222
{
2323
"registryType": "pypi",
2424
"identifier": "codebase-memory-mcp",
25-
"version": "0.8.1",
25+
"version": "0.10.8",
2626
"runtimeHint": "uvx",
2727
"transport": {
2828
"type": "stdio"

0 commit comments

Comments
 (0)