• v0.34.1 514e37e0ac

    code-index v0.34.1
    All checks were successful
    CI (Windows) / changes (what this run must test) (pull_request) Successful in 21s
    Package CI / changes (which packages this run must test) (pull_request) Successful in 21s
    CI / changes (what this run must test) (pull_request) Successful in 29s
    Package CI / package (csharp) (pull_request) Successful in 11s
    Package CI / package (svelte) (pull_request) Successful in 12s
    Package CI / package (javascript) (pull_request) Successful in 21s
    Package CI / package (python) (pull_request) Successful in 21s
    Package CI / package (typescript) (pull_request) Successful in 29s
    Package CI / package (php) (pull_request) Successful in 29s
    Package CI / package (ruby) (pull_request) Successful in 40s
    Package CI / package (xaml) (pull_request) Successful in 38s
    CI / cargo fmt (pull_request) Successful in 1m10s
    CI / OSS corpus tier-3 scale (nightly) (pull_request) Has been skipped
    CI / Grammar rebuild from source (nightly) (pull_request) Has been skipped
    Package CI / package (timeline) (pull_request) Successful in 47s
    Package CI / package (rust) (pull_request) Successful in 49s
    CI / CI lane wall-clock headroom (pull_request) Successful in 1m0s
    CI / guest crates (fmt, clippy, doc) (pull_request) Successful in 1m10s
    CI / cargo doc (intra-doc links) (pull_request) Successful in 5m20s
    CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 6m58s
    CI / cargo deny (pull_request) Successful in 7m10s
    CI / cargo check (MSRV 1.98) (pull_request) Successful in 7m22s
    CI / cargo clippy (pull_request) Successful in 7m24s
    CI / cargo check (windows-gnu) (pull_request) Successful in 7m28s
    CI / OSS corpus (tier 1) (pull_request) Successful in 31m43s
    CI / cargo test (pull_request) Successful in 51m51s
    CI / cargo test (daemon transport) (pull_request) Successful in 12m34s
    CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been skipped
    CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Successful in 1h33m32s
    CI / changes (what this run must test) (push) Successful in 33s
    Package CI / changes (which packages this run must test) (push) Successful in 38s
    CI (Windows) / changes (what this run must test) (push) Successful in 50s
    CI (Windows) / fmt + clippy + build + test (windows) (push) Has been skipped
    CI / cargo fmt (push) Successful in 52s
    CI / CI lane wall-clock headroom (push) Has been skipped
    CI / guest crates (fmt, clippy, doc) (push) Has been skipped
    CI / cargo doc (intra-doc links) (push) Has been skipped
    CI / OSS corpus (tier 1) (push) Has been skipped
    CI / OSS corpus tier-3 scale (nightly) (push) Has been skipped
    CI / Grammar rebuild from source (nightly) (push) Has been skipped
    CI / cargo clippy (push) Has been skipped
    CI / cargo check (MSRV 1.98) (push) Has been skipped
    CI / cargo check (windows-gnu) (push) Has been skipped
    CI / cargo test (abi, 32-bit + wasm32) (push) Has been skipped
    CI / cargo deny (push) Has been skipped
    CI / cargo test (push) Has been skipped
    CI / cargo test (daemon transport) (push) Has been skipped
    CI / Plugin path cost + pool throughput (nightly) (push) Has been skipped
    Package CI / package (csharp) (push) Successful in 19s
    Package CI / package (xaml) (push) Successful in 20s
    Package CI / package (php) (push) Successful in 27s
    Package CI / package (rust) (push) Successful in 29s
    Package CI / package (python) (push) Successful in 36s
    Package CI / package (timeline) (push) Successful in 38s
    Package CI / package (svelte) (push) Successful in 46s
    Package CI / package (javascript) (push) Successful in 45s
    Package CI / package (ruby) (push) Successful in 53s
    Package CI / package (typescript) (push) Successful in 55s
    Release Build / Generate Version (push) Successful in 21s
    Release Build / Required CI green (push) Successful in 55s
    Release Build / Build linux-aarch64 (push) Successful in 12m51s
    Release Build / Build linux-x86_64 (push) Successful in 15m3s
    Release Build / Build linux-x86_64-musl (push) Successful in 15m41s
    Release Build / Pack the first-party packages-8 (push) Successful in 58s
    Release Build / Pack the first-party packages-2 (push) Successful in 1m1s
    Release Build / Pack the first-party packages-6 (push) Successful in 1m4s
    Release Build / Pack the first-party packages-7 (push) Successful in 1m14s
    Release Build / Pack the first-party packages (push) Successful in 1m7s
    Release Build / Pack the first-party packages-4 (push) Successful in 1m20s
    Release Build / Pack the first-party packages-5 (push) Successful in 1m21s
    Release Build / Pack the first-party packages-3 (push) Successful in 1m21s
    Release Build / Pack the first-party packages-1 (push) Successful in 1m30s
    Release Build / Pack the first-party packages-9 (push) Successful in 1m34s
    Release Build / Build windows-x86_64 (push) Successful in 24m53s
    Release Build / Assemble the release archives (push) Successful in 3m15s
    Release Build / Windows archive smoke (msvc) (push) Successful in 30s
    Release Build / Create Forgejo Release (push) Successful in 9m28s
    Release Build / Seed the package channel (push) Successful in 2m34s
    Stable

    buildagent released this 2026-10-08 20:13:12 +02:00 | 1366 commits to master since this release

    code-index v0.34.1

    Build: v0.34.1+1035

    Installer: install.sh and checksum. Both come from this release commit. To pin the installed binaries too, run it with --tag v0.34.1.

    Windows installer: install.ps1 and checksum, from the same release commit. It installs AND updates — the same code does both — verifies the archive against its published .sha256 before unpacking, refuses hostile archive members (absolute paths, .. escapes, symlinks and reparse points, which Expand-Archive does not protect you from), and grants nothing when it installs a package: the bytes go into the machine's store and the approving line is PRINTED for you to run from inside a project. -Help lists the flags; -Tag v0.34.1 pins the binaries.

    Four-binary release: code-index-mcp (MCP stdio bridge — the usual entry), code-index-daemon (long-lived watcher + RPC server, auto-spawned), code-index-plugin-host (bounded worker for plugin packages, spawned by the daemon), and code-index (CLI: init, index, watch, doctor, link, plugin).

    Changes

    A patch for a field report (#334): the first daemon after an upgrade could spend tens of minutes in one resolve step on a project whose language is owned by a first-party package. While it ran, every answer was empty and the watcher did not pick up edits.

    Upgrade no longer triggers a whole-index influence pass (#334)

    • The cause. An upgrade changes the host identity, so the daemon rebuilds the tree as a new plugin generation and promotes it. That rebuilt generation was recorded as if its packages were third party. The resolve after promotion therefore ran the full influence pass over every reference, instead of the shortcut first-party packages get.
    • Measured. On a 10,000-file Rails tree with the Ruby package owning Ruby, that step took about 23 minutes before the fix and about 1 second after. The field report saw 45 minutes.
    • Which projects were affected. Any project with a first-party package owning a language, on the first daemon start after an upgrade. It was not new in v0.34.0.

    A stop during startup is no longer a fatal error (#334)

    • Before. A SIGTERM or SIGINT that arrived while the daemon was still resolving at startup made it exit with code 1 and "resolution remains pending: sqlite error: interrupted".
    • Now. It shuts down cleanly and says the pending work is durable. The next start finishes that work.

    Upgrade

    • Replace the binaries. No schema change.
    • The first daemon start after this upgrade still rebuilds the generation once, now in normal time.

    Known limits

    These are tracked as follow-ups:

    • Reads during promotion (#341). While a promotion's resolve runs, readers still see the new generation unresolved. That window is now about a minute instead of tens of minutes.
    • Older package profiles (#339). A package profile stored by an older host is not read after the host adds a profile trait. The builtin profile is used instead, and the next pass costs one extra full re-resolve.
    • Third-party anchor packages (#340). A third-party package that declares reachability_anchor still pays the slow influence pass whenever its grant changes.

    Downloads

    Four platforms are built for every release. The table below says which ones THIS release published.

    Platform Archive
    Linux x86_64 (glibc) code-index-v0.34.1-linux-x86_64.tar.gz
    Linux x86_64 (static/musl) code-index-v0.34.1-linux-x86_64-musl.tar.gz
    Linux ARM64 code-index-v0.34.1-linux-aarch64.tar.gz
    Windows x64 code-index-v0.34.1-windows-x86_64.zip

    XAML plugin package

    de.h-dv.xaml-0.3.0.cip makes .xaml files carry symbols and references instead of being text-only: x:Class and Click= handlers bind into the paired C# code-behind, x:Name becomes a searchable declaration, and {Binding …} stays unresolved because no bridge can reach it.

    It is NOT installed by installing code-index. Packages are installed into a user-controlled store and approved per project, and installing grants nothing — enable is the grant.

    Download de.h-dv.xaml-0.3.0.cips too and keep the .cips beside the .cip. Packages are signed and an unsigned one is refused (signature_missing) with no flag that accepts it. You do NOT need to anchor us first: this release's publisher key is compiled into the binary, so the install below works on a machine that has anchored nobody. code-index plugin trust list shows it, marked [BUILTIN], and code-index plugin trust remove sha256:1cb03259a8c870b6db02360abd9351e17e67724d1f8c3509d85c4bf6b06fa72c withdraws it — see About that key.

    code-index plugin install de.h-dv.xaml-0.3.0.cip --sha256 sha256:f4770234fa8d82c5369f4bc64a1fd510660c767a29d9413cfa76026d6f98a0e5
    code-index plugin check   sha256:f4770234fa8d82c5369f4bc64a1fd510660c767a29d9413cfa76026d6f98a0e5
    code-index plugin enable  sha256:f4770234fa8d82c5369f4bc64a1fd510660c767a29d9413cfa76026d6f98a0e5 \
        --capabilities bridge_source \
        --bridges 'de.h-dv.xaml/xaml:type->csharp:class,de.h-dv.xaml/xaml:call->csharp:method'
    

    The digest above is the one this release packed and it is what --sha256 pins; de.h-dv.xaml-0.3.0.cip.digest.txt carries it and the extraction identity. A digest that changes between releases means the package changed — re-pin, and read the notes.

    Only .xaml is claimed by this package. The TimeLine package below claims .dataset, .xsql, .shd and .lgd, and the Svelte package below claims .svelte; all other markup remains text-only (searchable, no symbols).

    TimeLine plugin package

    de.h-dv.timeline-0.1.0.cip makes the four TimeLine definition formats carry symbols and references instead of being text-only: .dataset and .xsql through one language, .shd and .lgd through another, both out of a single sandboxed extractor. References resolve INSIDE a definition file; nothing in v1 crosses into the C# that loads it.

    It is NOT installed by installing code-index. Packages are installed into a user-controlled store and approved per project, and installing grants nothing — enable is the grant.

    Download de.h-dv.timeline-0.1.0.cips too and keep the .cips beside the .cip. The same signature rules apply as for the XAML package above, and the same key signs both.

    code-index plugin install de.h-dv.timeline-0.1.0.cip --sha256 sha256:150ceb22ed9757a660d5a2bf58b80c81b60043cc419e5da5dde559d5d6fc9c9f
    code-index plugin check   sha256:150ceb22ed9757a660d5a2bf58b80c81b60043cc419e5da5dde559d5d6fc9c9f
    code-index plugin enable  sha256:150ceb22ed9757a660d5a2bf58b80c81b60043cc419e5da5dde559d5d6fc9c9f \
        --capabilities same_file_candidate,exported_candidate
    

    No --bridges, and that is the package saying so: it declares none, so there is nothing to grant. The digest above is the one this release packed and it is what --sha256 pins; de.h-dv.timeline-0.1.0.cip.digest.txt carries it and the extraction identity.

    The 5 fixtures shipped inside it are synthetic and modelled on the worked examples in the two format specifications. They carry no customer definition.

    Ruby plugin package

    de.h-dv.ruby-0.8.1.cip is the compiled-in Ruby extractor as an EXTERNAL, sandboxed package: tree-sitter-ruby loaded at runtime, the extractor compiled to wasm32-unknown-unknown and byte-reproducible from crates/guest/languages/, and the same symbols, references, visibility and Rails association names the built-in produces.

    Installing grants no authority and keeps the staged native fallback. After checking and approving the package below, opt in for this project with code-index languages enable ruby; .rb, .rake, .gemspec, Rakefile and Gemfile then use the package. The .rbx shadow lane remains available.

    It is NOT installed by installing code-index. Packages are installed into a user-controlled store and approved per project, and installing grants nothing — enable is the grant.

    Download de.h-dv.ruby-0.8.1.cips too and keep the .cips beside the .cip. The same signature rules apply as for the packages above, and one key signs every package in this release.

    code-index plugin install de.h-dv.ruby-0.8.1.cip --sha256 sha256:4be315edb72f59a0e4501c8822612456868fbdafac5ffb2c33e354be94c43b07
    code-index plugin check   sha256:4be315edb72f59a0e4501c8822612456868fbdafac5ffb2c33e354be94c43b07 --derived-names
    code-index plugin enable  sha256:4be315edb72f59a0e4501c8822612456868fbdafac5ffb2c33e354be94c43b07 --derived-names \
        --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate
    

    --derived-names is required on check as well as on enable, and without it check REPORTS FAILED. Rails' has_many :posts emits a type reference named Post at the span of the literal :posts, so the name was not copied out of the source it points at; validation is all-or-nothing per file, so the authority is what admits the whole file rather than the one row. Withhold it and you keep the package with every Rails file refused — that is a supported answer, not a broken install.

    No --bridges: Ruby resolves inside its own language, so the package declares none. The six capabilities above are exactly what its manifest requests and enable refuses a grant wider than the request; grant fewer and the index stays searchable but resolves less, because every candidate pool a reference could be admitted to is one of them.

    The digest above is the one this release packed and it is what --sha256 pins; de.h-dv.ruby-0.8.1.cip.digest.txt carries it and the extraction identity.

    The 5 fixtures shipped inside it were generated from the COMPILED-IN Ruby extractor, by a different author from the port they grade, and plugin check compares the package's facts against them exhaustively.

    Svelte plugin package

    de.h-dv.svelte-0.1.0.cip makes .svelte files carry symbols and references instead of being text-only: the TEMPLATE half of a single-file component — markup, mustaches, {#snippet} declarations and {@render} uses — out of one sandboxed extractor over the tree-sitter-svelte-ng grammar.

    It claims .svelte and NOTHING ELSE. .svelte.ts and .svelte.js are deliberately not claimed and this package declares no [[displaces]]: those files are Svelte 5 runes modules, valid TypeScript and valid JavaScript, which the built-in plugins already index correctly. Claiming them would take files away from a producer that reads them in order to read them worse.

    It is NOT installed by installing code-index. Packages are installed into a user-controlled store and approved per project, and installing grants nothing — enable is the grant.

    Download de.h-dv.svelte-0.1.0.cips too and keep the .cips beside the .cip. The same signature rules apply as for the packages above, and one key signs every package in this release.

    code-index plugin install de.h-dv.svelte-0.1.0.cip --sha256 sha256:4b10a478532d67f3694995373e1a64d397611af5c4f2615c085b006628b3322f
    code-index plugin check   sha256:4b10a478532d67f3694995373e1a64d397611af5c4f2615c085b006628b3322f
    code-index plugin enable  sha256:4b10a478532d67f3694995373e1a64d397611af5c4f2615c085b006628b3322f \
        --capabilities same_file_candidate
    

    One capability, and that is the package asking for exactly what it can use. Every symbol this version emits is a {#snippet}, whose visibility is file: reachable by name anywhere in its own component and nowhere else. exported_candidate would admit an empty set, so it is not requested — and enable refuses a grant wider than the manifest asks for, so the line above cannot be padded. No --bridges: this package declares none.

    The digest above is the one this release packed and it is what --sha256 pins; de.h-dv.svelte-0.1.0.cip.digest.txt carries it and the extraction identity.

    The 4 fixtures shipped inside it are synthetic: one positive control in which every rule fires, two that are bait for all of them with an empty expectation, and one malformed source. None carries anybody's component.

    PHP plugin package

    de.h-dv.php-0.1.1.cip uses the canonical PHP extractor in a sandboxed guest. Download its adjacent .cips signature too. The 8 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.php-0.1.1.cip --sha256 sha256:1c1d7f272dd96df2ce8eece0bc12ee90f5844d7e19e23ac143fc243cfc2d0bfb
    code-index plugin check sha256:1c1d7f272dd96df2ce8eece0bc12ee90f5844d7e19e23ac143fc243cfc2d0bfb
    code-index plugin enable sha256:1c1d7f272dd96df2ce8eece0bc12ee90f5844d7e19e23ac143fc243cfc2d0bfb --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate
    code-index languages enable php
    

    JavaScript plugin package

    de.h-dv.javascript-0.1.1.cip uses the canonical JavaScript extractor in a sandboxed guest. Download its adjacent .cips signature too. The 7 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.javascript-0.1.1.cip --sha256 sha256:aa592efd294f2d718066936935db14165ae950c82b83f480aa0da5915b8691e6
    code-index plugin check sha256:aa592efd294f2d718066936935db14165ae950c82b83f480aa0da5915b8691e6
    code-index plugin enable sha256:aa592efd294f2d718066936935db14165ae950c82b83f480aa0da5915b8691e6 --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate
    code-index languages enable javascript
    

    TypeScript plugin package

    de.h-dv.typescript-0.1.1.cip uses the canonical TypeScript extractor in a sandboxed guest. Download its adjacent .cips signature too. The 9 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.typescript-0.1.1.cip --sha256 sha256:58cbba6ade5a3fa5c3afe3a0568da35925c8c1ad15ba0789b5d908ac3509c53e
    code-index plugin check sha256:58cbba6ade5a3fa5c3afe3a0568da35925c8c1ad15ba0789b5d908ac3509c53e
    code-index plugin enable sha256:58cbba6ade5a3fa5c3afe3a0568da35925c8c1ad15ba0789b5d908ac3509c53e --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate
    code-index languages enable typescript
    

    C# plugin package

    de.h-dv.csharp-0.1.1.cip uses the canonical C# extractor in a sandboxed guest. Download its adjacent .cips signature too. The 6 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.csharp-0.1.1.cip --sha256 sha256:ec0740af5799db934d73e99cab779ed838d7e2fbb9426200edfc2a8ce133a35a
    code-index plugin check sha256:ec0740af5799db934d73e99cab779ed838d7e2fbb9426200edfc2a8ce133a35a
    code-index plugin enable sha256:ec0740af5799db934d73e99cab779ed838d7e2fbb9426200edfc2a8ce133a35a --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate,extension_methods
    code-index languages enable csharp
    

    Rust plugin package

    de.h-dv.rust-0.1.1.cip uses the canonical Rust extractor in a sandboxed guest. Download its adjacent .cips signature too. The 11 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.rust-0.1.1.cip --sha256 sha256:33828be80a42742132dc6a9e45947a699f28cb6f5b2b16c98dbac295edf99bc2
    code-index plugin check sha256:33828be80a42742132dc6a9e45947a699f28cb6f5b2b16c98dbac295edf99bc2
    code-index plugin enable sha256:33828be80a42742132dc6a9e45947a699f28cb6f5b2b16c98dbac295edf99bc2 --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate
    code-index languages enable rust
    

    Python plugin package

    de.h-dv.python-0.1.1.cip uses the canonical Python extractor in a sandboxed guest. Download its adjacent .cips signature too. The 9 native-oracle fixtures are graded before publication. Installing keeps the staged default; the final command opts this project into package ownership. Use a host compatible with the package manifest.

    code-index plugin install de.h-dv.python-0.1.1.cip --sha256 sha256:dd53aa50a343a54dc12d3cbd9bbafa15b441b1bc5c43be7b3f9734aaefa6fe96
    code-index plugin check sha256:dd53aa50a343a54dc12d3cbd9bbafa15b441b1bc5c43be7b3f9734aaefa6fe96 --capabilities lexical_local,pytest_fixture
    code-index plugin enable sha256:dd53aa50a343a54dc12d3cbd9bbafa15b441b1bc5c43be7b3f9734aaefa6fe96 --capabilities same_file_candidate,exported_candidate,reachability_anchor,qualified_candidate,type_position_candidate,member_candidate,lexical_local,pytest_fixture
    code-index languages enable python
    

    About that key

    sha256:1cb03259a8c870b6db02360abd9351e17e67724d1f8c3509d85c4bf6b06fa72c is a long-lived Ed25519 key held as a secret in this project's CI, used to sign released packages automatically, and it is compiled into the binaries in this release. It signs every package above. That trusts this project's release pipeline, not only its maintainers: anyone who can run a release workflow here can produce a package that verifies under it. It adds nothing you had not already granted — the bytes are inside the program you are running, so forging that anchor means forging the binary — but you are entitled to know it is there before a package installs rather than after.

    There is no expiry — deliberately, because offline installations must not break on a timer — and withdrawal is on your side and works: code-index plugin trust remove sha256:1cb03259a8c870b6db02360abd9351e17e67724d1f8c3509d85c4bf6b06fa72c. A compiled-in key has no file to delete, so that writes one instead, carrying denied = true; the key stops verifying at the next load, plugin trust list shows it marked [DENIED], and deleting that file (the command prints its path) is the only undo. If the key is ever rotated, the new fingerprint is published here and in tests/packages/first-party.fingerprint, and a build that predates the rotation will not trust it.

    You may anchor it yourself instead — code-index plugin trust add code-index-publisher.pub --fingerprint sha256:1cb03259a8c870b6db02360abd9351e17e67724d1f8c3509d85c4bf6b06fa72c --name 'a label you choose', with code-index-publisher.pub from this release's assets. Your file replaces the compiled-in entry, and the --name is a label YOU choose: nothing in the package, the key file or the signature can name its own publisher.

    macOS is not currently built. No x86_64-apple-darwin or aarch64-apple-darwin archive is published — macOS users should build from source (cargo build --release). This is a deliberate deferral, tracked in #59; no date is promised.

    Wire into Claude Code

    { "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }
    

    SHA256 checksums (.sha256 files) available for every archive.

    Downloads