手机端可长按图片保存,分享到朋友圈 / 社群
使用 codebase-memory-mcp,你可以:
高性能代码智能 MCP 服务,将代码库构建持久知识图谱,毫秒完成仓库索引,支持 158 种编程语言,查询 Token 减少 99%,单静态二进制无依赖。
用户评论 (0)
2026年08月11日
2026年07月14日
2026年03月20日
2026年11月06日
2026年10月29日
2026年10月21日
v0.12.1
2026年10月17日
v0.12.1
Every install path works again, and Helm charts join the graph.
v0.12.1 fixes v0.12.0's package installs and the other install paths we found broken while checking every channel. It also links Helm charts to what they deploy, and stops the graph from inventing a registry for container images.
Upgrading? The first index of each existing project after the upgrade is a full rebuild, once (image identities changed; see below).
Fixed: installs
- npm, PyPI and Go installs.
npm i,pnpm add,pip installand the Go wrapper could not install v0.12.0 on any platform. Each wrapper refused an archive member above 256 MiB, and every v0.12.0 binary is 331-335 MB. The size limits are gone from all three wrappers. The archive is still verified against the release'schecksums.txtbefore it is unpacked, its contents must be exactly the expected files, and the binary must answer--version. Thank you, @hydroplexus, for the precise report (#2657). - Homebrew. The formula was still at 0.10.3, and on Linux it installed the dynamically linked build, which needs glibc 2.38 (Ubuntu 22.04, Debian 12 and RHEL 9 do not have it). It now installs the current release, and on Linux the static
-portablebuild that runs on any distribution. go install. A pinnedgo install .../pkg/go/cmd/codebase-memory-mcp@vX.Y.Znever worked, and@latestinstalled a stale version. Releases now carrypkg/go/vX.Y.Ztags, and the wrapper installs the release matching its own version.- npm
next. Thenextdist-tag no longer points to an old release candidate; a stable release moves it. - Docs. winget and Chocolatey were listed as install channels but are not published; they are removed until they are. Windows arm64 builds ship and are now listed.
Install-path smoke tests. Every pull request and every release now installs the npm, PyPI and Go wrappers, the way a user's package manager does, against the real release archives, and runs the binary each one installed. A release is published only after these installs pass, so an installer that cannot install what we ship can no longer reach you.
Helm charts in the graph
A Helm chart used to be an isolated node. Now it links to what it deploys (#2663):
- Chart → objects (
DEPLOYS,via: chart): every Kubernetes object rendered from the chart'stemplates/(a subchart's objects belong to the subchart). - values file → Chart (
CONFIGURES):values.yamlandvalues-<x>.yamlbesideChart.yaml. - Chart → images (
DEPLOYS,ref: image): every image its objects name literally (a templated image names none).
HelmRelease → Chart → Deployment → Image is now one traversable path. On 20 infrastructure repositories, charts with no outgoing edge dropped from 238 of 260 to 109, and 2,511 chart-to-object links appeared; every other edge stayed identical.
Images keep the registry the code names
An image without a registry host used to be stored under an invented docker.io/library/... (#2654). Docker Hub is only Docker's default: Podman and CRI-O resolve short names through a search list, mirrors rewrite them, and a local build tag may exist on no registry at all. An image now keeps its name as written, with registry: unknown when no host is stated; a stated host is kept (Docker Hub's spellings become docker.io). FROM nginx and image: docker.io/library/nginx are now two Image nodes. This changes image identities, which is why each project is rebuilt once after the upgrade.
Upgrade notes
- The first index of each existing project after the upgrade is a full rebuild, once.
- Image nodes without a stated registry now carry
registry: unknownand the name as written, instead ofdocker.io/library/....
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 61–69).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
6761236d038de87bf49da5695dd52d7928180d814624d4ceb8d8e849ba07f4c8 |
clean |
linux-arm64 |
43a096f3655a9ea0606146da1dbd92aece344e24248e305fc007d239e3b891ae |
clean |
linux-amd64-portable |
77745491f0a9c346d6da23eed4d92b5feaa31a27a883c9faa4fa9f47c8183705 |
clean |
linux-arm64-portable |
6a64e20e2ca8dc15b4a412e981e5aea60804ed3e952d693ab491c93ccd36ed45 |
clean |
darwin-amd64 |
f3ba4d7dd462be868eff85f0dccb7375405f58084da800826065df2312b028ab |
clean |
darwin-arm64 |
a36cfa1f5d10d8c4762501d63feef082711aae4704b9e8f9066db52779a8601e |
clean |
windows-amd64 |
39f6a789cd858d7428561ac5afaefb9a47b018dcba0ad6fa41ae71a45e0ed656 |
clean |
windows-arm64 |
b19816bb88ef3145a0f4b81856665c67a684cc038e06ae696e76960277c67b41 |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
Security disclosure addendum — 17 November 2026
These fixes were already included in this release before the advisories were published. This addendum does not change release tags or binaries.
- CVE-2026-114494 — Cypher projection stack out-of-bounds write; first fixed stable version: 0.9.0.
- CVE-2026-114495 — Artifact decompression capacity truncation; first fixed stable version: 0.9.0.
- CVE-2026-114496 — Git-option injection in detect_changes; first fixed stable version: 0.9.0.
- CVE-2026-114497 — Windows process-kill route ownership check; first fixed native/npm version: 0.9.1-rc.1; first verified fixed stable PyPI version: 0.10.0.
- CVE-2026-114499 — Unbounded Gitignore matching work; first fixed stable version: 0.10.0.
We verified v0.12.1 contains these five fixes and recommend it as the upgrade target for these advisories. See each advisory for the affected versions and scope.
Thank you to Aaron (@aaronjmars) for responsibly reporting these issues and helping verify the fixes.
详细ChangeLogv0.12.0
2026年10月16日
v0.12.0
Meet CBM Lens, and a code graph that reads your documentation.
v0.12.0 is the biggest release of codebase-memory-mcp yet: 231 merged pull requests since v0.11.0, 40 of them from the community.
Four headlines define it.
-
CBM Lens Beta: the code graph, for humans. Until now the graph's power reached people only through their agents. Lens is our new human interface. It brings the code knowledge graph to you directly. It ships inside the binary you already run and listens on loopback only. It puts source, the graph, the architecture, index coverage and a browser-local assistant side by side, and every fact it shows says where it comes from. Lens is built on the work of @BernhardJackiewicz, who now joins the project to own it.
-
Documentation joins the graph. Until now the graph stopped where the code stopped. Now doc comments, Markdown, reStructuredText, AsciiDoc and PDF documents, architecture decision records, diagrams and OpenAPI specs are part of it. Each is linked to the functions, types and files it talks about. An agent can now traverse your documentation and land on the exact code a page describes, and walk from a function back to every page that explains it. So can you, in Lens. Linking is strict by design: a reference becomes an edge only when it names exactly one definition. Link families that have not yet cleared their accuracy bar are counted and reported, never guessed into the graph.
-
Smart CI: the graph picks the tests.
detect_changescan now say which tests a change can affect. It seeds the graph from the diff, walks everything that depends on the changed code, and names the tests at the end of those paths, each with its reason. When the evidence is missing or doubtful, it answers "run everything" and says why; it never narrows silently. codebase-memory-mcp's own CI is the first user: pull requests run only the test lanes their change touches, and the graph's test selection runs beside every PR. -
Infrastructure as code in the graph. Kubernetes manifests, Helm charts, Flux and Argo CD, Compose files, Dockerfiles and the scripts, Makefiles and CI jobs that deploy them now link up. A Service can be followed through its workload, its image and its Dockerfile to the program the container runs.
The code graph itself got sharper too:
- C typedefs, macros and enumerators get identities of their own.
- Process launches become
SPAWNSedges. - Resolution fixes cover C#, C++, TypeScript, Python, PHP, Rust and Go.
Upgrading? The first index of each existing project after the upgrade is a full rebuild, once. Details are in Upgrade notes. A few identities and defaults also changed; see Breaking changes.
Welcome, @BernhardJackiewicz
@BernhardJackiewicz joins codebase-memory-mcp as the subsystem owner for the UI. @BernhardJackiewicz built the reading interface on the CBM read surface that became CBM Lens, and contributed it to the project (#2068; design and tracking in #1964). He also rewrote the README's Lens section with new walkthroughs and screenshots (#2383). From this release on he owns the UI subsystem and takes care of Lens. We are very glad to have him on board.
Highlights
- CBM Lens Beta, an interface for people. It explores a project by the file you read or the code you mark, by graph neighbourhood, and by architecture, routes and hotspots. It also explains index coverage, edits the project's architecture decision record, and answers questions about your selection with a model that runs in your browser. It is built into the binary:
codebase-memory-mcp --ui=true(#2068). - Documentation joins the graph.
- Doc-comment references become
MENTIONSedges from the documented definition to the code they name. Nine languages: C#, Go, Java, Kotlin, Rust, Perl, TypeScript/JavaScript, PHP and C (#2550, #2593). - Markdown, reStructuredText/Sphinx, AsciiDoc/Antora and PDF documents link their sections to the code they reference (#2551).
- To list every section that names a definition, run
trace_pathinbound overMENTIONS.
- Doc-comment references become
- Architecture decisions become nodes. ADR files become
ADRnodes carrying their status, date, deciders and the decision itself. A record that says "Supersedes ADR-3" gets aSUPERSEDESedge (#2551). - Diagrams and API specs enter the graph.
- Mermaid, PlantUML, Graphviz, D2, draw.io and Excalidraw diagrams become
DiagramandDiagramElementnodes joined byDIAGRAM_ARROWedges, whether embedded in a document or standing on their own. - Each OpenAPI/Swagger operation becomes a
Routenode with the same identity as the route your code registers (#2593).
- Mermaid, PlantUML, Graphviz, D2, draw.io and Excalidraw diagrams become
- Smart CI, driven by the graph.
- From Service to code.
trace_pathinrunmode walks Service → workload → Image → Dockerfile → program, together with the container's environment. Adeploymode follows what deploys what, and atopologymode what references what (#2597). - A sharper code graph.
- C and C++ get typedef nodes, distinct macro and enumerator identities, and member access resolved through the object's type (#2543, #2458).
- A definition written once per
#ifbranch,#[cfg]or Go build tag is now one node; C/C++ platform files (src/unix/,src/win/,arch/x86/, ...) keep their own path-named nodes, related by a sharedvariant_keythat Smart CI follows (#2458, #2630). - Process launches become
SPAWNSedges in about 30 languages (#2458). - Doc comments are captured whole: Go full-doc capture rose from 35% to 99.999% and C# from 10% to 99.8% (#2459).
- Long indexes survive client deadlines.
- Observed vs. possible.
ingest_tracesnow really stores the runtime call paths you send it. Lens marks the hops that actually ran (#2068).
CBM Lens Beta (#2068)
The MCP tools are the agent's interface to the graph. CBM Lens Beta is yours: our attempt to bring the power of the code knowledge graph to humans. It replaces the previous graph UI and is built into the binary:
codebase-memory-mcp --ui=true --port=9749- Explore: follows the current file or marked source, with its direct dependencies and a file-level impact summary from graph and local Git evidence.
- Galaxy: search nodes, files and folders, then expand incoming or outgoing relationships by depth and edge type.
- Architecture: the repository map, routes, hotspots, system structure and behavior.
- Coverage and System: what the index missed and why, plus daemon status, indexes, diagnostics and MCP configuration.
- ADR: edit the project's decision document in the browser, shared with
manage_adr. - Add project index (Alt+P): pick a local repository, name it and follow the daemon's progress.
- Local chat: ask about the code you have selected. Inference runs in your browser. Model weights are not bundled; they download from Hugging Face only when you activate a model.
- Runtime evidence: call paths sent through
ingest_tracesare stored, and Lens marks the hops that actually ran.
Lens runs on loopback, keeps source files read-only, and names where each fact comes from. Frontend errors are journaled on the server, so a bug report can include them.
CBM Lens is built on the work of @BernhardJackiewicz on the CBM read surface, contributed with the author's agreement (design and tracking in #1964). @BernhardJackiewicz now owns the UI subsystem. Thank you, @BernhardJackiewicz. This release would look very different without your work.
Documentation in the graph
Doc-comment links (#2550, #2593)
- C#
<see cref>,<seealso cref>,<exception cref>and<inheritdoc cref>bind by the compiler's own lookup rules, including MSBuild global usings evaluated from your project files (#2550). - Go doc links, Javadoc and KDoc tags (
{@link},@see,@throws,{@value},@sample), Rust intra-doc links, Perl PODL<>, TypeScript/JavaScript{@link}, PHPDoc@seeand Doxygen@ref/@seefollow the same rule (#2593). - Each of the 17 doc-comment link families that ship in #2593 passed a blind audit on repositories never used to build it (bar: Wilson 95% lower bound ≥ 0.90).
- Families still below the bar resolve but stay out of the graph, for example TS/JS
{@linkcode}and@see, diagram links and OpenAPIoperationIdlinks. index_statusgains adoc_linksblock: theMENTIONScount, plus unresolved references counted by reason (missing,ambiguous,external, …). Passdiagnostics='full'for samples.
Documents (#2551)
- Markdown: sections link to the code they name through links, bare paths, and code spans holding paths or qualified names. A line range such as
#L3-L9binds the innermost definition that holds it. A bare name is never an edge. - reStructuredText / Sphinx: a
Sectionper title, with links from roles (:class:,:meth:…), object directives,autodoc,literalincludeand inline literals. Python names resolve the way Sphinx imports them.conf.pyis read as text, never executed. - AsciiDoc / Antora: sections link through
include::directives and tag regions. - PDF: every page becomes a
Sectionwhose text is searchable, linked to the paths, file names and qualified names it mentions. The extractor is dependency-free and built for untrusted input: 44,070 seeded mutant PDFs ran under ASan and UBSan with zero findings. Encrypted documents are reported as such. - ADRs: detected in Markdown and reST. Their facts come from front matter, header fields or the Status section.
- Markdown file-to-file references also become
REFERENCES_FILEedges, so documentation hubs show up in fan-in queries (#1832, thanks @cdeust).
Complete doc comments (#2459). Multi-line // and /// runs, docs above attributes and exports, field and enum-member docs, Go package comments and Perl POD are now captured in full, with no 500-byte cut. Full-doc capture on real corpora:
| Language | Before | After |
|---|---|---|
| Go | 35% | 99.999% |
| C# | 10% | 99.8% |
| Rust | 7% | 99.9% |
| Java | 74% | 99.99% |
| TypeScript | 42% | 100% |
Doc-section candidates (#2574). Documentation often explains a function without naming it. For those sections, get_code_snippet now lists possibly_about candidates (on a section) and possibly_described_in candidates (on a function). Each candidate carries a probability judged on blind samples. They are leads for an agent to verify, not edges: at best about half are right, and the tool says so. get_file_outline lists the sections that are likely about a file.
Diagrams and OpenAPI (#2593)
- Supported formats:
- Mermaid: flowchart, sequence, class, ER, state, C4, architecture
- PlantUML, Graphviz DOT and D2
- draw.io: plain, compressed and
.drawio.svg - Excalidraw:
.excalidraw,.excalidraw.jsonand.excalidraw.svg
- Embedded or standalone: diagrams are read in Markdown fences, reST directives (
.. mermaid::,.. uml::,.. graphviz::), Asciidoctor diagram blocks and diagram files of their own..drawio.svgand.excalidraw.svgfiles are no longer skipped as images. - Labels, not syntax: a Markdown section that embeds a diagram keeps the diagram's labels in its searchable text instead of its syntax (
-->,participant). - OpenAPI and Swagger:
openapi.json,swagger.jsonand any YAML or JSON file whose root declaresopenapi/swaggercontribute oneRouteper operation. The spec's route and the route your code registers meet in one node.
Smart CI: the graph picks the tests (#2458)
Running every test for every change is slow and expensive. A hand-written rule for which tests to skip is guesswork. In this release, the graph decides.
-
Test impact from the graph.
detect_changeswithscope: "tests":- pins the change, from the merge base to
HEAD; - seeds the graph from the changed hunks;
- walks everything that depends on them, over calls, references, reads and routes, and through header includes and their macros.
The tests, suites and runner entry points at the end of those paths are the answer, each with how it was reached.
- pins the change, from the merge base to
-
Never a silent miss. Missing or doubtful evidence never narrows the selection. An unparseable change, an unmapped test, or a reached test-runner
mainturns the answer into "run everything", with the reason named. -
Walk parameters for every repository.
detect_changestakesedge_types,fixpointandvia. Any project can ask for the full inbound dependency closure of a change and see the path to each hit. -
Team bundles.
codebase-memory-mcp test-impact publish|selectpackages a commit's frozen graph and its per-test coverage map as a bundle. A pull request's selection then starts from the bundle of its merge base instead of indexing from scratch. -
Dogfooded. codebase-memory-mcp's own pull requests run only the test lanes their change touches; dry runs and releases still run everything. The graph's test selection also runs as a report-only shadow on every PR. That builds the record we need before it narrows test runs by default.
Today the test model knows codebase-memory-mcp's own C test runner. For other test runners,
scope: "tests"answers "run everything" until their conventions are mapped. The walk parameters work everywhere.
Infrastructure as code in the graph (#2597, #2643, #2644)
The pieces of an infrastructure graph existed before; now they chain. We measured on 17 open-source infrastructure repositories, from kubespray and cluster-api to opentelemetry-demo. On them, a Service can be walked to the code its container runs:
Service → Deployment → Image → Dockerfile → main()
└ the container's environment variables
- Kubernetes:
- Every manifest document is an object with a stable identity.
- Objects link to the ConfigMaps, Secrets, ServiceAccounts and volumes they name, and to their Flux, Argo CD, Cluster API and cert-manager references.
- A Service links to the pods its whole selector selects.
- Helm: templated manifests become objects too, chart templates link to the named templates they include, and
file://chart dependencies resolve. - Deploy chains:
DEPLOYSedges come from:- Flux Kustomizations and HelmReleases, and Argo CD Applications;
kubectl apply,kustomize buildandhelm install|upgrade|templatein scripts and Makefiles;- Terraform
helm_release, and Go installers that use the Helm SDK.
- Build and run:
- Dockerfiles depend on the images they build from, and
SPAWNSlinks each to what its container runs. - A new
Imagelabel joins workloads, Compose services and build commands to the Dockerfile that builds the image. - Scripts and CI jobs (GitHub Actions, Prow) link to the scripts and programs they run, and
make TARGETto its rule.
- Dockerfiles depend on the images they build from, and
- Environment, without values: each variable a container sets becomes that container's own
EnvVar. Values are never stored, and secret material never reaches the graph. - Tools:
trace_pathgains the modesrun,deployandtopology;search_graphfilters infrastructure by kind and namespace. - Fixes along the way:
- A comment before a manifest no longer hides it.
- Extensionless
Kustomizationfiles are found. - OpenTofu
.tofuand.tfvarsfiles are indexed. - Route
HANDLESedges no longer depend on worker order (deckhouse: 6,424 → 44, the false ones gone).
- Checked independently: an independent reader checked every layer on all 17 repositories. Recall and precision were 100% on the gated scope.
- Kustomize, Terraform and Ansible join the chain (#2643, #2644):
- Kustomize patches,
helmChartsandnamePrefix/nameSuffixvariants link to the objects they change or deploy (OVERRIDE,DEPLOYS). - A container's environment variables reach the code inside its own image that reads them (
CONFIGURES). Workloads and Compose servicesCONNECTS_TOthe Service their environment addresses, andcurl/wgetin scripts, Makefiles and CI makeHTTP_CALLSto Routes. - Terraform, OpenTofu and Terragrunt:
var.,local.,module.,data.and resource references link to the block that declares them; local modules areIMPORTS,.tfvarsfilesOVERRIDEtheir variables, and Terragruntinclude/dependencyare linked.kubernetes_*resources become the same objects as manifests. - Ansible: playbooks, task files and roles link by
IMPORTS; tasks and handlers are functions,notifycalls the handlers it names, andkube/k8stasksDEPLOYSthe template they apply. - External Helm charts are identified by the URL that publishes them: one shared node per published chart across projects. A chart without a stated URL stays per project, and a URL carrying a token or credentials never becomes part of a node.
- TOML and INI config keys link to code only by exact name and inside the config file's component, which removes coincidental
CONFIGURESedges. - A hand-checked sample of the new edges was 849 of 850 correct.
- Kustomize patches,
A sharper code graph
C and C++
- Typedefs and macros (#2543):
- Typedefs become nodes, and anonymous
typedef struct/enum {…} X;aggregates are named after their typedef. - A
#define NAMEno longer replaces the function or type calledNAME; macros get their own<module>.<NAME>#macroidentity. - Functions behind an unknown leading macro keep their real name.
- Measured: redis gained 573
Typenodes and curl 193; functions previously lost to a same-named macro were restored (45 on redis, 41 on curl).
- Typedefs become nodes, and anonymous
- Member access (#2458):
a.banda->bbind the field of the object's actual type. When the type is unknown, they bind only a member name exactly one struct carries. On this project, the share of C field uses that land on a struct the file actually names rose from 58.1% to 97.6%. - Conditional definitions (#2458): one node per definition that exists once per
#ifbranch,#[cfg]or Go build tag, with every variant's span kept in avariantsproperty. Definitions inside conditional blocks are now extracted for C++, C#, Objective-C, Elixir, Fortran and Haskell. - Platform variants (#2630): a C/C++ function defined once per platform file or directory (
src/unix/fs.candsrc/win/fs.c,arch/x86/...andarch/arm64/...) keeps one node per file under its own path, so every implementation is findable by its path. The variants share avariant_keyproperty, and Smart CI treats a change in any variant as reaching the tests of all of them. - One definition per site in macro-heavy C/C++ (#2626, #2629): where the raw and the macro-expanded parse disagreed about a definition's scope or spelling, both copies used to land in the graph (e.g.
bitonic<int64_t, AVX2>andbitonic < int64_t , AVX2 >). Each definition is now one node with one spelling: on dotnet/runtime the duplicate definitions drop from 545 groups in v0.11.0 to 185. - Calls across files (#2466):
Class::membercalls resolve across files, includingX::instance()->m()andauto w = Widget::create(); w->m().- qBittorrent gained 489 correct
CALLSedges.
- Export macros (#2005): type definitions hidden behind export macros are recovered (thanks @XIYBHK).
- Return types (#2274): a C-family function's return type keeps its pointer and qualifiers.
- Macro-wrapped definitions (#2450):
void FNAME(first)(void)andvoid Cls::__API_HOOK(Spawn)()are named after the macro's argument (first,Spawn). Every definition one wrapper macro generates used to share a single node (#946, #1957).
Across languages (#2458, #2227)
SPAWNSedges.subprocess.run,exec.Command,child_process.spawn,posix_spawn,Process.Start,Command::newand their kin in about 30 languages now point to aProcessnode named after the program. Previously these were guessedCALLSedges.- No cross-language name guesses. A name-only match never binds a symbol defined in another language, and config languages (Makefile, CMake, YAML) no longer bind into code.
- Bash imports are the files a script sources, not every command it runs.
- A file and a folder with the same stem both stay (#2624).
genproto.shnext togenproto/used to share one qualified name, and the file's Module was dropped together with the edges pointing at it. The folder is now spelledproj.pkg.genproto/; where the directory is a Java or Go package, the folder keeps its name and the file's Module becomesproj.pkg.genproto#sh. Symbol names do not change. On 17 infrastructure repositories, 27 lost Modules → 0.
Language by language
- C#:
- Java, C# and Solidity:
- Each class field becomes one
Fieldinstead of an extraVariable(#2551). On junit-framework, 6,938 usages now reach the right field. - A field that shares its name with a method of its class keeps both nodes.
- Each class field becomes one
- TypeScript:
- Constructor parameter properties and
new-initialized fields resolve (#2523). - Imported class receivers resolve across files (#2407).
- Awaited generic calls keep their edges (#2242, thanks @lorenzozanee).
- Constructor parameter properties and
- Python:
- Typed fields resolve across files (#2498).
- An external import is never bound to a same-named project symbol (#2345).
self./cls.attribute calls keep their targets (#2227).- IRIS
iris.cls("Pkg.X").Method()resolves to the named class (#2367, thanks @isc-tdyar). - Module-level calls join the exact LSP resolution (#2525), and class-body and decorator calls resolve (#2529).
- A package's symbols are scoped apart from its
__init__file's identity (#2528).
- Overrides: resolved through the nearest declaring ancestor (#2514).
- PHP:
- PSR-4 imports resolve to the exact class file (#2509).
- A namespaced
usebinds only through namespaces the project declares, so a vendor import no longer binds an unrelated project symbol (#2515). - Proven vendor types stay out of project name fallbacks. Calls on vendor clients such as Guzzle are classified by the vendor method the resolver proved (#2520, #1186).
- Pascal/Delphi: identifiers with non-ASCII letters parse cleanly (#2356, #2211).
- Rust:
- A std-typed receiver never binds a same-named project method (#2339).
cfg-fenced functions are reachable by their bare name (#2370, thanks @BobbieBarker).
- Go: cgo's
import "C"no longer creates false imports (#1931, thanks @ilyabrykau-orca). - Dart: extension declarations and their members are indexed (#2321).
- Resolution ties: ties no longer depend on worker order. They prefer functions and methods over same-named fields, and C# implementations over reference-assembly stubs (#2227, #2578).
Routes and HTTP
- Laravel:
- NestJS
@Controller/@Get(#2320) and FastAPI/Starlette WebSocket routes (#2258). - GraphQL routes keyed by operation name (#2495).
- JAX-RS relative
@Pathtemplates and Scala class-level paths (#2158, thanks @htarnacki). - Go router group prefixes (#2497).
- axios:
axios.createbase URLs (#2332), capitalizedAxiosclients (#2463), request-config objects (#2354), and no duplicate edge for a typed HTTP call (#2462). - Swift:
URL(string: "…")!requests (#1976, thanks @CaptainMittens). - Import aliases: calls through an import alias of an HTTP or messaging library are recognized, e.g.
import { get as navigate } from 'axios'andfrom paho.mqtt import publish as send. An aliased HTTP call needs a request verb such asgetorpost, so URL helpers likeurljoinnever become requests (#2513). - Client-side navigation is no longer inferred as an HTTP call (#2519, #1250).
- Topic identities survive the folding of local URL constants (#2513, #706, #1147).
- Fewer false routes:
- Route registrations survive the cross-language guard (#2464). Cross-repo links skip calls a service serves itself (#2319).
Deterministic and complete
- No clock decides what ends up in the graph. The AST walk no longer stops at a time budget; a C# corpus that produced a different edge count on each run now produces the same graph every time, with about 550 more edges (#2233).
- Indexing while results are parked on disk under memory pressure produces the same graph as indexing in memory (#2233).
#includetargets and resolution ties no longer depend on worker merge order (#2227).- Every file parses as if its last line were terminated. A trailing heading, fence or Makefile recipe is no longer lost (#2340).
- AST walkers grow instead of silently capping deep or wide bodies (#2375, #2373).
- Truncated walks are reported in coverage instead of passing as fully indexed (#2233).
- Small repositories, indexed on the sequential path, now carry the same call arguments on HTTP and async edges as large ones on the parallel path. The graph no longer depends on which path ran (#2520).
- File coverage:
- .NET project files (
.csproj,.props,.targets,.resx, XAML, app manifests) are indexed as XML (#2230, thanks @yasmoradi). - A git-less subfolder honors its enclosing repository's
.gitignore(#2181, thanks @AmirF194). - A
.gitignorenever hides a file Git tracks, matching Git's own rule (#2608). - Laravel's compiled Blade view cache is skipped (#2325).
- Binary ReScript
.resresources no longer hang the indexer (#2352). - Large SQL dumps parse cheaply (#2326).
- .NET project files (
Semantic relations you can weigh (#2574)
- Every
SEMANTICALLY_RELATEDedge now carriesp, the probability that a reader judges the pair related, calibrated on blind-judged samples. - Admission is best-first instead of first-come.
- TF-IDF compares vocabulary instead of token positions.
MCP tools
index_repository:async: trueandstatus: true, as described above (#2357). A cut-short synchronous call suggests async mode on the next call.- Failures now say what happened, for example
aborted_previous_preserved(the old index keeps serving) orpersist_failed(#2068). doc_candidatesswitches the documentation pass for one index: on by default for full indexes, off formoderateandfast;trueorfalseoverrides either way (#2610, #2628).
index_status:detect_changes:base_branchdefaults to the repository's real default branch:origin/HEAD, thenmain,masteror the upstream (#2496).- Works for projects that live in a subdirectory of their Git repository (#2334).
- The blast-radius walk can follow the edge types you choose (
edge_types), walk to closure (fixpoint), report the edge each symbol was reached through (via), and list the changed symbols themselves withseeds: "list"andseed_filter: "product"(#2458).
ingest_traces: records call paths or caller/callee pairs per run label, keyed by qualified name so they survive reindexing. It reports unresolved names so the producer can fix them, and is now correctly marked as writing (#2068).get_architecture: newsystem_structureaspect, withinclude_behavior_evidencefor indexed call arguments, parameters and return types (#2068).get_code_snippet/get_file_outline: doc-section candidates, as described above (#2574).search_graph: the full-text path honors thelabelfilter and ranks an exact-name definition above test methods that repeat the token (#2227).search_code:query_graph(Cypher):WITHcarries the real node (#2351).DISTINCTcounts against the row cap (#2511).- Early
WHEREpruning no longer drops rows it cannot judge yet (#2253). COUNTignores unboundOPTIONAL MATCHvalues (#2241, thanks @lorenzozanee).- Non-numeric
SKIP/LIMITis rejected (#2002, thanks @metehanulusoy). - Single-hop patterns seed from their selective end (#2227).
- Long
AND/OR/XORchains and manyUNIONbranches are walked in loops, so a 50,000-operandWHEREno longer overflows the stack (#2477).
- Finding projects:
- Cross-repo:
- Error reporting:
check_index_coveragefreshness works on Windows (#1787, thanks @umi008).- A failed
COUNTread reports an error instead of "empty" (#2065, thanks @kavish-19).
CLI, install and clients
uninstallkeeps your indexes by default. Pass--delete-indexesto remove them (#2517).- Your settings are safe from index cleanup.
install --reset-indexesanduninstallno longer delete your settings (_config.db) or the cross-repo store along with project indexes (#2405). - Other installs leave your daemon alone. An install or update run under another
HOMEor cache never stops a daemon it cannot confirm as its own; it names the daemon and how to stop it (#2412). - One install path. The setup scripts now install through
install.sh/install.ps1(#2480). - Index resource limits. New opt-in
index_max_filesandindex_max_source_mbsettings stop an oversized discovery before it publishes a partial graph. The serving index is kept (#1723, thanks @liuchong). - Watching more. The new opt-in
watch_non_gitsetting polls project roots that are not Git repositories (#2333). A project whose index keeps failing is retried with backoff instead of every poll (#2075, thanks @halindrome). - Clients:
- better detection of OpenCode, Hermes and Claude Code (#2468)
- OpenCode V2 plugin format (#2089, thanks @AmirF194)
- migration of v0.10.8 OpenCode agent profiles (#2393)
- adopting the Codex MCP table after Codex rewrites it (#2324)
- Codex hook paths with spaces (#2338)
- Hermes hook edits that leave unrelated YAML alone (#2355)
- foreign TOML tables kept between managed markers (#2467)
- trusted Linux system aliases during activation (#2203, thanks @DavidHLP)
- Pi extension schemas in TypeBox (#1809, thanks @Sakil786)
- CLI help:
cli --helppoints to--format json(#2140, thanks @Lowpower).- Array arguments accept a JSON array literal (#2227, #2160, thanks @htarnacki).
updatenames the step and the OS error when it fails (#2589).cli list_projectswith no arguments no longer waits on a stdin pipe nobody closes (an ssh session,child_process.spawnwithoutstdin.end()). JSON piped intolist_projectsis no longer read; flags,--args-fileand< args.jsonare (#2633).
- Daemon messages that help:
- Startup:
Performance and memory
-
Faster indexing across the board. On ten benchmark repositories, one per LSP language, a full index of this release beats v0.11.0 everywhere. Medians of three runs on an Apple M5 Pro:
Repository v0.11.0 v0.12.0 Change Perl 7.0 s 1.1 s −84 % PHP 7.4 s 1.7 s −77 % Rust 8.0 s 1.9 s −76 % C 9.2 s 3.0 s −67 % Go 45.2 s 18.6 s −59 % Kotlin 11.0 s 4.7 s −57 % Python (django) 11.9 s 6.0 s −50 % TypeScript 33.9 s 21.6 s −36 % C# 132.0 s 120.8 s −8 % Java 76.0 s 72.0 s −5 % Peak memory is lower on nine of the ten, and every repository produced the same graph on every run.
-
The Linux kernel, indexing time with and without the documentation pass. Documentation in the graph adds one new indexing step: every documentation section is scored against the code to find the functions and files it is about. It runs by default for full indexes (the default mode) and not for
moderateorfastones;doc_candidatesswitches it on or off for any mode.Linux kernel, full index v0.11.0 v0.12.0 code graph only 236 s, 21.3 GB peak 225 s, 14.3 GB peak code graph + documentation pass (default) n/a 396 s On repositories below about 100,000 functions the documentation pass costs about a second or less.
-
Query tools answer fast, on every platform (#2642). On macOS and Linux every response is byte-identical to before; only the time changed.
search_codescans the indexed files in process instead of through grep or PowerShell. On django a default search fell from 908 ms to 355 ms and a wide one from 3.8 s to 0.7 s. On Windows on Arm a search fell from 1.6-3.4 s to 0.2-0.5 s; on GitHub's Arm runners the PowerShell scan had needed up to 31 s per call, against a 30 s scan limit. Windows now also matches exactly like macOS and Linux (see Breaking changes).query_graphsorts, deduplicates and groups in O(n log n) instead of O(n²). Over django's 29,000 methods,WITH ... ORDER BYfell from 41 s to 62 ms,RETURN ... ORDER BYfrom 2.2 s to 50 ms andWITH DISTINCTfrom 18 s to 56 ms.- Read tools run their graph lookups in one SQLite read transaction, renewed every 100 ms, instead of locking the database file once per lookup. A whole-graph
count(*)fell from 508 ms to 184 ms, and on Windows, where file locks cost more, from 2.9 s to 0.39 s. - On a kernel-scale graph (the Linux kernel: 8.5 million nodes, 16.9 million edges):
trace_pathand the degree filters ofsearch_graphwalk an in-memory adjacency index, built once per index version (1.2-1.5 s on the kernel) and charged to the memory budget; an idle one is released after 10 minutes.trace_pathfromschedulefell from 7.5 s to 22 ms, a hub search from 4.2 s to 0.17 s.query_graphstreams its rows instead of holding every match in memory. A whole-graphcount(*)used to peak at 24.9 GB and stop at the query time limit; it now answers in 11 s within 289 MB.get_architecturefell from 9 s to 0.9 s, and an exact or prefix name search from 1.1 s to 14 ms.search_codefell from 11.8 s to 3.4 s.
- Re-indexing an unchanged repository no longer copies the whole database first. On the kernel that took 18.4 s and wrote 19 GB; it now takes 2.4 s and writes nothing (django 841 ms to 539 ms).
list_projectsasks git only for the branch it shows: two git calls per project instead of seven (94 ms to 40 ms with one project, and the saving grows with every project).
-
Faster startup on every invocation. SHA-256 now runs on ARMv8 SHA2 and x86 SHA-NI instructions. The hook path's session start dropped from 1.448 s to 0.376 s on Apple arm64, with identical digests (#2575).
-
Far less disk churn on incremental updates. A one-line edit on a 294 MB django index wrote 5.2 GiB to the SQLite WAL; it now writes 0.52 GiB (#2469).
-
A memory budget that respects the machine.
- The budget is now sized from free memory, not just total RAM: a kernel index on a busy 48 GB host finishes instead of exhausting it.
- Spilling to disk never starts below 10 GB free.
- Spill files disappear even if the process is killed (POSIX).
- Orphaned staging databases of every project are reclaimed (#2233).
-
Leaner allocation. On the Go corpus, allocations fell from 245.5 M to 134.8 M, with graph output unchanged (#2233).
-
Lower macOS memory footprint. Index workers on macOS return purged memory so the footprint the OS charges falls, with a byte-identical graph (#2581).
-
Algorithmic fixes:
- LSP surfaces decode in linear time (#2288, thanks @JosephStarobinets).
- Python scope-chain lookups are collapsed into one pass (#2252, from work by Andrew Hundt).
- Doc-section scoring is exact and cheaper (#2582).
- Repeated resolver work is bounded without truncating large files. A file that reaches the bound is reported as incomplete instead of silently partial (#2522, #1527).
- Python submodule probes and class and wildcard scans no longer walk the whole registry (#2532, #2535).
Platforms
- Windows:
- Unicode repository paths (#1816, thanks @z2250389)
- persistence artifacts under CJK paths (#2461)
- aligned allocations stay on mimalloc (#2260)
- worker-recovery (#2282) and
mkstemp(#2362) errors are preserved (all three thanks @knewstimek) - the watcher sees two edits within the same second (#2068)
- a lost runtime-directory race is not a failure (#2275)
- ARM and x86: hardware SHA-256 on Apple silicon, Linux and Windows on arm64, and x86 CPUs with SHA-NI (#2575). Linux arm64 builds with GCC 11 again (#2603).
- Linux, HPC and WSL: clear guidance for shared and network filesystems and WSL drives (#2323, #2322), documented in
docs/CONFIGURATION.md. - Scoop: the packaged manifest gains arm64 (#2301, thanks @ivanlinhf).
Reliability
- Large indexes no longer corrupt. The bulk SQLite writer could end a B-tree level with an empty interior page on large graphs with long keys; SQLite then reported the database as malformed. Fixed (#2330).
- Settings database (#2650):
- Fixed a startup race on the settings database:
daemon start --port,--ui=true --portand other commands could fail with "the daemon did not accept the UI configuration" or "could not load saved runtime settings" while another process was writing settings. They now wait for that write to finish, and starting the daemon no longer rewrites unchanged UI settings. - Fixed a recovery gap: after a process was killed in the middle of a settings write, every later command failed with "could not load saved runtime settings" until the settings database was repaired by hand. Startup now rolls back the interrupted write and continues.
- Fixed a startup race on the settings database:
- Fewer concurrency and data-loss bugs:
- Concurrent first reads of an idle database no longer race (#2561).
- A failed atomic publish logs why (#2259, carried from work by @junk151516).
- An index worker that exits without answering is named (#2494).
- Edge ids stay unique after a parallel phase. A lowered id counter had handed some out twice, which deleting a node could turn into a dangling reference (#2607).
- No more redirected Git. cbm's own Git commands ignore repository-redirecting variables (
GIT_DIR,GIT_WORK_TREE, …) inherited from hooks and editor terminals (#2341). - Memory-safety fixes:
- an uninitialized read in the WIT grammar scanner, surfaced by MemorySanitizer (#2596)
- a read of an unwritten byte in reST section text (#2583)
- a
trace_pathleak (#2425) - a leak when a Cypher
MATCHpattern fails to parse (#2603) - an over-long call argument overran its 512-byte formatting buffer, and deeply nested syntax could exhaust the stack; both walkers are now bounded and iterative (#2478)
Security fixes
search_code: drops matches from indexed paths that now resolve outside the project root through a directory link (#2491).- Links and roots:
- Resource limits:
- Package wrappers: the npm and PyPI wrappers enforce the same download and extraction size limits as the Go wrapper (#2473).
- Child processes: spawned processes close every inherited descriptor using
close_range/closefromwhere available (#2510). - Cypher: a heap buffer overflow in
OPTIONAL MATCHrelationship joins is fixed (#2445). - CBM Lens (#2068):
- The UI's RPC endpoint serves only read-only query tools;
manage_adris limited to its read modes there, and the server stays loopback-only. - Git history queries refuse network transports.
- The page's content security policy allows only loopback, plus Hugging Face for opt-in model downloads.
- The UI's RPC endpoint serves only read-only query tools;
- Windows installer:
install.ps1reserves its staging directory and its temp file exclusively, instead of adopting a path someone else created first (#2251, from work by Andrew Hundt in #1245). - Build tooling: the PyPI publish toolchain moved to urllib3 2.8.0 for three upstream advisories. The shipped binaries are not affected (#2451).
- CBM Lens dependencies: the UI's npm dependencies move past all 17 open Dependabot advisories: adm-zip 0.6.1, DOMPurify 3.4.16, yaml 2.8.3 and source-map-js 1.2.2, and sprintf-js (no fixed release) leaves the dependency tree (#2632).
- No LGPL code in the UI's dependency tree: sharp, which Transformers lists only for its Node image path and which CBM Lens never uses, is replaced by an empty stand-in. Its LGPL libvips binaries leave the tree, and the license gate now checks every package, platform-specific ones included, with no exceptions (#2635).
Upgrade notes
- One full rebuild per project. This release changes how C macros, enumerators and fields are identified. It also adds the documentation layer and the infrastructure graph, which moves the index format from 1 to 2. An index written by v0.11.0 or earlier is therefore rebuilt in full, once, the next time it is indexed (#2543, #2550, #2551, #2574, #2597, #2643).
- Until then, the old graph keeps answering, and
index_statuspoints out that the index predates doc links. - On a large repository, plan for the time of a first index.
- Your project's ADR document carries over.
- Coming from v0.10.x? The index-format boundary introduced in v0.11.0 (#1104) is covered by the same single rebuild.
- Until then, the old graph keeps answering, and
- Terraform and Ansible edits re-index in full. A changed Terraform or Ansible file takes a full re-index instead of an incremental one, so cross-file edges never go stale (#2643).
- Re-run cross-repo linking. A rebuild drops
CROSS_*edges and their status together, so runindex_repository(mode="cross-repo-intelligence")again for linked projects. - Indexes cover more files. PDF, AsciiDoc, diagram files, OpenAPI specs, .NET project files and Sphinx
.txtsources are now read, and the documentation layer adds its own tables. Documentation-heavy repositories get larger indexes. - Very large repositories: the documentation pass and
doc_candidates. Scoring the doc-section candidates (#2574) is the largest extra indexing cost on very large repositories. It runs by default for full indexes and not formoderateorfastones. On the Linux kernel it adds about three minutes; on repositories below about 100,000 functions, about a second or less.codebase-memory-mcp config set doc_candidates falseturns it off for every mode (trueturns it on for every mode), andindex_repository(doc_candidates: ...)does the same for one index. The code graph is unchanged either way; only thepossibly_about/possibly_described_inleads are left out. With it off, the kernel indexes faster than with v0.11.0 (#2610, #2628). - Watcher scope, stated precisely. The background watcher follows the project each open MCP session is rooted in. A repository indexed from the CLI or from another project's session is not watched. Nothing changed here, but
index_statusnow says so (#2348). - New opt-in settings (all off by default):
watch_non_gitindex_max_filesindex_max_source_mbCBM_STARTUP_TIMEOUT_MSCBM_WALK_MAX_NODES(restores a node cap on the AST walk if you want one)
- The previous graph UI is replaced by CBM Lens Beta. It is still started with
--ui=true.
Breaking changes
- Some qualified names changed (#2543, #2551, #2458). Update saved queries and tools that store these names.
- C-preprocessor macros are now
<module>.<NAME>#macro. - Enumerators of C enums and unscoped C++/Objective-C enums live in their enclosing scope.
- A class field that shares its name with a method of the same class is
<Owner>.<name>#field. - Rust
#[cfg]twins are one node instead ofname#cfg(...)nodes. - Java, C# and Solidity class fields no longer have a duplicate
Variablenode.
- C-preprocessor macros are now
- Some edge sets changed on purpose:
- Program launches are
SPAWNSedges instead ofCALLS. - Cross-language name-only
CALLSare gone. - C member accesses on names several structs share no longer bind to an arbitrary field.
SEMANTICALLY_RELATEDadmission and scores are recalibrated.
- Program launches are
search_codeon Windows matches like macOS and Linux. It used PowerShellSelect-String, which matched case-insensitively, used .NET regex syntax and read files containing NUL bytes as text. Now every platform matches case-sensitively, uses extended regular expressions and skips binary files, so the same query gives the same answer on every OS (#2642).uninstall -ykeeps project indexes. Add--delete-indexesto remove them (#2517).detect_changesdefault base. It now compares againstorigin/HEAD(thenmain,master, upstream) instead of alwaysmain(#2496).- Stricter inputs:
Thank you
This release carries 40 pull requests from 29 community contributors, plus work carried into maintainer branches from four more. Every one of them made the graph better for everybody who uses it. Thank you!
- @AmirF194: enclosing
.gitignorefor git-less subfolders, the OpenCode V2 plugin (#2181, #2089) - @astandrik: test-harness isolation and sanitizer build checks (#2073, #1716, #2199, #2197, #2196)
- @BobbieBarker:
cfg-fenced Rust functions by bare name (#2370) - @bmcnaboe: hook and Git-environment test hardening (#1768, #1742, #1741)
- @CaptainMittens: Swift
URL(string:)routes (#1976) - @cdeust: Markdown file references as
REFERENCES_FILEedges (#1832) - @DavidHLP: Linux system aliases during install activation (#2203)
- @halindrome: watcher backoff for failing index workers (#2075)
- @htarnacki: JAX-RS relative paths and Scala resources; JSON array arguments (#2158, #2160)
- @ilyabrykau-orca: cgo
import "C"(#1931) - @isc-tdyar: IRIS
iris.cls()dispatch (#2367) - @ivanlinhf: the Scoop manifest (#2301)
- @JosephStarobinets: linear LSP surface decoding (#2288)
- @kavish-19: honest
COUNTread failures (#2065) - @knewstimek: three Windows reliability fixes (#2260, #2282, #2362)
- @liuchong: opt-in index resource limits (#1723)
- @lorenzozanee: Cypher
OPTIONAL MATCHcounts and TypeScript awaited generics (#2241, #2242) - @Lowpower: CLI help for
--format json(#2140) - @metehanulusoy: Cypher
SKIP/LIMITvalidation (#2002) - @pcristin: CLI test-fixture lifetime (#2304)
- @Sakil786: Pi extension TypeBox schemas (#1809)
- @SarletteD: nullable string comparison cleanup (#2396)
- @tamerbak: an exact MCP tool inventory in the smoke test (#2263)
- @TheDarkniteFalls: branch-HEAD refresh tests (#2359)
- @tonydzi: the 17-tool documentation (#2225)
- @umi008: Windows freshness reporting (#1787)
- @XIYBHK: export-macro-hidden C/C++ types (#2005)
- @yasmoradi: .NET project files as XML (#2230)
- @z2250389: Unicode repository paths on Windows (#1816)
Work carried or distilled into maintainer branches, with credit in the commits:
- @BernhardJackiewicz: the foundation of CBM Lens Beta (#2068).
- Andrew Hundt (@ahundt): from #1245, eight fixes across routes and service patterns, Cypher, MCP arguments, C return types and Python scope lookups (#2252–#2256, #2258, #2273, #2274), plus the Windows installer's exclusive temp paths (#2251).
- @rarepops: from #2109, CI runner pins and SBOM attestation (#2249).
- @umi008: from #1789, naming the failing artifact phase (#2247).
- @junk151516: from #2051, the atomic-publish failure reason (#2259).
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 61–69).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
cedf9a2a1f8f523c62864ce2dfc791bb51b43c97845a1c3a6fe908a8bf64009b |
clean |
linux-arm64 |
5c08405828207f462d734ecd509166390b1ddbf9c2f550b81de80fc299ee8625 |
clean |
linux-amd64-portable |
36bc515ee72b90a209c12518696d886b83e64f66aa7366079cf705f233838bad |
clean |
linux-arm64-portable |
b3621beb342db993781bb640a4736cd24a67d438e881a69025882dd559423c9d |
clean |
darwin-amd64 |
2b68d70bb115b7016528592876c74efe1179afaeb38ad6833ad2ccd2c147dd31 |
clean |
darwin-arm64 |
d26ba94b11b79f727923eaadb811e044a52618ae6d303670df5467f1e6c25015 |
clean |
windows-amd64 |
770597e6f08871b2903a15229754dd3600c1966c0eb71b08fc82fa8e047626cf |
clean |
windows-arm64 |
df086ae9029e4327a85632f47eb98aa1c8de0234e80656057659e2ed8388f762 |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.11.0
2026年09月16日
v0.11.0
A large release, and an unusually community-heavy one: 171 pull requests merged since
v0.10.8 (9 of them dependency bumps), 76 of them from contributors outside the maintainer.
Thank you — this release is mostly your work. It is a minor version rather than another 0.10.x
patch because the index format moves (one rebuild, below) and the tool output contract changes.
The reason v0.11.0 exists is install, uninstall and daemon-startup reliability, and memory: if cbm
ever refused to install, refused to uninstall cleanly, died at startup without telling you why, or
blew through the memory budget on a large repository, this is the release to take.
Two things to know before you upgrade, and one thing you will notice.
Highlights
The first run after upgrading rebuilds your index once
This is expected. It is not an error, and nothing is lost.
PR #1104 (feb72080, by @LA-10) completes the File-node change from #1108: a File node's
qualified name now keeps its file extension, so auth.py and auth.ts in the same directory are
finally distinct nodes instead of colliding on one name. That moves the on-disk index format
boundary, so an index built by v0.10.8 or earlier carries the old, collided identities.
Rather than migrate in place — an old collided database cannot reconstruct the siblings it lost —
cbm stamps the format in PRAGMA user_version and takes a stale-format index through one full
reindex. Your ADRs and index metadata are preserved across it (#516). After that single run, the
stamp is current and incremental indexing resumes as normal.
What you will see: the first index_repository (or the first watcher/daemon-triggered index) after
upgrading takes as long as a cold index of that repository instead of the usual incremental
seconds. A large monorepo will feel it. Everything after that is incremental again.
You may also see one orphan_removed line on that first run — that is #2111's new sweep clearing
staging files left behind by a worker that was killed under an older version. Also harmless, also
once.
Lean, lossless output — findability preserved, no capability removed
PR #1597 (3909e5a0) makes CLI and MCP responses compact by default. To be explicit about what
this is not: no tool was removed, no field you could query before became unreachable, and no
answer got harder to find. What changed is that operational detail moved behind explicit flags and
parameters, and the default response carries the graph answer itself.
Kept in the default response, always:
- graph rows and node identities
- exact totals, not "about N"
- truncation state, so you always know when you are seeing a subset
- continuation cursors for everything that was omitted
Moved behind explicit opt-in: diagnostics, evidence columns, progress chatter, and JSON output.
Two companion changes complete the contract. 14c229b1 adds lossless semantic pagination —
max_output_tokens is enforced as a deterministic, model-neutral byte ceiling that cuts at whole
semantic units instead of slicing bytes mid-record, and every omission is independently pageable.
Cursors are bound to the query arguments, the result state and the index generation, so a stale
cursor fails closed rather than silently paging a different snapshot. 4a9fcd97 adds an explicit
quiet CLI mode for scripting.
Measured on the same serialized MCP tools/list fixture: 23,075 → 15,071 bytes (−34.7%), and
−31.4% / −30.7% on cl100k / o200k token counts. For result tables with repeated paths, response-local
directory-prefix compression cut token-shaped output by 38.3% (Unix paths) and 44.5% (Windows paths);
inputs where compression would not pay are left uncompressed, so no response gets larger.
Invalid UTF-8 in source is now preserved reversibly instead of being replaced, and code search is
scoped to canonically indexed files with globs that stay portable to BusyBox/Alpine.
Memory: the budget is honoured, and the index needs far less of it
PR #2202 moves the indexer's memory onto one allocation core and makes CBM_MEM_BUDGET_MB a
promise rather than a hint. When an index approaches the budget, finished per-file results are
parked on disk and loaded back only for the moment a later pass reads them; the phases after
extraction start from the floor instead of inheriting everything that was extracted. The
semantic pass sizes its working set to the headroom left. What no budget can move is the graph
itself, so a budget below the graph's own size still fails whole, cleanly, as #2112 describes.
Measured on the Linux kernel (8.5 M nodes), same machine as v0.10.8: the default budget
(24,576 MB) used to abort the run; it now completes without spilling. At 16,000 MB and at
15,000 MB it completes through the spill path with the charged memory peaking at 14.6–14.7 GB,
and the graph is identical. On the ten LSP corpora we benchmark, peak memory dropped between
40% and 80% (Go 17.2 → 3.9 GB, Java 27.6 → 11.0 GB, C# 27.0 → 11.2 GB, TypeScript 12.0 → 2.5 GB)
with no corpus slower than v0.10.8: C# indexes in 128 s instead of 463 s, the kernel in 233 s
instead of 295 s.
Three things fell out of the proof runs and ship in the same release:
- A per-file CPU budget covers the whole file, not just the parse. Pathological files (a
23 MB single-expression JIT test in dotnet/runtime, a few generic-nesting stress tests) used to
hold a worker for minutes in the usage walk; they now stop at the budget, keep what was
extracted, and skip the type-aware walks, logged by path. - A crash in cross-file resolution on large C/C++ trees is fixed: the C++ class walk wrote a
per-file scratch signature into the shared type registry, which another worker then read after
the file's memory was gone. Found with an ASan build of the server on dotnet/runtime; the
registry is copy-on-write now, and a test guards the contract. - Locale-free formatting on macOS: every
vsnprintftook the process locale lock, and
eighteen workers formatting type names serialized on it. Each thread formats with a locale of
its own now.
The daemon and the CLI are unchanged in behaviour; a 30-minute soak on all three platforms
holds a flat memory line (Linux 11.6 MB, macOS 17.4 MB, Windows 16.8 MB) under continuous
queries.
Upgrade notes
- One full reindex on first run. See above. Expected, once per index, ADRs preserved.
- A new
<db>.stage.*.locksidecar appears next to the database while an index runs (#2111).
It is the ownership marker that lets cbm tell a live writer from a dead one; it is removed when
the run finishes. - An over-budget index spills first, then fails whole instead of soft-overshooting (#2202,
#2112). Near the budget, finished results are parked on disk under<cache>/spill/for the rest of
the run and the run usually completes at the floor; an index whose graph alone exceeds the budget
stops cleanly withreason:"over_memory_budget"and a namedbudget_mb/peak_rss_mb, and your
previously serving index is left byte-identical. RaiseCBM_MEM_BUDGET_MBif you hit it — the
message names the variable. - No configuration file changes are required.
Install and reliability fixes
Windows 10 could not install at all
#2188 (042a58bb, reported and diagnosed by the reporter of #1856). install.ps1 set
SecurityProtocol = Tls12 -bor Tls13 unconditionally. Windows 10's schannel has no TLS 1.3 — it
arrives with Windows 11 and Server 2022 (build 20348) — but .NET Framework 4.8 still defines the
enum value, so the assignment succeeded silently and the first HTTPS request then died with
The request was aborted: Could not create SSL/TLS secure channel. An unsupported flag in that
bitmask is a hard failure, not a downgrade. Every Windows 10 machine hit this. The protocol set
is now computed: TLS 1.2 always, TLS 1.3 only on build 20348 and later, with an enum-name probe so
the script still parses on .NET Framework 4.7.
The same PR makes an activation refusal actionable. It used to print "Check the errors above" with
nothing above it; it now names the check that refused, says whether the offending ACE was
inherited, and gives a remedy that actually works for that case
(icacls <dir> /inheritance:r /grant:r "%USERNAME%":(OI)(CI)F — /remove:g cannot remove an
inherited ACE, which is why the old advice appeared to succeed while the refusal persisted).
No safety check was relaxed: an install directory writable by other accounts is still refused,
now in terms you can act on.
Elevated and non-standard Windows installs
#2139 (1b067e3b, closes #1705, #2023, #1686). A runtime directory created by an elevated
process is owned by the machine's built-in Administrator account, even when that account is renamed
or disabled — and cbm refused it, so install and activation failed outright on those machines. cbm
now resolves this machine's built-in Administrator SID (via the local SAM account domain) and
trusts it. Deliberately not a trailing-RID-500 match: a domain admin's -500, or another machine's
Administrator, is still foreign and still rejected. Separately, an owner-trust refusal that used to
report a bare status -3, os 0 now names the offending owner's SID alongside the path.
Daemon startup failures now tell you what happened
#2113 (91bee4fb, closes #1828). A daemon that could not start — /tmp full being the
reported case — reported a misleading 30-second "active or starting" timeout and no cause. Every
listener stage now carries stage=, errno= and path= (for example
stage=pending_publication errno=ENOSPC path=/tmp/cbm-daemon-<uid>/…), and a doomed start now
surfaces in about a second as CBM daemon failed to start: <stage> failed with <errno> at <path>
instead of burning the full deadline and then reporting the wrong thing.
#2138 (055fbb7d, closes #1830). Inside a single-uid user namespace
(unshare -U --map-current-user, podman --userns=keep-id) the root-owned top-level ancestors
appear owned by the kernel overflow uid, and the daemon refused to start in that entirely legitimate
setup. Overflow-owned ancestors are now accepted, but only when /proc/self/uid_map is a genuine
single-uid map and the overflow uid is read from /proc (never hardcoded). The directories that
actually hold data still require strict == geteuid() ownership, so the destination is no more
permissive than before. There is no environment escape hatch.
Uninstall finishes, and stops leaving things behind
#2110 (b790be3d, closes the executable/index half of #1954). uninstall used to abort on the
first agent-config cleanup error, before removing anything — so one refused mcp.json left a
~300 MB binary and the whole cache on disk. It now runs every agent cleanup, collects the failures,
removes the indexes and the binary, and exits non-zero listing exactly which config files could not
be cleaned and why.
The same PR lets the four config editors follow a user-owned symlinked config file, so a
stow/dotfiles ~/.cursor/mcp.json -> … is no longer refused outright. Writes commit with
renameat on the parent directory handle, so the symlink survives — the target is edited, never
replaced. Other-owner links, dangling links, links to directories and world-writable parents stay
refused.
#2060 (cc6743e9, by @TheStranjer, refs #1722) is the directory half of the same problem:
~/.config/opencode -> /mnt/…, a user-owned directory symlink, made every OpenCode write fail with
an opaque agent_config error. The parent-chain walk now follows a symlink owned by the invoking
user — the rule the Linux kernel's fs.protected_symlinks applies, and one that cannot reach
anything the user could not already write directly. Follow-up commits in the same PR bind the
ownership judgement to the inode actually followed and make following opt-in per call site.
#2137 (a0dc4183, closes #2054). Index deletion — behind cbm update, cbm uninstall and
install --reset-indexes — unlinked each *.db but never its SQLite -wal / -shm / -journal
sidecars, so every explicit removal left orphans behind. All of them are now removed, including an
orphan -wal that outlived its database.
Also in this area: the install directory is removed from the Windows user PATH on uninstall
(#2117); YAML config removers answer OK for a config that is already absent, so uninstall no longer
refuses over it (#2059, @dgilperez); and the OpenHands integration is completed with
settings.json mcp_config plus agent-profile references (#2116, refs #1826).
Indexing that stops honestly instead of being OOM-killed
#2112 (1d665384, closes #1997, #832, and the OOM half of #1973/#1864). The indexing memory
budget was advisory: past the backpressure limit the pipeline logged soft_overshoot and kept
admitting work until the kernel OOM-killed the worker, and the supervisor then blamed your files.
An over-budget attempt now fails whole after one confirmation cycle, discards its staging, and
reports reason:"over_memory_budget" with previous_index:"preserved", budget_mb, peak_rss_mb
and a hint naming CBM_MEM_BUDGET_MB. The index that was serving before is byte-identical and
index_status keeps serving it. A lone worker may now use the whole aggregate budget; concurrent
jobs split it, so fail-whole does not bite a single-job host. On Windows the worker's commit is also capped by
a Job Object at that budget (#2030, @subgurim), so the OS enforces the ceiling the pipeline
promises.
Staging files that clean up after themselves
#2111 (dd454b23, closes #1839, #1864). Three defects in one area: the pipeline minted nested
<db>.stage.A.stage.B paths; a worker killed mid-run left a staging file that nothing ever swept;
and a first index printed a scary invalid_existing_db while integrity-checking its own empty
placeholder. Inner stages are now siblings, every stage is owned through an exclusive .lock
sidecar, a dead writer's orphans are swept before each run (a live writer's are kept), and a first
index is correctly routed as no_existing_db. invalid_existing_db is now reserved for a real
index that fails integrity.
Startup and daemon stability
Installing into a sandbox or a different home no longer stops the daemon serving your real one
(#2115). The activation guard now resolves which cohort an install actually replaces, so a
sandboxed or foreign-home install leaves the host's sessions running instead of draining them —
previously an install under one HOME could quiesce an unrelated daemon out from under an active
editor session.
Three flake root causes were fixed rather than papered over: a mid-HELLO cold-storm racer now keeps
an ephemeral generation (#2179); tree-sitter parses are budgeted by thread CPU time rather than
wall clock, so a loaded machine no longer looks like a runaway parse (#2180); and Windows session
roots are compared separator-equivalently without respelling the policy root.
Further contributor fixes in this area: zombie generations from abandoned requests are contained and
mute endpoint holders are named (#1920, #1921, @OhOkThisIsFine); Unicode session roots are
accepted on Windows (#1876, @ertankucukoglu); a refused UI configuration is no longer reported
as a failed daemon start (#1796, @liuchong); the client selector is applied to registry
integrations (#1802, @rarepops); --clients appears in the CLI help (#1800,
@kilianpaquier); the OMP agent directory is respected and instructions preserved (@DavidHLP); the augment hook receives its input args and tool search works in subagents
(#1933, @Chewji9875); and PowerShell 5.1 stderr wrapping no longer aborts version probes
(distilled from #1255 by @MasterFede5).
- The index worker is scoped to the request's repository, not to the daemon's environment
(#2076): a daemon serving several repositories runs each index in that repository's own scope.
Language and extraction coverage
162 languages, up from 158 in v0.10.8, and 45 client surfaces, up from 43.
New languages:
- Chialisp, with a first-party tree-sitter grammar (#1888). Distilled from PR #919 by
@darkverbito, whose CLVM extraction logic this is built on. - Oracle PL/SQL (#1854), distilled from #1033 by @oğuz — packages, types, triggers,
package-qualified calls and theref_callusage vocabulary. - ArkTS, via a self-maintained fork of tree-sitter-typescript.
Extraction and coverage improvements:
- CFML tag dialect —
.cfctag-dialect routing plus definitions inside embedded<cfscript>
(#1872), distilled from #1412 by @allanoepping. A real recall hole, not a cosmetic one. - Blazor and Razor —
.razorfiles are discovered as C# (#1824, @The1nk),@page
directives emit Route nodes (@The1nk), and Razor Pages / MVC.cshtmlviews are discovered
and routed. - SQL gets first-class Table and View nodes with FROM/JOIN lineage, and dbt model lineage
is extracted through Jinja-templated SQL — both with @alexisperinger-ux. - Pkl gains calls, branches, throws and decorators (#1426, @tthayer).
- Svelte, HTML and Astro inline scripts now yield structure instead of being skipped
(#2056, @bmcnaboe). - Go: blank-identifier struct fields are skipped,
field_declaration_listis descended into,
a bare reference never binds a struct Field, and USAGE/WRITES/READS are guarded against
cross-language binds (#1937, #1938, #1940, #1944, #2006, all @ilyabrykau-orca). - Swift call arguments are reached through
call_suffix(#1896, @CaptainMittens). - Elixir calls populate
first_string_arg(#1721, @henry-hz). - TypeScript dotted import basenames are preserved (#1811, @pcristin).
- Cross-file base-class resolution in the Python/TypeScript cross-LSP.
- Prose is indexed in BM25 via a
nodes_ftsbody column, with @ShauryaaSharma. - Index-time importance scoring (weighted degree), with @petercoxphoto.
- Ensemble production topology routing (#1063, @isc-tdyar).
- VB6
.frm/.clsfiles no longer land in the FORM and Apex grammars (#2074, @Tokarzewski). - Route extraction finds a path wherever it sits in a decorator's arguments and takes the
handler from the last argument, not the first (#2008, #2009, @CaptainMittens). - Cypher refuses what it cannot honour instead of answering wrongly: a query the parser did not
fully read, aWITHwider than its binding, a name that is not in scope, and an unnamed head node
now counted against the variable cap (#1875, #1918, #1922, #1998, @CaptainMittens);
variable-length path semantics are enforced (#883, @jstar0). - Unreadable values stop becoming plausible ones — a confidence, an environment setting and a
span timestamp that cannot be read no longer silently become0.0, a wrong default, or a real
duration (#1877, #1880, #1881, @CaptainMittens). - AST traversal stacks no longer outlive the file they walk (#2013, @shafty023).
- Weak Python member calls are suppressed, distilled from #1324 by @Enferlain.
New tooling: a bounded file outline tool and a bounded graph comparison tool,
manage_adr mode='set_sections' for splicing ADR sections instead of rebuilding the document,
graph-augmented Bash tool searches (#1337, @abendrothj), a watcher_enabled master switch
(#1105, @nguiaSoren, closes #335), and artifact hashes reconciled against git on bootstrap.
New platforms and surfaces: NetBSD support across CLI, daemon IPC and runtime (#1342,
@cmeerw); FreeBSD ${LOCALBASE}/bin treated as pkg-managed with self-resolution via sysctl
(#1777, @ocochard); Grok Build as an install target; Oh My Pi (omp) (#1229,
@DavidHLP); the OpenCode plugin extended to every documented context surface (#1487,
@JCVIDev); a UI-embedded Nix flake package (#1089, @mipmip) and a macOS
cross-architecture Nix dev shell; the UI showing its serving binary version (#2016, @rarepops)
and enumerating cbm processes correctly on Windows (#955, @EightDoor).
Performance
- C++ short-name type lookups are indexed rather than scanned (#1679, @astandrik), with a
follow-up unifying the two short-name indexes. - Coverage finds a line by table lookup instead of rescanning the file, and stops reporting a
duplicate range and a line past EOF (#1941, #1971, @CaptainMittens, closes #963). - Suffix globs are filtered while the search scope is built, not after (#1836,
@ertankucukoglu). - Prefix-directory scoring in output compression is no longer quadratic in path count.
- No-op Bash calls are gated before identity hashing in the augment hook (#1337,
@abendrothj). - Idle maintenance no longer polls twice in the daemon.
- Parse budgets are charged in thread CPU time (#2180), so a busy machine no longer trips the
budget on work that was never slow. - The per-file budget now covers the extraction walk and the type-aware walks (#2202), so one
pathological file can no longer hold a worker for minutes; C# on dotnet/runtime indexes 3.6x faster. - SQLite allocates from a heap of its own in the index worker (#2202): the coverage publish
step on the kernel went from 132 s to 9 s, and the whole kernel index from 295 s to 233 s. - Worker graph buffers no longer keep a dense id table over the whole id space (#2202), and the
spill path parks every cached result before resolve; the kernel's charged memory at a 15 GB budget
peaks at 14.7 GB instead of 16.8 GB.
Also in this release
Smaller fixes that did not get a section of their own. Each is real user-visible behaviour, and
every contributor-authored one is credited inline.
Extraction and resolution
- URL-builder helper calls resolve to Route / HTTP_CALLS edges (#1010, @CharlesQueiroz), and
non-HTTP slash arguments no longer produce false routes (#1389, @Yyunozor). - Dynamic edge properties are escaped as JSON (#1065, @tmonestudio).
- Trailing blank lines at EOF count as an absent newline, not a missed definition (#1773,
@rarepops, closes #1746); the same for trailing Dockerfile whitespace (#1853). - Ruby superclass names stay bare (#1709, @benrfairless).
- Swift protocol method requirements are indexed as Method nodes (#1763), and the Swift
try!
grammar entry no longer shifts past its own type (#1986, @CaptainMittens). - Go cross-package field-chain calls resolve via type dispatch (#1939, @xkchok).
- Rust keeps its Cargo context in parallel resolution (#1850); Python suppresses bare calls shadowed
by an enclosing parameter (#1912). - A name-only registry match that the receiver chain contradicts is refused (#1897,
@CaptainMittens). - Symlink skips are reported through the ignored-files taxonomy (#1822, @AmirF194), and a file
whose extractor exits non-zero is quarantined instead of aborting its whole chunk (#1438,
@shashwatMishra96). - The complexity pass is independent of worker id order (#2079), and the function sort is skipped
when a graph has no functions (#2083).
Server, daemon and tools
- The MCP server survives atomic replacement of its own binary (#1204, @DavidMusk93).
- Windows stdio servers exit when the spawning client dies (#1874, @LazyXuan, closes #914).
- Query-only store resolution never mutates, and the ten read-only tools are annotated as such
(#1871, @LazyXuan). - Trace evidence columns come out in header order (#1703, @rudi193-cmd).
search_codescan deadlines are bounded (#1866); semantic-search inputs and store errors are
hardened (#2067).- Markerless stale rendezvous sockets are recovered during activation (#1894, @mvanhorn); a held
startup transition is waited out instead of failing at 10 s (#1772); a mismatched cohort holder is
retried until the caller's deadline (#2047). - Spawn backoff resumes after EINTR (#1799, @rarepops, closes #1616), and
autoindex.skiplogs
the numericauto_index_limit(#1779, @rarepops, closes #1466). - Sparse absolute persistence loss is detected at dump time (#1851).
- The watcher excludes the indexer's own artifact directory from the git dirty signature (#2096,
closes #1953). - An explicit worker budget override is honoured (#1657, @atirna).
Install, clients and binaries
- Hermes YAML configs using
>,|,[or]install correctly (#2094, closes #1924). go installwas fetching v0.8.1 binaries; packaging versions are corrected and the drift is gated
(#1902).- Claude hooks are registered without a shell (#1849), and sensitive program roots are blocked before
any background work (#1848). - Pi adapter: parameters and
executeare emitted (#1678, @musichen) and tool arguments travel
over stdin (#1858). Codex: the global guidance is replaced with an activation pointer (#1739,
@astandrik). - ELF binaries keep their stack hardening through blob regeneration (#1774) and place the whole GOT
inside the RELRO window (#1914); the CLI builds with Clang 23 (#2027). - Graph UI: selecting a single node shows its details (#1235, @Maystern).
Docs
- Git LFS is recommended for a team-shared graph artifact (#1697, @angusgastle); a reproducible
savings measurement guide (#1847) and the runtime trace observation model (#1901) are documented.
Full changelog
Every commit between the two tags:
v0.10.8...v0.11.0
328 non-merge commits across 171 merged pull requests.
Contributors
Seventy-one people outside the maintainer have code in this release. Forty-seven authored commits
directly; twenty-four more are credited as co-authors on work distilled from their pull requests,
where the diagnosis, the extraction logic or the fix originated with them and the shipped change was
rebased or reshaped around it. Distilled or direct, the credit is the same — thank you all, sincerely.
Commit authors
@abendrothj (Jake Abendroth) · @AmirF194 (Amir Fathi) · @angusgastle (Angus Gastle) ·
@astandrik (Anton Standrik) · @atirna (Atirna) · @benrfairless (Ben Fairless) ·
@bmcnaboe (Brian McNaboe) · @CaptainMittens (Joshua Richter) · @CharlesQueiroz (Charles Queiroz) ·
@Chewji9875 (Choti Wongbussakorn) · @cmeerw (Christof Meerwald) · @DavidHLP ·
@DavidMusk93 (Mingqiang Sun) · @dgilperez (David Gil) · @EightDoor (周凯) ·
@ertankucukoglu (Ertan) · @henry-hz (Henry Hazan) · @ilyabrykau-orca (Ilya Brykau) ·
@isc-tdyar (Thomas Dyar) · @JCVIDev · @jstar0 (King Star) · @Jumaga2015 (Julio) · @kavish-19 ·
@kilianpaquier · @LA-10 · @LazyXuan (周文瑄) · @liuchong (刘冲) · @Maystern ·
@mipmip (Pim Snel) · @musichen (Alexander Musichen) · @mvanhorn (Matt Van Horn) ·
@nguiaSoren (Soren Nguia) · @ocochard (Olivier Cochard-Labbé) · @OhOkThisIsFine · @pcristin ·
@rarepops (Rares Popa) · @rudi193-cmd (Sean Campbell) · @shafty023 (Daniel Ochoa) ·
@shashwatMishra96 (Shashwat Mishra) · @subgurim · @The1nk (Adam) · @TheStranjer · @tmonestudio ·
@Tokarzewski · @tthayer (Tony Thayer-Osborne) · @xkchok · @Yyunozor
Credited on distilled work
@alexisperinger-ux · @allanoepping (Allan Oepping) · Anand Aiyer · @andis777 · @aoright ·
@bethzyy · @darkverbito · Dustin Persek · @Enferlain · @Joseph-MingEn · @ketpatil77 · Kody ·
@kriswill (Kris Williams) · @MasterFede5 · @moofone · @nhtkylc91 · Oğuz · @petercoxphoto ·
@PR9000 · @sahil-mangla · @ShauryaaSharma · @xbsjason · Yusuf S. Demirci · Zhiyu
If your name is missing or wrong here, please open an issue — we will fix it and say so.
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 59–68).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
a831cdcafaed7b1f7c23ce996a72a035f2188d7e20e9a18f39ec4b2d4e3302a6 |
clean |
linux-arm64 |
7812062c19030de15ae21ec2d30746447bb2c27bc72f3bf21924ba0e2dacd7e0 |
clean |
linux-amd64-portable |
ce11c141431aeadd788506c3a7e6942db8fd438dec369d0707a39ec9fd8c6510 |
clean |
linux-arm64-portable |
403d0fab6204e712916701936a3229dd472bad05080c757ea5177318a80fdbfe |
clean |
darwin-amd64 |
69ca71b4b62fe233677851bdf54953e2a6660cf5d687b4d64226b2591b14ed39 |
clean |
darwin-arm64 |
a67b7ccead5d2ca852051f8619458ab96af41393257b56fb36e523a110265d48 |
clean |
windows-amd64 |
7edcd3807ebcfd85ec1968985964080f2589748da2fc3c7ce9261eebab31ff04 |
clean |
windows-arm64 |
5615aa31e3cdbe6155e7096c43d07e62e335fe34d28e489b4cc3ce113e81b4e6 |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.10.8
2026年08月19日
v0.10.8
Note on v0.10.7: this release supersedes v0.10.7, which was lost to a release-pipeline
publishing error (published under the tag0.10.7instead ofv0.10.7; package installers
resolve the v-prefixed tag, and release immutability makes the name unrecoverable). The npm
and PyPI 0.10.7 packages are deprecated/yanked for that reason — their binaries were fine,
their download URLs were not. v0.10.8 carries the identical code content plus the pipeline
hardening that prevents a recurrence.
A community-heavy patch release: 19 pull requests merged since v0.10.6, most from
contributors. Thank you all!
Graph correctness
- Cypher aggregates no longer undercount (#1196). Both truncation mechanisms are fixed:
unlabeled scans stopped collecting candidates at max_rows before aggregation ran
(#1323, @Enferlain), and relationship-expansion buffers were capped so aggregation never
saw rows beyond an internal growth limit (#1698).count()/collect()now see the
complete match set;max_rowslimits only the rows returned, as documented. - Python aliased from-imports resolve to the real definition (#1371, @Joseph-MingEn).
from .gate import execute as bridge_executenow produces a CALLS edge toexecute
itself rather than losing the call, and aliased base-class imports land on the real class
node. On our django benchmark this recovered 26 INHERITS and 42 OVERRIDE edges with zero
losses elsewhere, and left TypeScript graphs byte-identical. - Cross-language suffix matching for qualified-name lookups (#1647, @rudi193-cmd).
- search_graph stops returning semantic-only ghosts — results backed by nothing but a
similarity edge no longer surface as if they were definite matches (#1319, @JJordan0C). - List-valued fields extract correctly instead of collapsing to their first element
(#1325, @Enferlain). - Index responses report persisted coverage truthfully (#1326, @Enferlain): an
incremental run that does not revisit a file with recorded parse gaps no longer reports
those gaps as vanished — the response now composes its skipped/parse-partial summaries
from the stored coverage state, falling back to per-run data only if that read fails.
Windows
- Non-ASCII search content no longer degrades to
?(#1704). The search_code raw scan
pipes PowerShell output, and PowerShell 5.1 encodes that pipe in the console OEM
codepage — so Cyrillic, CJK, or accented content turned into question marks depending on
which console the server inherited. The pipe is now pinned to UTF-8 unconditionally. - search_code understands UTF-8 output paths and gains a context column for matches
(#1253, @anfedoro). - Code search is bounded and cancellable — abandoning a query no longer leaves an
orphaned scan running (#1608, @ertankucukoglu).
Platforms & tools
- FreeBSD support (#1467, @PR9000).
- list_projects pagination: a lean default response plus offset/limit and
include_details for the full view (#1181, @tmonestudio). - Extensionless shebang scripts detect their language (#1203, @ibaldr89).
- Index-mode capability rebuild (#1263, @astandrik).
- is_test detection for tests/ directories (#1308) and a diff-aware clang-tidy
hook (#1310, both @Yyunozor).
Release pipeline (the v0.10.7 lesson, hardened)
- Release gates fail closed on cancelled jobs: a timed-out gate can no longer cascade into
a silently skipped test matrix (#1719). - Malformed version inputs are refused preflight — a bare, non-v-prefixed version can never
again publish an unresolvable tag (#1719).
Internal
- Test harnesses use isolated daemon runtimes so suite runs cannot touch the account
daemon (#1695, @astandrik); LF checkout contracts for shell entrypoints and git hooks
(#1314 @mlandolfi90, #1699 with @xumian520); the stdin-gate regression tests no longer
depend on the registry shipping a zero-argument tool (#1704).
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 61–68).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
cb6dc545a8cb714799461ba7d8c223dbca7d02ca46ea5a4215c1beb450fd8e09 |
clean |
linux-arm64 |
e861b4ae831a24ab69e82bb9c4ca8c70029af55b9a074ef0ed2565a53c0de24c |
clean |
linux-amd64-portable |
1175645cb30560e7e47d78611cd1bcb509478eaf6d4e51f72fe18327ee9c1351 |
clean |
linux-arm64-portable |
0bf1b3cf3659f6dcdb01bb6313a93dcbcb53e2cd1a52820f024df7a0cf48f44e |
clean |
darwin-amd64 |
1d5b79257d91973809ee70482781db3d1a78f62fc1cd5d18a5ab0608451d16d4 |
clean |
darwin-arm64 |
2412e017268bef8f847f38d1b0f79f63185b38c27fe6fba637067bfc87c0eedf |
clean |
windows-amd64 |
b4b403b1d7c4def3785f148b93f345ce8427858f4f5489ce28580c4387a336a6 |
clean |
windows-arm64 |
67b0341ee62f07f850d3954e4f387855f90ea8c6c4b7ed41b8a62d61344373a4 |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLog0.10.7
2026年08月19日
Warning
Broken for npm/PyPI installs — superseded by v0.10.8. A publishing error released this under the tag 0.10.7 instead of v0.10.7. The npm/PyPI package installers resolve their downloads via the v-prefixed tag, which cannot be created retroactively (release immutability tombstones the name). Direct downloads from this page work normally — the binaries themselves are fine and fully verified. Use v0.10.8 or newer for package-manager installs, or scripts/setup.sh.
What's Changed
- fix(extract): converge Function/Method is_test with the tests/ path filter by @Yyunozor in #1308
- fix(hooks): scope pre-commit clang-tidy to staged changes (#1264) by @Yyunozor in #1310
- fix(mcp): isolate semantic-only JSON search by @JJordan0C in #1319
- fix(search): preserve compound requested fields by @Enferlain in #1325
- fix(cypher): scan all unlabeled query candidates by @Enferlain in #1323
- fix(registry): drop suffix_match CALLS across language boundaries by @rudi193-cmd in #1647
- fix: rebuild index when mode adds capabilities by @astandrik in #1263
- fix(daemon): add native FreeBSD process-image identity and /home log-path alias by @PR9000 in #1467
- fix(mcp): restore scalable project discovery by @tmonestudio in #1181
- fix(discover): detect extensionless scripts by shebang by @ibaldr89 in #1203
- fix: preserve UTF-8 in search_code source by @anfedoro in #1253
- fix(build): force LF line endings for shell scripts by @mlandolfi90 in #1314
- fix: unbreak main — stdin-gate #1359 guards + Windows search_code UTF-8 pipe by @DeusData in #1704
- fix(test): isolate harness daemon runtimes by @astandrik in #1695
- fix(python): resolve aliased from-import CALLS to real def by @Joseph-MingEn in #1371
- fix(cypher): expansion materializes every matched row — the cap falsified aggregates (#1196) by @DeusData in #1698
- fix(mcp): bound and cancel Windows code search by @ertankucukoglu in #1608
- fix(build): LF contract for extensionless git hooks + a line-ending guard by @DeusData in #1699
- fix(index): preserve persisted coverage summaries by @Enferlain in #1326
New Contributors
- @Yyunozor made their first contribution in #1308
- @JJordan0C made their first contribution in #1319
- @Enferlain made their first contribution in #1325
- @rudi193-cmd made their first contribution in #1647
- @ibaldr89 made their first contribution in #1203
- @anfedoro made their first contribution in #1253
- @Joseph-MingEn made their first contribution in #1371
Full Changelog: v0.10.6...0.10.7
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 60–68).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
9f24d35e42d511c9d5de8f2f3a2c503bfce7e920901f94d0cff837d1371312cd |
clean |
linux-arm64 |
ee517a1b83cda7232bf9f0e2d02807a25207937796bde26dd1dd518be8fb7dd1 |
clean |
linux-amd64-portable |
e9772b28473c11016e59d4dc272b8290deb1efe633c17eb942676f1595b5011e |
clean |
linux-arm64-portable |
a516c044a59c2e8be40366c84aab2a04c2d112298f496f8204f498cbea7883ba |
clean |
darwin-amd64 |
2d5b042b59189645e6975bd3e9772ec760a8368164223fdb85c55a9c67f1d2d2 |
clean |
darwin-arm64 |
24c8b6ee8711e465db359c2ed3ba87c9c350a105f2e77f7d3e4c72b098cd43af |
clean |
windows-amd64 |
2d55ab63c05011a6c00939fc79e17ae0432c4b1fe7675b6dcc86e242a1be437b |
clean |
windows-arm64 |
c5d26ab2e4f59d7e7bc9fbfaa3e08c92127b5ea75c2b7942087edb8a49828fca |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.10.6
2026年08月17日
codebase-memory-mcp v0.10.6
Two stories in one release: the 0.10.x indexing slowdown is gone, and the install
failures that survived v0.10.5 are fixed — including every construct from the configs you
sent us. If cbm got slower for you since 0.9.0, or install still refused your Hermes,
goose, OpenCode, or Codex config, this is the release to take.
The indexing regression program (#1669)
Since 0.10.0, indexing large repos had drifted from slower to unusable — java 6× worse,
C# 2.6×, TypeScript 2×. The cause was not one bug but a family: per-file work that scaled
with the whole corpus. All of it is fixed, measured on the same host against the same
corpora as the reports:
- Java 477 s → 86 s (elasticsearch): cross-file resolution rebuilt a registry of every
definition in the corpus per file. It is now built once and shared, with a per-file
overlay for local symbols. - C# 1211 s → 450 s (dotnet/runtime), now with 48% more edges than 0.9.0: three
corpus-proportional scans eliminated, plus an import-context bug that had been silently
suppressing C# usage edges — one 147 KB generated file went from 490 s to 6.8 s. - TypeScript 37 s → ~24 s (microsoft/TypeScript): the expression-type evaluator
re-evaluated shared subexpressions once per enclosing alternative — 2^n on tsc-compiled
spread chains. A per-node memo makes it one evaluation per node; the pathological file
from the TS conformance suite dropped from 20 s to effectively zero. - Linux memory blowup fixed (#1654): v0.10.4 could OOM a 36 GB machine indexing a tree
v0.9.0 handled in 13 minutes. mimalloc's Linux arena-commit default is restored. - It stays fixed: a new complexity guard suite runs in CI on every platform and trips
on counter ratios (never wall time) if any pipeline pass goes superlinear again, and
CBM_PROFILE=1now prints per-pass timings from any production binary.
Install: the constructs from your real configs
Hermes (#1631, reported by @iandol and Galaxy-VN, root-caused with an isolated repro by
@rg6304): four pieces of ordinary YAML made install fail permanently — empty flow
collections (plugins: [], tool_choice: {}), block sequences at column 0, double-quoted
strings continued with a trailing \, and mid-word apostrophes (LET'S GO in a persona
string opened a "quote" that never closed). All four are accepted now; quotes and
anchors are indicators only where a value begins, the same rule the * fix used in
v0.10.4. Both reporters' full configs — 15 KB each — install end-to-end with every
original byte preserved.
Entries we wrote ourselves are recognised again. Older cbm versions wrote command:
unquoted; the goose block gained a required field; your entry was then declared "foreign"
forever. An entry under our key that matches a shape any previous release wrote — or
whose command is our binary at a moved path — is repaired in place. Truly foreign entries
are still refused byte-untouched.
goose (#1673 + #1675): the extension block now carries the name field goose's parser
requires — before this, goose silently dropped the entry and the "successful" install was
invisible. envs: {} in a sibling no longer aborts the write (community fix by
@pcristin — a model contribution, merged as-is). Old blocks repair on upgrade.
OpenCode / annotated MCP entries (#1630, #1582): when a client adds keys to our entry
("enabled": true and friends), repairs now replace only the command value — comments and
client keys survive verbatim. And ownership comparison is separator-insensitive: an entry
storing C:\...\codebase-memory-mcp.exe is the same binary as the installer's
C:/.../codebase-memory-mcp.exe. @gotspatel's posted config was the file that cracked
this one after persistence across four releases.
Windows-authored configs with a UTF-8 BOM (#1656): PowerShell's Set-Content writes a
byte-order mark, and every YAML edit failed on such files regardless of content — the
reporter proved content-independence with a 26-byte file, and those 26 bytes were their
23-byte control plus exactly the BOM. It is treated as a prologue now: skipped for
structure, preserved on write.
Codex (#1633, closing @spam0115's residual from #1580): the hook reconciler accepts
the managed hook pair v0.10.2 wrote (including the Windows CRLF+BOM variant) and rewrites
it in place; refusals now name their reason instead of failing generically.
Windows: the DACL stops fighting you
The runtime directory's security descriptor was re-stamped on every process start,
whether or not anything was wrong. #1601 counted eleven no-op "Security change" USN
records against a single file in a day; #1620 lost atomic publishes to the rewrite window.
The re-stamp now fires only when the directory is not already in the exact owner-only
state — and directories damaged by the pre-v0.10.3 DACL regime (the empty-DACL logs
folder @patxisan found, which explained a month of unreadable 0-byte worker logs across
six reports) are detected and repaired in place. (#1416, #1601, #1620)
Also shipped: CBM_RUNTIME_DIR is forwarded in generated Codex configs (#1664 — a
relocated daemon was invisible to Codex-spawned servers), a missing final newline is no
longer reported as a partial parse, and update no longer names an installer that is not
there (#1653).
Credits
@iandol · Galaxy-VN · @rg6304 · @gotspatel · @spam0115 · @pcristin · @Carnival-z ·
@tmonestudio · @patxisan · @roosteer — the configs, ACL dumps, and minimal reproductions
in this release's issues did most of the diagnostic work. Thank you.
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 60–68).
Every shipped binary was clean.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
749bd2c37c2ad891392e0872b9e1fb0df7432f04c7ca0f49d11d00b24c5f2ec8 |
clean |
linux-arm64 |
e41cba76e58005edd4d21e19cbe1faf2c8f684c56fe78141c9956a9c632c9d26 |
clean |
linux-amd64-portable |
8eea4ec828cd0cfa1c406cda5640a8dfa5381878b4d96b106cdc53aff3733508 |
clean |
linux-arm64-portable |
c783294c009186c1c91c79d3611ef991af4db7816dbad13a922538513af97cac |
clean |
darwin-amd64 |
34851da132369455b35530879c13e95360429251ab5e9604bc301beb25c9bcc5 |
clean |
darwin-arm64 |
8fdbdb2ec81f9526b34e71dffd46589b0e06fd5d60773732fd256c684d0251f4 |
clean |
windows-amd64 |
3099e91c29d8507c94bfb7ed431a1f89459ad9afdcea413cbab23c9ec3cfd972 |
clean |
windows-arm64 |
f5f0585308d7f6130386857e1747a338abe194cb9b082c37d81acf43b8f18e9d |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.10.5
2026年08月15日
codebase-memory-mcp v0.10.5
An install-and-startup release. If v0.10.4 refused to install for you, refused to write your
config, or told you something that turned out not to be true, this is the one to take.
Several of these are cases where cbm refused its own work — an installer directory our own
binary then rejected, a config entry we wrote ourselves and later called foreign, an error
message that named the wrong directory and sent people to inspect a file that was fine.
Windows: installs that refused themselves
The installer was creating a directory our own binary then rejected. install.ps1 made its
staging directory with New-Item, which inherits whatever %TEMP% carries. The downloaded binary
validates its own directory and refuses inherited cross-account mutation grants — so we handed our
own check a directory we had just made wrong. Measured on a Windows VM: a fresh staging directory
came up unprotected with five inherited ACEs; it now carries a single owner-only entry.
That is the acl-grants-cross-account-mutation to S-1-5-21-… failure. Reported by @RoccoZero,
@aecesr, @Kiborgik and @nasodaengineer, whose corrections stopped us fixing the wrong
thing twice — @Kiborgik warned that keying on the sandbox group's name would miss a synthesized-SID
variant, and @nasodaengineer disproved an off-by-one-RID theory by showing the ACE really was present
on the inherited DACL. @spam0115 independently wrote a working installer whose decisive line was
the same icacls /inheritance:r, and handed it back to us rather than keeping it.
Sandboxed applications no longer block the daemon. The ancestor walk refused any
mutation-granting entry on %LOCALAPPDATA%, including AppContainer identities left by ordinary
installed software. On reported machines the blocking entry resolved to a shipping desktop
application — nothing a user could reasonably remove. Ancestor components now tolerate AppContainer
package and capability identities; the private runtime directory keeps demanding the exact current
user, unchanged. Approach and the ancestor-only boundary follow @mlandolfi90's work.
Startup: when the daemon could not be reached
-
The rendezvous directory can be relocated in a shipped build via
CBM_RUNTIME_DIR. Previously
the only relocation hook was compiled out unless test seams were enabled — so a test build
started where the product build did not, and when the default ancestry was unacceptable
every invocation failed,config listincluded, leaving no way to reach the settings surface
and fix it. (#1537, #1574, #1621)@tmonestudio and @Carnival-z each proposed exactly this, independently, before we built it
— @tmonestudio in #1574 with the ancestry walked and the offending component named, @Carnival-z in
#1621 after finding thatCBM_CACHE_DIRmoves the cache but never the rendezvous. Both had opened
pull requests reaching the same conclusion this change implements; the merged commit credits
@tmonestudio by name for the approach and the variable name. -
Refusal messages now name the directory that actually refused. The ancestor walk validates the
directory it is already in, but printed the name of the child about to be entered — so #1537 was
told.cachewas at fault when the home directory was refusing, and #1621 was told
cbm-daemon-501when/private/tmpwas. Both reporters inspected exactly what we named, found it
clean, and said so. They were right, and we kept pointing at it for weeks. The message now
names the containing directory and says explicitly not to check the one it used to blame.
Errors that name what actually refused
Three fixes, one complaint: our messages did not say enough to act on.
secure CLI coordination could not be created (endpoint)now prints the validation detail —
the directory and the rule that refused. Four separate reporters hit that message; one built an
instrumented binary to discover a single ACE was the cause.- A refused agent-config write says what the target is — whether it exists, and what kind of file
it is. Nine distinct fail-closed conditions previously collapsed into one indistinguishable failure. - Neither prints
errno. It is called from 119 sites and can be stale, which is exactly how an
earlier release handed a reporter a fabricated "file not found" for a permission decision.
Config files we wrongly refused to touch
- An MCP entry your client annotated is no longer treated as foreign (#1630, #1582). OpenCode
writes"enabled": truebeside thecommandandtypewe write; our ownership check demanded an
exact key-set match, so a three-key entry with two recognised keys was classified as somebody
else's and left alone — we refused to touch an entry we had written ourselves. In one reporter's
file every MCP server carried the key, so this is OpenCode's normal shape, not an unusual hand-edit:
anyone who has ever toggled a server on or off in the UI was hit. - YAML values containing
*or&are no longer mistaken for aliases and anchors (part of #1631).
Prose asterisks, a glob inside a description, a kaomoji — all were refused as if they began a node.
The test is now positional. Root-caused by @rg6304, who reproduced it in isolation, read the
source, and corrected our hypothesis: the constructs we had guessed appear nowhere in the failing
file. This is one of four constructs in that report; the rest are still open.
Data loss and diagnosis
uninstall --helpno longer performs a real uninstall (#1038). It removed the binary and every
agent configuration for someone asking what the command does. The guard is checked before argument
parsing, so a-yelsewhere on the line cannot auto-confirm the destruction being prevented.- A crashed worker's log now survives and names its run (#1145, #1130, #1132, #1450, #1133, #1070).
Six reports ended at the same dead end: the supervisor prints the log path and the file is 0 bytes,
so the one diagnostic that would explain the failure was silenced by the failure itself. cli <tool>no longer blocks forever reading standard input (#1359) for a tool that declares no
arguments.--jsonand--progressare stripped before the stdin fallback is reached, so
cli list_projects --jsonhung too — the reporter's correction that "no flags" was not the trigger
was right.
Reliability
- Spawn retries no longer grow without bound (@moffermann). The clamp we shipped could never
fire, while the doubling it was meant to bound ran free — a future budget increase would have meant
a 40-second wait where the retry exists to avoid exactly that. Both current budgets are unchanged. - Two concurrent sessions can no longer be handed the same temporary directory
(@ertankucukoglu) — a process-global buffer in the Windows temp-directory helper. - Instrumented test builds now know they are instrumented (@moffermann). Four places asked
that question four different ways, so some sanitizer lanes measured instrumented code against
native timing budgets.
Correctness
check_index_coverageno longer reports every path as unavailable when a repository has more
than 2,000 ignored files (@SunneeYang). A truncated catalog was treated as proof that no
per-path answer existed, including for paths with a current hash record.- Go routes built by string concatenation now resolve (@AmirF194). A handler registered with
base + "/orders"produced no usable route path; the literal half is now recovered, and a path
assembled from a variable is still left unresolved rather than fabricated. - Cypher queries repeating a variable-length node no longer double it (@jstar0), matching the
unification the fixed-length path already did. - A Windows publish failure says what actually failed. The atomic publish discarded the Win32
error and reported a bareerrno, and one path returnedPERSIST_FAILEDwith no log line at all —
which is how a reporter with an ACL problem was told to check that their repository path existed. - Cross-repo intelligence works again on any project that has ever recorded a parse miss
(@vitaliy-shatskiy, #1609). Indexing writes an internal<name>::missedrow into the same
database, and the validation required exactly one row over all of them — so such a project was
rejected as "not indexed", both as source and as target, with no workaround available to the
operator. The same defect was fixed forlist_projectsin #1044; this site never learned it.
Performance
- Windows code search prefilters simple suffix globs (@ertankucukoglu), so a
*.extfilter no
longer scans and then discards. The pattern reaching the shell stays behind an allowlist, and the
original post-scan filter is retained as a second guard. - A failed search launch no longer leaks its compiled path filter (@ertankucukoglu).
search_codecan report per-phase timings on request (@ertankucukoglu) —scope_ms,
scan_msandenrich_ms, behinddebug: true. Default output is unchanged, and the measurement
itself is skipped unless asked for, so nothing is paid for by callers who do not want it.
Updating from 0.9.x is possible again
If you are on 0.9.x and update has been refusing to install, this is the release that fixes it
(#1134). v0.10.0 consolidated to one archive per platform, so the codebase-memory-mcp-ui-* names
that 0.9.x updaters ask for stopped existing and those updaters 404'd. We fixed that by publishing
byte-identical copies under the legacy names — but that step runs after checksums.txt is
generated and signed, so the aliases never appeared in it, and an updater that verifies the name it
asked for refused what it could not check:
warning: codebase-memory-mcp-ui-darwin-arm64.tar.gz not found in checksums.txt
error: refusing to install an unverified download
We fixed the 404 and moved the failure to verification. Confirmed on v0.10.4: eight ui-* archives
published, none of them listed. Their digests are now emitted before the attestation step, so the
attested checksum file covers both names — no new bytes, and an alias is a copy, so its digest is by
construction the one already computed. Reported by @AmooAti, whose installer was behaving
correctly the whole time.
Also
- The test suite no longer writes into the developer's real agent configuration (@phyrexia).
- A release-gate verdict no longer depends on a live network fetch. The licence provenance audit
downloaded the canonical Apache-2.0 text while running and byte-compared it, so a failed request
reported a licence discrepancy that did not exist — reddening an unrelated contributor's pull
request for over two weeks. It is now pinned by digest. - MCP envelope fuzz coverage for wrong JSON types (@lukiod).
- Release notes now report the verdict for the binary actually shipped, and no longer claim a minimum
engine count that stopped being true.
Still open — not fixed in this release
Being explicit, because several of these have been open a long time and shipping quietly around them
would be worse than saying so:
- #635 — on Windows, clients using the Python MCP SDK never complete the handshake, so no tools
appear. Open 50 days. - #1633 — Codex refuses
config.tomlentries cbm itself wrote in an earlier version. The
OpenCode half of this pattern is fixed above; the Codex/TOML half is not, and we have asked the
reporter for the exact entry shape. - #1631 — three of the four YAML constructs in that report remain unsupported.
- #1620 — on one Windows host, indexing always fails with a generic
Pipeline failed: our own
protected cache-directory DACL breaksMoveFileExW(REPLACE_EXISTING). Only the diagnosis half is
fixed here — the publish failure now reports the real Win32 error instead of a discardederrno,
so the next person is not sent to check that their repository path exists. The behaviour itself is
unchanged: a fix broke daemon startup in testing and was pulled rather than shipped half-right. - #1650 — where another agent's sandbox (OpenAI Codex CLI) has given a local group
profile-wide ACEs, the daemon still refuses to start. The tolerance added above covers AppContainer
identities, which a process cannot escape; an ordinary local group names a principal that really can
be exercised, so it is still refused deliberately.CBM_RUNTIME_DIRis the intended way out — point
it at a directory whose ancestry passes. - #1632 —
updatecan print aninstall.shpath that does not exist, with no fallback. A fix is
in review; it did not make this release. - #1654 — a large tree that v0.9.0 indexed in ~13 minutes fails to index on v0.10.4, reaching
about 1% in 45 minutes and then dying on allocation failures. Reported today and not yet
reproduced by us; nothing in this release targets it. If you are on a large repository, this
release does not change that behaviour. One thing here does help though: a crashed worker's log now
survives, so the next run should produce a diagnostic instead of an empty file. - #1343, #630, #1083 — reproduced by their reporters, not yet by us.
If you are hitting one of these, the issue is the best place to follow it; we would rather point you
at an open ticket than imply it is handled.
Upgrade
- Binary installs: download below, or re-run
install.sh/install.ps1. - Package managers: update through them as usual.
- No index, cache, or config migration.
Full changelog: v0.10.4...v0.10.5
Security Verification
Every binary published below was scanned by VirusTotal before smoke and soak testing, and the verdict for the exact shipped bytes is linked per product (decisive engines: 60–66).
1 shipped binary carried only the documented single Microsoft machine-learning !ml result; no other decisive engine reported malicious or suspicious.
Correction (post-publication). The table above originally reported
linux-amd64as carrying a Microsoft!mldetection anddarwin-arm64as clean. That was taken
from the pre-selection candidate scan. The final scan of the exact shipped bytes, run minutes
later, returned the opposite verdicts for those two files, and the table now reflects that
final scan.Nothing about the binaries changed between the two scans — same bytes, same hashes. Microsoft's
machine-learning engine simply returned a different answer for each of them within the same hour,
in opposite directions. The other six products were stable and clean in both scans.This is worth stating plainly rather than quietly editing: a
!mlverdict is a probabilistic
classifier output, not a property of the file, and we cannot make it stable from our side. Every
hash above is linked so you can check the current verdict yourself — and it may well differ again
from what we recorded.
| Product | Shipped binary | VirusTotal verdict |
|---|---|---|
linux-amd64 |
82750cd15af0165241c6a22e783eaf8c3e57575aed86aaf2a84a866a15de7ab6 |
clean |
linux-arm64 |
f944b83584fd9b6e83f5199fd71bf628218516fe0af2e8ced9376ee1367f19da |
clean |
linux-amd64-portable |
dfd7db016354f223cb8c8a22d8c4ceb418b51b8b4bce541669ff32288731ad03 |
clean |
linux-arm64-portable |
235258163aae1e573ae61933fee31f1e023d593211acc1243507401727f6f9a8 |
clean |
darwin-amd64 |
785862e49b5939b6093ca150d322fb6666a237dec93c2d74f1c632f2edcc3f1a |
clean |
darwin-arm64 |
6d3c5be6412008c039b1dbaadc2a295a032bbcae52671e71ee13233b665495a8 |
Microsoft !ml |
windows-amd64 |
f8aee1683f94f7598ae70640a588f27d51811433f046b39c1faf186c17010739 |
clean |
windows-arm64 |
c3a91dcab960250521a31dd831e2aad6785971db40c013513d37f17eda95b3a0 |
clean |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.10.4
2026年08月14日
codebase-memory-mcp v0.10.4
An install-and-diagnostics release. If v0.10.3 refused to install or start for you — particularly on Windows, or on a machine where you installed cbm through a package manager — this is the one to take.
Most of what follows came from people who filed precise reports and, in several cases, root-caused the bug before we did.
Windows: elevated accounts could not install or start at all
Running as an Administrators-group account meant install failed with activation transaction I/O failed: owner-not-current-user, or the MCP server exited during startup with nothing in the log but a closed transport.
The cause was ours and specific: we compared a file's owner against the token's user SID, but Windows stamps newly-created objects with the token's owner SID — which for any member of the Administrators group defaults to BUILTIN\Administrators. So the installer created its own staging file and then refused it, seconds later, as belonging to someone else. No amount of rebooting or closing processes could help, because nothing was running.
We now also accept the SID Windows actually stamps on what we create. This is narrower than "trust any administrator": a file owned by a genuinely different account is still refused. Reported by @spam0115 and @gotspatel, and it is very likely the cause of the long-running #1416 as well.
Installing no longer touches things it doesn't own
Two changes for people whose setup we were trampling:
A binary installed by mise, Homebrew, nix, asdf or cargo is left alone. Previously install dropped a second copy into ~/.local/bin — shadowing the managed one depending on PATH order — and appended to your shell rc file. Now it configures the agents and leaves the binary and your PATH untouched, update refuses honestly and names the command that will work (mise upgrade, brew upgrade), and PATH is only modified when we actually placed the binary. Reported by @SC-CTS.
You can choose which clients get configured. install wrote MCP config, agents, skills and hooks for every detected client, and reverting the ones you didn't want was pointless because the next install recreated them. --clients=claude,codex now restricts it, and --clients on its own lists every supported token. Reported by @PsyTech-Rob.
Errors that tell you what actually happened
Three fixes in a row here, all from the same complaint: our messages were confidently wrong.
- An activation refusal no longer points at evidence it doesn't show. v0.10.3 correctly stopped blaming "active CBM sessions" for failures no session caused, but then told you to check errors that were never printed. It now names the directory and the rule that refused.
- A server that cannot start says why. Client-path startup failures wrote to stderr only, which no MCP client surfaces — so a specific, nameable refusal reached you as "transport closed unexpectedly". Those failures now arrive as a JSON-RPC error carrying the reason.
- The UI listener can be turned off without editing JSON.
ui_enabledgoverns a loopback HTTP port, and the only way to disable it was hand-editingconfig.json; it was invisible toconfig listand rejected byconfig set. Both it andui_portare now first-class config keys. Reported by @PsyTech-Rob, who spent two debugging sessions finding the switch.
Codex, OpenCode and config-file repair
- A duplicated install no longer breaks Codex permanently (@astandrik). An owned inline hook assignment is reconciled into the canonical block instead of being ignored and re-added alongside; foreign hook entries are preserved untouched, and genuinely ambiguous TOML is refused without modifying the file at all.
OpenCode installs land in the file OpenCode actually reads (@iandol).Correction (2026-08-14): this is only half true and we should not have claimed it outright. The targeting is fixed — we now write whichever ofopencode.json/opencode.jsoncalready exists, instead of always creating a.jsonfile OpenCode ignores. But the write itself still fails on v0.10.4 witherror: agent_config agent=OpenCode op=mcp_install, reported on both Linux and Windows. Tracked in #1630. This is the second release running in which we have described this fix as complete; sorry, and thank you to the reporters who kept saying it was not.- An orphan marker we wrote heals itself. An earlier install could leave a closing
# <<<marker with no opener, after which every install failed that client outright. Removal now strips the stray line. A write still refuses on an imbalance — with one marker there is no defensible region to replace.
Query correctness and platform support
OPTIONAL MATCHstopped silently dropping rows (@SEPURI-SAI-KRISHNA). Once the hop buffer saturated, the no-match rows — exactly whatWHERE x IS NULLexists to surface — were discarded. Not a crash, not a memory error: quietly fewer results, with nothing to indicate the answer was incomplete.- FreeBSD resolves its own executable path (@PR9000), which the install and ownership checks depend on, plus a build fix for platforms outside the main three.
Security
The release pipeline now pins and verifies the external tooling it downloads before executing any of it, rather than trusting whatever the upstream project publishes at build time. Verification covers every platform the job may run on, from a single pinned reference.
Reported by Andrew Hundt (#1245).
Reliability
Subprocess spawns survive a busy machine. v0.10.3 started retrying a spawn the kernel refused with "try again", but only for about 30ms — enough for a momentary dip, not for a machine that stays process-starved for hundreds of milliseconds at a stretch, which is exactly when it happens. The retry now backs off exponentially to roughly half a second before giving up. A genuinely exhausted machine still fails fast rather than hanging, and real errors — a missing binary, a permission denial — fail immediately as before.
And the release pipeline no longer publishes its registry entry before the release is public — the bug that made v0.10.3's own registry step fail with a 404 against its own assets.
Upgrade
- Binary installs: download below, or re-run
install.sh/install.ps1. - Package managers: update through them as usual — cbm will now leave that binary alone.
- npm / PyPI: as usual.
- No index, cache, or config migration.
Contributors
Code in this release came from:
- @astandrik — Codex hook reconciliation, with fail-closed handling that leaves an ambiguous config byte-identical rather than guessing
- @PR9000 (Pedro Ramos) — native FreeBSD executable-path resolution, plus a build fix for platforms outside the main three
- @SEPURI-SAI-KRISHNA — the
OPTIONAL MATCHrow-loss fix, including the analysis that separated "in bounds" from "correct" - Andrew Hundt — the release-pipeline hardening above, co-authored
And these reports found bugs we could not have found ourselves, several of them root-caused by the reporter before we looked:
@spam0115 and @gotspatel (Windows elevated accounts) · @SC-CTS (package-manager installs) · @PsyTech-Rob (four separate findings in one install cycle) · @listepo (the diagnostics that identified a refusal we had been guessing at) · @iandol (OpenCode config targeting)
Thank you — particularly to those of you who kept reporting through several releases of install trouble.
Full changelog: v0.10.3...v0.10.4
Security Verification
Before smoke and soak testing, VirusTotal completed 24 executable scans: stripped and unstripped candidates for each of the 8 release products. Every scan had at least 50 decisive engines (observed range: 59–68).
3 candidate(s) had only the documented single Microsoft machine-learning !ml result; no other decisive engine reported malicious or suspicious.
| Product | Stripped candidate | Unstripped candidate | Shipped |
|---|---|---|---|
linux-amd64 |
clean | clean | stripped (09db4f424c1fca97b5d06feb75ca6540629a5b67309e39a9a551e745b081023b) |
linux-arm64 |
Microsoft !ml |
clean | debug-stripped (e0cd04812093d420a889397a603959c9a35ea3c78dea67c44db80e25a04d29b8) |
linux-amd64-portable |
clean | clean | stripped (df1b97b0f5266924072a0c020027a14fa1890fa7457183c2106ff7eab4b62122) |
linux-arm64-portable |
Microsoft !ml |
clean | debug-stripped (8427e22d1445b1e4a9a883034c12c18eb78c30e6ba183235ca79e153641a39e9) |
darwin-amd64 |
clean | clean | stripped (9ae79b267fe60438ffbba046bb5ed9e36b2b0f0c04e32970ee6995d616a8ccc6) |
darwin-arm64 |
clean | clean | stripped (75dadd4f243415c3058a8dd0c47137f4e2fd17861c5e79e70efad150ec02724f) |
windows-amd64 |
clean | clean | stripped (edfd73e60f40c687bc36b88140056838c0f95842f0839ec20cd0cb061d107f50) |
windows-arm64 |
clean | clean | stripped (48f8e9eeff39d4016a10c93084947142dee3cbc356aa5fa8df57c886beb92e0c) |
Selection is tuple-local and defaults to stripped. The selected executable SHA-256 was verified again after packaging; archive containers were not redundantly submitted to VirusTotal. Their hashes remain available in checksums.txt.
Durable evidence: candidate provenance, candidate VirusTotal results, selection decisions.
详细ChangeLogv0.10.3
2026年08月13日
codebase-memory-mcp v0.10.3
A fixes-only release, and most of it arrived as finished work from the community: six contributed pull requests are in here, alongside repairs for two regressions we shipped ourselves in v0.10.2.
Two things worth knowing before you upgrade. If you run more than one MCP client against the same project, this release closes a bug that could silently destroy a healthy index — start with the first section. And if installing or updating has been failing for you, three separate causes are fixed here: a permission rule that refused ordinary home directories, an error message that reported the wrong reason entirely, and Codex losing your cache directory. Several of those failed silently or blamed the wrong thing, which is why they survived multiple releases.
Concurrent instances no longer quarantine each other's databases
The worst bug in this release, fixed by @LynxBay. When two cbm instances raced on the same project — two editors, an editor plus a CLI call, a daemon and a stray session — the loser of the lock race could conclude the database was corrupt and quarantine it: renamed away, rebuilt from scratch, hours of indexing gone. The database was healthy; the integrity check just couldn't tell "damaged" from "busy" (#1206).
The same check had the opposite blind spot too: a database with genuinely torn pages passed as long as its top-level bookkeeping looked right, so real damage went unnoticed until queries misbehaved (#1037).
Integrity now returns a three-way verdict. Only confirmed corruption quarantines; a lock race says "project is busy; retry after indexing" and leaves the data alone; and a deep quick_check catches page-level damage the shallow probe missed. Both directions carry regression tests.
Graph determinism, twice
Two contributions from @Studnicky close two long-standing sources of run-to-run drift — the "same repo, slightly different edge counts" behavior tracked in our known issues since the 0.9.1 RC:
- When the same logical edge is produced twice with different attributes (an LSP-resolved call and a textual match, say), the survivor was whichever arrived last — a function of thread scheduling. The merge is now a total order: higher confidence wins, ties break deterministically, and the outcome is independent of arrival order by construction.
- CONFIGURES candidate collection sorted nothing before applying its cap, so which candidates survived depended on worker merge order. Candidates are now ordered by a pure content key first — notably not by node id, which looks stable but is itself handed out in merge order.
Windows: daemon files created with an empty ACL
@Kiborgik diagnosed and fixed a subtle one (#1351): the daemon's private directory combined a protected DACL with a non-inheritable ACE, which on Windows means children inherit nothing — every file created inside was born with an empty ACL and unreadable even by its owner. Directories now carry a properly inheritable owner-only ACE, so the strict security posture is kept and the files actually work. A companion fix from the same contributor closed a trap where a machine named like its user granted permissions to an empty principal; testing that on a non-domain-joined machine surfaced the mirror-image trap, so our build tooling now identifies the account by SID and stops resolving names altogether.
Repairs for two v0.10.2 regressions
Both reported within hours — thank you for the fast signal.
update --uistopped working (#1544, @ehendrix23). v0.10.2 removed the obsolete ui/standard chooser and the flags that drove it, so a command living in scripts and muscle memory became a hard error. Both flags are accepted again — they do nothing, say so once, and genuinely unknown flags still fail.- The generated Pi extension broke Pi entirely (#1550, @musichen). Pi loads an extension by calling its default export; ours exported a named function instead, and a Pi extension that fails to load takes every
picommand down with it,pi doctorincluded. The extension now default-exports its factory. Fixed independently by @musichen and @henri-edh as well, whose sharper description of Pi's loader is the comment now in our source.
Structured output stops dropping evidence
trace_path(include_evidence: true) promised per-hop strategy and confidence columns, and delivered them — in tree format only. With format: "json" both fields silently vanished, which hit exactly the callers most likely to want them: the ones consuming structured output programmatically (#1542, @asemraza). The JSON path now carries both fields with the same semantics, nulls standing where the tree format prints -.
Subprocess spawns survive a busy machine
Chasing a CI flake uncovered a real robustness gap: when the kernel refuses a process spawn with "try again" — a momentarily full process table on a loaded machine — cbm treated it as a permanent failure. A git probe or LSP server would refuse to start for a reason invisible to the user. Transient spawn failures now retry briefly; real errors (missing binaries, permissions) still fail immediately with unchanged semantics.
Install and activation: the refusal nobody could act on
Follow-up to #1537 (@listepo), and it turned out to be two defects stacked on each other.
The daemon refused to run when any ancestor of its cache directory was group-writable — the same rule we removed on the installer side in v0.10.2, in the sibling check that decision covers but that never got changed. A group-writable ~ or ~/.cache is ordinary (WSL2 ships 0775, so do several distro skeletons and any machine with a shared primary group), so for those users the daemon was permanently unusable, with nothing to close and nothing a reboot would fix. World-writable ancestors are still refused — any local user could swap a path component — and the private directory itself is still forced to owner-only, which is what makes admitting the ancestor safe.
Underneath that, the error message was inventing its own evidence: the refusal path set no error code, so the reporting fell back to printing whatever errno happened to hold, and handed the reporter ENOENT for a permission decision. They went looking for a missing file that was there the whole time. The message now names the directory and the rule that refused it.
Also in this area: the activation guard reported every refusal as "active CBM sessions could not be stopped", including failures where nothing is running at all. Those are now separate messages, the second says plainly that nothing needs closing, and neither remedy assumes a codebase-memory-mcp binary is still on PATH — advice that was unusable at exactly the moment it printed, right after uninstall.
Also fixed
- Codex saw no cbm tools when
CBM_CACHE_DIRwas set (#1562, @anton-matosov). Codex passes only explicitly-listed variables into an MCP subprocess, so the server it spawned read the default cache while the daemon used the configured one; they disagreed and the connection closed during initialization. The generated config now forwards the variable. - The installed skill file failed to load in strict YAML readers (#1554, @xezzon). Its
descriptioncontainedTriggers on:unquoted, and a colon-space in an unquoted YAML scalar means "nested mapping" — so parsers rejected the whole document and the skill silently never loaded. search_codeechoed a negativelimitback as the result count (#1511, fix by @lukiod), which reads to an agent as an answer rather than a rejected argument.OpenCode installs went into the wrong file (@iandol).Correction: this was listed here in error. The fix merged a few hours after the v0.10.3 tag was cut, so it is not in this release — it ships in v0.10.4. If your OpenCode config is a.jsoncfile, upgrading to v0.10.3 will not have helped, and we are sorry for the wasted time.- Release archives are validated before extraction (#1510, @cyphercodes): an exact member set, with symlinked members refused outright.
Upgrade
- Binary installs: download below, or re-run
install.sh/install.ps1— re-running the installer is the update. - npm / PyPI: update through your package manager as usual.
- No index, cache, or config migration.
Full changelog: v0.10.2...v0.10.3
Security Verification
VirusTotal completed 17 distinct extracted byte objects covering 56 exact extracted archive members.
The extraction manifest binds those associations to 14 downloadable archives by SHA-256 provenance. Downloadable .tar.gz/.zip release containers were not submitted to VirusTotal.
16 of 17 scanned objects returned 0 malicious and 0 suspicious verdicts with 57–68 decisive engine results (required minimum: 50).
1 object(s) carry a single Microsoft machine-learning detection (!ml), which this project treats as a known false positive and publishes rather than hides. Every other engine returned clean. See Antivirus False Positives for the evidence and for how to verify these artifacts yourself: objects/scan-c05a4598b3bb23d82efbde5e6bc01989297156ed153dadbd281ba8886c96f2d6--codebase-memory-mcp
Durable public evidence: associations, exact scan set, per-extracted-object results and report links, evidence checksums.
Archive SHA-256 provenance (from the extraction manifest):
| Downloadable archive | SHA-256 provenance |
|---|---|
codebase-memory-mcp-darwin-amd64.mcpb |
b430ec7898c7c857f72672faf1347a3da0b2ec9eac34ffe7940d857a42d62616 |
codebase-memory-mcp-darwin-amd64.tar.gz |
1107fea28285823e1436e4f38a4e00a0b472d8a43c379da7dfd200c914a4b9dd |
codebase-memory-mcp-darwin-arm64.mcpb |
c0f524d28970682b940e2e08f702f7c46c0c4a6d593349ccd1e409e4e11425ed |
codebase-memory-mcp-darwin-arm64.tar.gz |
0ebf02328207d4c3d862c837b5e973de5bac808df92b0941737721d467287f7f |
codebase-memory-mcp-linux-amd64-portable.mcpb |
704549677d608d61fd6164a5a65ab16d1f143732906be28d2bdfb062b56e9e3e |
codebase-memory-mcp-linux-amd64-portable.tar.gz |
254937e3e252c5caa2c507366be8258acea239dc5d1c0dd715ee425259ef492c |
codebase-memory-mcp-linux-amd64.tar.gz |
74997fb0934e70a22f20c2e112fb4d883867dc1f01a7bcdc94cf86d13b5cbd31 |
codebase-memory-mcp-linux-arm64-portable.mcpb |
aff4f741dfe34dbf68649593808abfa3312770b153607b97a0cd7a1a7227bc42 |
codebase-memory-mcp-linux-arm64-portable.tar.gz |
b4ee6aafcc2f3a12e537709e16e42dc49e98ad5c1d620eba1fbad5d83825dac5 |
codebase-memory-mcp-linux-arm64.tar.gz |
967b9eababfdbd2ef1987c571d55bc7c028cd1db7f99279830634c58db311e32 |
codebase-memory-mcp-windows-amd64.mcpb |
a88a2670fdc7b4aeb31b16dc7c37646aad85b93d44d656acb1fcae02a222a6be |
codebase-memory-mcp-windows-amd64.zip |
fa7e53dd5e6b8daf633db7bf37a923061d836a70dd380d6627736d95b998875b |
codebase-memory-mcp-windows-arm64.mcpb |
391262ebf664c0bba4ba1be343fa4fde92d1f30918811a0656dcd711df8d34e8 |
codebase-memory-mcp-windows-arm64.zip |
dd1dfc9039ee431fbdeab1dfb482ec19ea7a5f0fd821b1f04ae1599c9e772342 |
v0.10.2
2026年08月12日
codebase-memory-mcp v0.10.2
An install-and-upgrade release. If v0.10.0 or v0.10.1 refused to install, refused to update, or your MCP client showed a server that connected to nothing — this is the fix, and every one of those failures came from a user report filed in the last 24 hours.
The pattern behind all of them: gates that were right in principle refused ordinary, legitimate setups, and then didn't say why. Each one below keeps the protection that matters, drops the part that was refusing real users, and now names exactly what it refused and how to proceed.
npx (and every ephemeral install path) works again
Running cbm through npx codebase-memory-mcp produced a server that answered nothing: the client waited 30 seconds and exited with zero bytes on stdout, which agents surfaced as -32000: Connection closed. Every npx invocation hit this, deterministically.
The daemon verifies a connecting client's binary image, and it was treating two very different outcomes as one failure: "this image hashes differently than mine" (the tamper case the check exists for) and "this image cannot be examined at all" — which is what an ephemeral npx cache path always produces. The second is now admitted: the handshake immediately before it has already proven semantic version, build fingerprint, and protocol/store/feature ABI, so refusing on top of that traded a real compatibility proof for an unavailable one. A genuine fingerprint mismatch still rejects, hard, and the admission is logged out loud so the weaker check is never invisible.
Separately and unconditionally: a client that cannot reach the daemon now says so in JSON-RPC, naming the reason, instead of exiting silently. Thanks to @wassolles, who arrived with the reproduction, the admission path already read, and three candidate fixes — the one we shipped was theirs.
Installing into an ordinary Linux home works again
install.sh failed with error: failed to stage install candidate: activation transaction I/O failed — a message that sent people hunting disk errors and filesystem types for what was, in fact, a permission policy: the installer required no group-write bit on the install directory and every parent above it. WSL2 ships ~ and ~/.local at 0775, as do several distro skeletons and any site using a shared primary group.
World-writable parents are still refused — any local user could swap a path component mid-install. Group-writable parents are now warned about and accepted, while the install directory itself stays strictly owner-private: that is where the binary lands, and group write there would let another account replace the executable between verification and launch. Refusals now name the directory, its mode, and which rule refused.
Root-caused by @AmirF194 in a clean container, down to the exact predicate and line; independently confirmed by @shochdoerfer and @iandol.
Updating from 0.9.x works again
v0.10.0 consolidated to one archive per platform with the graph UI always embedded, but update still asked which variant you wanted — where "ui" could only 404, and "standard" quietly was the UI build. The chooser and its flags are gone.
Binaries already installed in the field can't be fixed retroactively, so releases now also publish ui-*-named copies of each archive. Every 0.9.x updater that asks for the old name gets the same bytes and completes normally, with nothing required from you. Reported by @iandol.
macOS install diagnostics
install.sh no longer prints No such xattr: com.apple.quarantine — a harmless line (a curl-downloaded archive simply carries no quarantine attribute) that was mistaken for the cause of an unrelated failure, to the point of becoming a bug report's title. And when installation is genuinely blocked by a running session, the error now points at codebase-memory-mcp daemon status to list the processes actually holding it, instead of asserting that sessions exist and leaving you to find them. Reported by @listepo.
Upgrade
- Binary installs: download below, or re-run
install.sh/install.ps1— re-running the installer is the update. - npm / PyPI: update through your package manager as usual.
- From 0.9.x: the old updater works again as of this release; if it already failed for you, re-running the installer is the fastest path.
- No index, cache, or config migration.
Full changelog: v0.10.1...v0.10.2
Security Verification
VirusTotal completed 14 distinct extracted byte objects covering 32 exact extracted archive members.
The extraction manifest binds those associations to 8 downloadable archives by SHA-256 provenance. Downloadable .tar.gz/.zip release containers were not submitted to VirusTotal.
13 of 14 scanned objects returned 0 malicious and 0 suspicious verdicts with 55–66 decisive engine results (required minimum: 50).
1 object(s) carry a single Microsoft machine-learning detection (!ml), which this project treats as a known false positive and publishes rather than hides. Every other engine returned clean. See Antivirus False Positives for the evidence and for how to verify these artifacts yourself: objects/scan-cac31c5358f3a1dcccc4d4ccbe2591f6fbae58949d23bb341429a6197e93a64b--codebase-memory-mcp
Durable public evidence: associations, exact scan set, per-extracted-object results and report links, evidence checksums.
Archive SHA-256 provenance (from the extraction manifest):
| Downloadable archive | SHA-256 provenance |
|---|---|
codebase-memory-mcp-darwin-amd64.tar.gz |
bb6cb47aea9e50e2193cdd917d5dbafa63b7d9c1cbe74bab5ec9bf4faa67e295 |
codebase-memory-mcp-darwin-arm64.tar.gz |
fa3ee085485fd9c16d1c1bd8a102df518862dabd2d6a09e4c6d8dfb3cd2a7eb4 |
codebase-memory-mcp-linux-amd64-portable.tar.gz |
4ead161715fe959ef8a0e38946d63b1728d31e5fb1762a85dbb4b8c4abfbe481 |
codebase-memory-mcp-linux-amd64.tar.gz |
6e3bb7353be21407a78e67b5465e53e3afb1a4a213e7a561606900ac08dcfdd6 |
codebase-memory-mcp-linux-arm64-portable.tar.gz |
dcd6f31f4004c25e7945b355ae23a5a381acb2a620301bca93e1ddb159b672fd |
codebase-memory-mcp-linux-arm64.tar.gz |
b70148686cec55c31673fc0cebc0caf7f664f4ae29f7ba7f07b9617c2e5eaf85 |
codebase-memory-mcp-windows-amd64.zip |
8f08e5c5b480e625adf9d4560765a860d493a690df6ded5b94127283ec5b660a |
codebase-memory-mcp-windows-arm64.zip |
b77b81975021b879ca53cdd94c60b48cc5de102194b52117938a2187a42f89c6 |