• v0.41.22 ba6c561fd5

    code-index v0.41.22
    All checks were successful
    CI / cargo fmt (push) Successful in 42s
    CI (Windows) / changes (what this run must test) (push) Successful in 45s
    CI / OSS corpus tier-3 scale (nightly) (push) Has been skipped
    CI / Grammar rebuild from source (nightly) (push) Has been skipped
    Pilot plugin compatibility / Pilot scope (push) Successful in 47s
    CI (Windows) / fmt + clippy + build + test (windows) (push) Has been skipped
    Package CI / changes (which packages this run must test) (push) Successful in 1m25s
    Package CI / package suites (clippy) (push) Has been skipped
    CI / changes (what this run must test) (push) Successful in 1m28s
    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 / cargo clippy (push) Has been skipped
    CI / cargo check (MSRV 1.99.1) (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 / CI lane wall-clock headroom (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
    Release Build / Generate Version (push) Successful in 38s
    Package CI / package (vue) (push) Successful in 11s
    Package CI / package (php) (push) Successful in 12s
    Package CI / package (rust) (push) Successful in 21s
    Package CI / package (python) (push) Successful in 20s
    Package CI / package-corpus (javascript) (push) Successful in 22s
    Package CI / package (svelte) (push) Successful in 30s
    Package CI / package (timeline) (push) Successful in 12s
    Package CI / package (xaml) (push) Successful in 19s
    Package CI / package (csharp) (push) Successful in 29s
    Package CI / package (javascript) (push) Successful in 37s
    Package CI / package (typescript) (push) Successful in 39s
    Package CI / package-corpus (csharp) (push) Successful in 36s
    Pilot plugin compatibility / Fetch the pinned runtime once (push) Successful in 1m22s
    Package CI / package (ruby) (push) Successful in 46s
    Package CI / package-corpus (php) (push) Successful in 31s
    Package CI / package-corpus (ruby) (push) Successful in 29s
    Package CI / package-corpus (xaml) (push) Successful in 19s
    Package CI / package-corpus (svelte) (push) Successful in 35s
    Package CI / package-corpus (rust) (push) Successful in 39s
    Package CI / package-corpus (python) (push) Successful in 49s
    Package CI / package-corpus (timeline) (push) Successful in 41s
    Package CI / package-corpus (typescript) (push) Successful in 46s
    Package CI / package-corpus (vue) (push) Successful in 53s
    Package CI / package overhead budgets (nightly, one package at a time) (push) Has been skipped
    Release Build / Required CI green (push) Successful in 2m6s
    Pilot plugin compatibility / Pilot compatibility (csharp) (push) Successful in 1m9s
    Pilot plugin compatibility / Pilot compatibility (timeline) (push) Successful in 1m15s
    Pilot plugin compatibility / Pilot compatibility result (push) Successful in 1s
    Release Build / Build linux-aarch64 (push) Successful in 18m27s
    Release Build / Build linux-x86_64-musl (push) Successful in 23m18s
    Release Build / Build linux-x86_64 (push) Successful in 24m7s
    Release Build / Build windows-x86_64 (push) Successful in 26m17s
    Release Build / Assemble the release archives (push) Successful in 4m8s
    Release Build / Windows archive smoke (msvc) (push) Successful in 1m2s
    Release Build / Create Forgejo Release (push) Successful in 3m14s
    Release Build / Seed the package channel (push) Has been skipped
    Package Release / The package grades its own bytes (push) Successful in 3m29s
    Package Release / Pack, sign and verify one package (push) Successful in 1m30s
    Package Release / Publish the package release (push) Successful in 2m5s
    Package Release / Update the package channel (push) Successful in 4m8s
    Pre-release

    buildagent released this 2026-10-27 13:29:54 +01:00 | 697 commits to master since this release

    PRERELEASE: this release waits for de.h-dv.csharp@0.1.10 de.h-dv.javascript@0.1.4 de.h-dv.php@0.1.4 de.h-dv.python@0.1.5 de.h-dv.ruby@0.10.2 de.h-dv.rust@0.1.6 de.h-dv.typescript@0.1.5, which the package channel does not serve yet. Its archives bundle the versions the channel does serve. It turns stable when those packages are released and its archives are assembled again.

    code-index v0.41.22

    Build: v0.41.22+1867

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

    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.41.22 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

    • Keep daemon liveness independent of SQLite read availability. A full authenticated capability round trip proves the listener serves without waiting for a database connection or a blocking-query worker. Fatal exits stop waiting for abandoned query tasks after recording their cause.
    • Keep identical builtin extraction sets on one activation identity when Cargo enables them through different dependent crates. Actual builtin, compiler, source and unrelated host-feature changes still invalidate facts.
    • Preserve TypeScript receiver binding across durable resolution batches by reading the producer's immutable WRITE role after reference reclassification.
    • Integrate the reviewed C# namespace, generic arity and inherited-member fixes, JS/TS scope facts, Python/Ruby/Rust corrections, and bounded SQL scope/candidate caches.
    • Upgrade to Rust 1.99.1 and edition 2024, with compatible dependency updates, Wasmtime 48.0.7 and bundled SQLite 3.53.2. Patch Wasmtime's cache compression dependency to the audited zstd line while retaining its verified upstream implementation.
    • Rebuild independently versioned language plugins with canonical provenance. Normalize compiler source paths so components reproduce byte-for-byte with or without rust-src installed.
    • Ignore filesystem read-access events before watcher change processing. Preserve invalid-request classification with the upgraded MCP library and reject small-order signature forgeries at both verification boundaries.
    • Validate the shipped Windows archive against the complete language ownership disclosure, including the exact every language wording, while retaining strict package-owner, file-count and symbol checks.
    • Bound test compiler workers as well as test callers, retaining the production compilation deadline. Keep corpus grading isolated from unrelated phases and reuse the shared corpus build.

    Upgrade and compatibility

    Existing project approvals and index databases remain in place. Changes to the host extraction identity can require normal re-extraction. Language packages remain independently versioned; packages declaring a core 0.41.22 floor require this host before updating.

    C# friend-assembly reachability and bare field reads inside variable initializers remain unsupported. Cross-directory Svelte component binding remains limited to the package's proven facts.

    Verification

    The release tag is created only after the required core, native Windows, package and compatibility-pilot CI lanes pass. Local verification includes all 1,006 MCP tests over daemon transport, all 12 extraction-fingerprint regressions, strict workspace Clippy, all 11 package suites, byte-identical guest reproduction in the pinned CI image, both required tier-3 repositories without content/rule drift, the full PHP release lane, and focused daemon/RPC regressions. New liveness and fatal-shutdown regressions fail before their fixes and pass afterward; removing the compiler-worker bound fails the executed CI-phase guard.

    Native Windows locking and recovery

    Fix SQLite shared-handle WAL lock bookkeeping under concurrent readers, with a deterministic original-code negative control and native connection stress coverage. Backport stable notify overflow signaling and remove the event-volume heuristic; defer rate-limited recovery without dropping it. Verified upstream source archives and compact patches document both runtime fixes. Core CI bounds cold fixture compiler concurrency without changing production deadlines or retrying tests.

    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.41.22-linux-x86_64.tar.gz
    Linux x86_64 (static/musl) code-index-v0.41.22-linux-x86_64-musl.tar.gz
    Linux ARM64 code-index-v0.41.22-linux-aarch64.tar.gz
    Windows x64 code-index-v0.41.22-windows-x86_64.zip

    First-party language packages

    Every archive carries code-index-packages/: the first-party language packages at the versions the package channel had published when this release was cut — de.h-dv.csharp-0.1.9 de.h-dv.javascript-0.1.3 de.h-dv.php-0.1.3 de.h-dv.python-0.1.4 de.h-dv.ruby-0.10.1 de.h-dv.rust-0.1.5 de.h-dv.typescript-0.1.3 — each signed by the key below and verified at the install door. code-index languages enable <lang> adopts the bundled package offline. A package is released by its own pkg/<id>/v<version> tag, whose release carries its .cip, .cips and digest, and code-index plugin update <id> reads the package channel, so a package fix reaches you without a new core release.

    These release binaries contain no native language parsers. Under auto, enabled languages use their approved packages. First start adopts bundled packages verified against this build's own publisher keys; existing approvals and enablement remain authoritative. If your project explicitly pins a language to builtin, switch it with code-index languages owner <lang> auto; an unavailable builtin is refused rather than silently ignored. To enable languages explicitly:

    code-index languages enable csharp
    code-index languages enable javascript
    code-index languages enable php
    code-index languages enable python
    code-index languages enable ruby
    code-index languages enable rust
    code-index languages enable typescript
    

    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 first-party package. 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.

    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