Skip to content

Commit 5966b7f

Browse files
authored
Break-glass merge PR #2664
2 parents ff829cb + 10c7fc3 commit 5966b7f

20 files changed

Lines changed: 1132 additions & 918 deletions

File tree

‎.github/workflows/_smoke.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ jobs:
118118
env:
119119
CBM_SMOKE_ARTIFACT_DIR: ${{ runner.temp }}/cbm-artifact
120120
SMOKE_REQUIRE_UI: "1"
121+
SMOKE_REQUIRE_WRAPPERS: "1"
121122

122123
- name: Security audits
123124
run: |
@@ -224,6 +225,7 @@ jobs:
224225
env:
225226
SMOKE_ARCH: ${{ matrix.arch }}
226227
SMOKE_REQUIRE_UI: "1"
228+
SMOKE_REQUIRE_WRAPPERS: "1"
227229
run: |
228230
export CBM_SMOKE_ARTIFACT_DIR="$(cygpath -u "$RUNNER_TEMP")/cbm-artifact"
229231
bash test-infrastructure/vm/vm-smoke.sh
@@ -301,6 +303,7 @@ jobs:
301303
env:
302304
CBM_SMOKE_ARTIFACT_DIR: ${{ runner.temp }}/cbm-artifact
303305
SMOKE_REQUIRE_UI: "1"
306+
SMOKE_REQUIRE_WRAPPERS: "1"
304307

305308
# The -portable binary is what all linux install/update paths now deliver;
306309
# it MUST start on old glibc (Debian 11 / RHEL 8 / Ubuntu 20.04). Runs it

‎.github/workflows/pr.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ jobs:
232232
env:
233233
CCACHE_DIR: ${{ github.workspace }}/.ccache
234234
CCACHE_MAXSIZE: 1000M
235+
SMOKE_REQUIRE_WRAPPERS: "1"
235236

236237
- name: Build prod + smoke (macOS)
237238
if: matrix.os == 'macos-14'
@@ -242,6 +243,7 @@ jobs:
242243
env:
243244
CCACHE_DIR: ${{ github.workspace }}/.ccache
244245
CCACHE_MAXSIZE: 1000M
246+
SMOKE_REQUIRE_WRAPPERS: "1"
245247

246248
- name: Build prod + smoke (Windows)
247249
if: matrix.os == 'windows-latest'
@@ -252,6 +254,7 @@ jobs:
252254
env:
253255
CCACHE_DIR: ${{ github.workspace }}/.ccache
254256
CCACHE_MAXSIZE: 1000M
257+
SMOKE_REQUIRE_WRAPPERS: "1"
255258

256259
# ── Waste sanitizer, REPORT-ONLY: memory + CPU waste on this repository and
257260
# the per-function scaling lane (Linux). Deliberately NOT in ci-ok's needs:

‎.github/workflows/release.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,15 @@ jobs:
283283
# move the release tag. (A floating HEAD also broke the 0.8.0 release:
284284
# HEAD had become a commit touching .github/workflows/, and the App
285285
# token may not create refs pointing at workflow-modifying commits.)
286+
# The Go wrapper is a nested module: `go install
287+
# .../pkg/go/cmd/codebase-memory-mcp@vX.Y.Z` and @latest resolve its
288+
# versions from pkg/go/v* tags only (without one, Go fetches the whole
289+
# repository, which is over its 500 MB module limit).
286290
run: |
287291
git tag -f "$VERSION" "$GITHUB_SHA"
288292
git push origin "$VERSION" --force
293+
git tag -f "pkg/go/$VERSION" "$GITHUB_SHA"
294+
git push origin "pkg/go/$VERSION" --force
289295
290296
- uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
291297
with:
@@ -510,6 +516,12 @@ jobs:
510516
else
511517
npm publish --access public --provenance
512518
fi
519+
# `next` is "the newest you can opt into": once a stable release
520+
# exists, an older RC must not stay behind it (0.9.1-rc.1 did until
521+
# v0.12.1). Re-runnable: dist-tag add is idempotent.
522+
if [[ "$RELEASE_VERSION" != *-* ]]; then
523+
npm dist-tag add "codebase-memory-mcp@$V" next
524+
fi
513525
514526
# ── PyPI ─────────────────────────────────────────────────
515527
- name: Setup Python

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ These captures show CBM Lens Beta on 12–13 October 2026, using public source f
6363
## Why codebase-memory-mcp
6464

6565
- **Indexing performance**: Linux kernel (28M LOC, 75K files) in 3 minutes. RAM-first pipeline: LZ4 compression, in-memory SQLite, fused Aho-Corasick pattern matching. Memory released after indexing.
66-
- **Plug and play**: native executable plus authenticated release-owned assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64). The native install needs no Docker, language runtime, or API keys. Download → `install` → restart agent → done.
66+
- **Plug and play**: native executable plus authenticated release-owned assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (arm64/amd64). The native install needs no Docker, language runtime, or API keys. Download → `install` → restart agent → done.
6767
- **162 languages**: vendored tree-sitter grammars compiled into the binary. No separate parser installation.
6868
- **About 120× fewer tokens in the reported five-query comparison**: ~3,400 tokens vs ~412,000 via file-by-file search. See [Performance](#performance) for the scope and sources.
6969
- **45 supported automatic/conditional client surfaces**: `install` configures detected clients and safely activates conditional clients only when their documented platform, marker, or explicit existing config path is present. See [Multi-Agent Support](#multi-agent-support) for the complete matrix and manual/UI-only boundaries.
@@ -360,7 +360,7 @@ The install script placed beside the binary is **reported, not deleted**: uninst
360360
- **Auto-sync**: Background watcher detects file changes in the project an MCP session is working in and re-indexes it automatically (other indexed repos: re-run `index_repository`)
361361
- **Route nodes**: REST endpoints are first-class graph entities
362362
- **CLI mode**: `codebase-memory-mcp cli search_graph --project my-project --name-pattern ".*Handler.*"`
363-
- **Available on**: npm, PyPI, Homebrew, Scoop, Winget, Chocolatey, AUR, `go install`
363+
- **Available on**: npm, PyPI, Homebrew, Scoop, AUR, `go install`
364364

365365
### Indexing modes
366366

‎docs/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ <h2>How do I install codebase-memory-mcp?</h2>
540540
Warp MCP, JetBrains AI/ACP, GitHub Copilot coding agent, Jules, CodeRabbit, Replit, BLACKBOX AI,
541541
Plandex, and SWE-agent. Warp is counted above for its detected skill installation; its MCP connection
542542
remains manual. Windows users run <code>install.ps1</code>. Also available via <code>npm</code>,
543-
<code>pip</code>, Homebrew, Scoop, Winget, Chocolatey, AUR, and <code>go install</code>.
543+
<code>pip</code>, Homebrew, Scoop, AUR, and <code>go install</code>.
544544
</p>
545545
<p class="muted">
546546
Lifecycle installation follows documented context contracts: Qoder uses <code>SessionStart</code>,
@@ -805,7 +805,7 @@ <h3>Does it support semantic or natural-language code search?</h3>
805805

806806
<h3>Do I need Docker or a runtime?</h3>
807807
<p>The native install needs no language runtime. It is a native executable with authenticated release-owned
808-
assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64); npm, PyPI, and Go wrapper
808+
assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (arm64/amd64); npm, PyPI, and Go wrapper
809809
installations naturally use their package runtime.</p>
810810

811811
<h3>How does it stay up to date as I edit code?</h3>

‎docs/llms.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- Supported agents: 45 automatic/conditional client surfaces (39 automatically detected + 6 conditional/explicit): Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, Cursor, Windsurf, Augment / Auggie, OpenClaw, Kiro, Junie, Hermes, OpenHands, Cline, Warp, Qwen Code, GitHub Copilot CLI, Factory Droid, Crush, Goose, Mistral Vibe, Grok Build, Qoder CLI, Kimi Code CLI, GitLab Duo CLI, Rovo Dev CLI, Amp, Devin CLI / Local, Tabnine, Continue / cn, Visual Studio, TRAE, Roo Code, Amazon Q Developer IDE, CodeBuddy Code CLI, IBM Bob IDE, IBM Bob Shell, Pochi, Pi, Oh My Pi (omp), and Sourcegraph Cody.
1616
- Agent profiles: documented custom-agent formats receive Scout (fast/provisional), Verify (default/task-directed), and Auditor (bounded/full verification) definitions. Every direct tier checks exact path/scope coverage with check_index_coverage and falls back to source for flagged gaps; unsafe child-MCP formats use explicit parent handoff. Kiro and Junie use positive-allowlist Scout/Analysis server profiles (7/11 tools); Qoder combines named-server selection with exact tier-specific MCP tool IDs, while Factory uses exact registered IDs without additive whole-server exposure. Foreign Junie aliases are preserved and force parent handoff.
1717
- Performance: Linux kernel (28M LOC, 75K files) full index in 3 minutes → 4.81M nodes, 7.72M edges; Cypher queries in under 1ms.
18-
- Distribution: verified runtime set (native executable plus authenticated release-owned assets); fully static Linux builds are available in the `-portable` archives. Also available through npm, PyPI, Homebrew, Scoop, Winget, Chocolatey, AUR, and `go install`.
18+
- Distribution: verified runtime set (native executable plus authenticated release-owned assets); fully static Linux builds are available in the `-portable` archives. Also available through npm, PyPI, Homebrew, Scoop, AUR, and `go install`.
1919

2020
## Links
2121

0 commit comments

Comments
 (0)