• v0.41.23 2141723edf

    code-index v0.41.23
    All checks were successful
    Pilot plugin compatibility / Pilot scope (push) Successful in 25s
    CI / cargo fmt (push) Successful in 33s
    CI / OSS corpus tier-3 scale (nightly) (push) Has been skipped
    CI / Grammar rebuild from source (nightly) (push) Has been skipped
    Package CI / changes (which packages this run must test) (push) Successful in 46s
    Package CI / package suites (clippy) (push) Has been skipped
    Package CI / package (csharp) (push) Successful in 10s
    CI / changes (what this run must test) (push) Successful in 56s
    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 / guest crates (fmt, clippy, doc) (push) Has been skipped
    CI / cargo doc (intra-doc links) (push) Has been skipped
    Package CI / package (vue) (push) Successful in 15s
    CI / OSS corpus (tier 1) (push) Has been skipped
    CI / cargo test (push) Has been skipped
    CI / cargo test (daemon transport) (push) Has been skipped
    Package CI / package (rust) (push) Successful in 10s
    Release Build / Generate Version (push) Successful in 29s
    Package CI / package (timeline) (push) Successful in 18s
    Package CI / package (javascript) (push) Successful in 19s
    CI / Plugin path cost + pool throughput (nightly) (push) Has been skipped
    Package CI / package-corpus (python) (push) Successful in 18s
    CI (Windows) / changes (what this run must test) (push) Successful in 1m11s
    Package CI / package (typescript) (push) Successful in 23s
    Package CI / package (xaml) (push) Successful in 18s
    CI (Windows) / fmt + clippy + build + test (windows) (push) Has been skipped
    Package CI / package (svelte) (push) Successful in 27s
    Package CI / package (python) (push) Successful in 28s
    Package CI / package (php) (push) Successful in 37s
    Package CI / package-corpus (csharp) (push) Successful in 35s
    Package CI / package-corpus (timeline) (push) Successful in 25s
    Package CI / package-corpus (rust) (push) Successful in 31s
    Package CI / package-corpus (javascript) (push) Successful in 44s
    Package CI / package-corpus (typescript) (push) Successful in 31s
    Package CI / package-corpus (svelte) (push) Successful in 40s
    Package CI / package-corpus (ruby) (push) Successful in 45s
    Package CI / package (ruby) (push) Successful in 54s
    Package CI / package-corpus (php) (push) Successful in 54s
    Pilot plugin compatibility / Fetch the pinned runtime once (push) Successful in 1m23s
    Package CI / package-corpus (vue) (push) Successful in 43s
    Package CI / package-corpus (xaml) (push) Successful in 51s
    Package CI / package overhead budgets (nightly, one package at a time) (push) Has been skipped
    Release Build / Required CI green (push) Successful in 1m56s
    Pilot plugin compatibility / Pilot compatibility (timeline) (push) Successful in 49s
    Pilot plugin compatibility / Pilot compatibility (csharp) (push) Successful in 1m11s
    Pilot plugin compatibility / Pilot compatibility result (push) Successful in 1s
    Release Build / Build linux-aarch64 (push) Successful in 12m47s
    Release Build / Build linux-x86_64-musl (push) Successful in 16m57s
    Release Build / Build linux-x86_64 (push) Successful in 17m40s
    Release Build / Build windows-x86_64 (push) Successful in 24m2s
    Release Build / Assemble the release archives (push) Successful in 3m59s
    Release Build / Windows archive smoke (msvc) (push) Successful in 49s
    Release Build / Create Forgejo Release (push) Successful in 5m28s
    Release Build / Seed the package channel (push) Successful in 2m59s
    Stable

    buildagent released this 2026-10-29 10:45:49 +01:00 | 682 commits to master since this release

    code-index v0.41.23

    Build: v0.41.23+1961

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

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

    • Remove quadratic qualifier and alias scans: pin selective package-tail joins, reuse named file candidates across anchor arms, and use the existing file-local import index. The default 100,000-file fixture completes indexing in 164 seconds locally; deterministic VM-instruction scaling and promotion/rollback checks cover the regression.

    • Record the reduced SQLite work across all seven pinned corpora using the existing cost-baseline writer. All 12 cost tests and 9 content-ratchet tests pass; cost bands, absolute floors, engine/schema identity and corpus population remain unchanged.

    • Reduce warm indexing writes: retain identical complete module-map snapshots and grant each claimed or delegated component once per pass. Manifest changes, changed answers, partial/refused layouts and grant revocation remain effective.

    • Measure native/Wasm mixed-load ceilings in the existing serial timing lane after the heavy jobs; preserve the original tier-3 JSON inputs and ratio limit.

    • Run manual performance qualification in one job using the existing package budgets and mixed-load benchmark, without repeating package/corpus prerequisite matrices.

    • Wait up to 30 minutes for quiet visible runner capacity before Linux timing tests and CI overhead measurements; retain the idle threshold, stable interval, original five paired samples and test deadlines.

    • Apply the operator-approved performance headroom: C# cold allowance 1.0 s and warm ratio 1.15; PHP cold allowance 0.6 s. Other language limits and the cold proportional factor remain unchanged; report the applicable warm limit with each measurement.

    • Windows CI reclaims its completed debug profile before release smoke compilation and cleans its own completed target under disk pressure.

    • Wait for the daemon lifecycle verdict after a durable activation rejection before checking release acceptance; retain the original deadline and verify the retained active generation and facts.

    • Run the worker retirement/reaping measurement in the existing serial timing lane with its original 20-second bound, kernel/count controls and next-edit respawn checks.

    • 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 core 0.41.22 or later 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 and the approved five-pair plugin overhead budgets and the unchanged mixed-load ceiling 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.23-linux-x86_64.tar.gz
    Linux x86_64 (static/musl) code-index-v0.41.23-linux-x86_64-musl.tar.gz
    Linux ARM64 code-index-v0.41.23-linux-aarch64.tar.gz
    Windows x64 code-index-v0.41.23-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.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 — 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