Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

release(rc.93): version stamp, CHANGELOG, ROADMAP roll, landing stamp

xerj-orgf0601c41397a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fcaf040c..8264e07df 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,90 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.0.0-rc.93] - 2026-10-08
+
+### Fixed
+
+- **The autoindex finalize-verify probe fell off the columnar fast path**
+ (issue [#1260](https://github.com/xerj-org/xerj/issues/1260), PR
+ [#1262](https://github.com/xerj-org/xerj/pull/1262)) — two walls sat between
+ the verify query shape (`bool.filter [terms …, exists <field>]`) and the fast
+ path: `exists` had no arm in the predicate compiler, and the deletes bail
+ keyed on the MONOTONIC `ghost_events` counter, so an index that had ever
+ seen an overwrite — the catalog is rewritten by every finalize-catalog —
+ never re-qualified, even after merges compacted every ghost away. `exists`
+ now compiles to a columnar predicate and admission is per-segment via the
+ ghost-position bitmap: empty bitmaps proceed (live == physical), dirty ones
+ still bail. Measured on the live 402,814-doc autoindex-catalog crawl node:
+ the per-digest probe ran 3.4 s on the pre-fix server and 2.7 ms warm on the
+ fixed one (~1,250×; the first post-restart probe pays an 8.8 s cold page-in,
+ verified to be one-time by a warm repeat). New integration file
+ `fast_aggs_exists_and_deletes.rs`: six tests pinning fast-path/brute
+ agreement across present / JSON-null / absent / empty-string exists shapes,
+ the meta-field bail, the unmerged-ghost bail, merged-history re-qualify,
+ and object-valued memtable docs. The served/bailed assertions read the
+ process-global `FAST_PATH_AGGS_SERVED` counter as a before/after delta, and
+ CI run 37816544794 caught the six tests racing on it — the file now
+ serializes behind one tokio Mutex (the engine half was never implicated:
+ serialized, the meta-field query bails exactly as required).
+
+- **`pack publish` could not survive a same-day rebuild under immutable
+ releases** (PR [#1268](https://github.com/xerj-org/xerj/pull/1268)) — the
+ re-run path deleted today's PUBLISHED pack release and recreated the same
+ tag, but a burned tag can never name another release (run 37826006767 hit
+ the exact 36358399114 error pair and left the day without a published
+ rust-vulns pack; repaired by hand under `-r2`). Both pack jobs now pick the
+ first unused tag (date, then `-r2`, `-r3`, … by release + git-ref probe),
+ retag past an immutable-release refusal instead of failing, and never
+ delete a published release for a rebuild. The retention step also finally
+ works: `gh release list --json` was an unsupported flag, so it had silently
+ matched zero releases since M6 — it now sorts by `created_at` via the API
+ (a `-r2` suffix breaks lexicographic tag order) and includes abandoned
+ drafts.
+
+### Performance
+
+- **The finalize-verify barrier read back one changed group at a time — three
+ serial searches per file** (PR
+ [#1259](https://github.com/xerj-org/xerj/pull/1259), the #1183 count lane)
+ — cve-records projected ~50 h and vuln-fix-commits ~120 h of verify tail
+ against index phases measured in hours. Verify now batches per (index ×
+ 1,024 content digests): record windows (terms filter + exact terms
+ aggregation) run 63 ms cold / 6 ms warm on the columnar fast path, the
+ catalog leg `_source`-restricted paged fetch-count runs 31 ms cold / 14 ms
+ warm, delete-aware, with mid-window total changes and count/total
+ mismatches failing loud. ~1.2 M serial searches collapse to ~800 windows
+ for cve-records. Failure messages and the first-disagreement group are
+ unchanged; the progress denominator is now windows, so the line never sits
+ at `0/N` for a walk's duration. `cargo test -p xerj-autoindex --lib`:
+ 1299 passed, 0 failed. First live proof: the vuln-fix-commits rebuild
+ completed on this client — 328,891 records, 97 batched windows verified.
+
+### Added
+
+- **`agent-session-trajectories`, the first external-contributor corpus pack**
+ (PRs [#1263](https://github.com/xerj-org/xerj/pull/1263),
+ [#1265](https://github.com/xerj-org/xerj/pull/1265); recipe and stats on
+ corpus-hub in #1255 and #1264) — 70 sanitized multi-session agent
+ trajectories from chunxiaoxx / Nautilus (demand anchored to #1138, wishlist
+ slot #1210), CC-BY-4.0, 70 envelopes → 70 records with failure turns kept
+ verbatim. The pack ships with its own ed25519 keypair: `.pub` committed at
+ `tools/packs/keys/agent-session-trajectories.pub`, the seed as the
+ `PACK_SIGNING_SEED_AST` Actions secret, and a dedicated job in the
+ scheduled `pack publish` workflow — build, sign, consumer-path verify
+ against the committed key, dated immutable release. First release
+ `pack-agent-session-trajectories-2026-10-08` published and consumer-
+ verified from the public release URL (70 records, signature checked against
+ the `raw.githubusercontent.com` key).
+- **`vuln-fix-commits` live on the hub with graded evidence** (corpus-hub PR
+ #1266) — project-kb fix commits: 328,891 records, 97 batched verify windows
+ passed, and the pre-registered G7 suite blind-graded 4/5 PASS (three
+ rank-1 needle hits, one rank-3, one miss where the 2020-era sleuthkit
+ `yaffsfs_istat` payload lost to newer buffer-overflow payloads on generic
+ terms). Graded evidence committed at
+ `tools/xerj-code/hub/backlog/g7-vuln-fix-commits-2026-10-08-graded.json`.
+ The hub stands at 103 manifests / 105 live rows.
+
## [1.0.0-rc.92] - 2026-10-08
### Fixed
diff --git a/ROADMAP.md b/ROADMAP.md
index 4069797cb..73296fb1e 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -2,11 +2,37 @@
This roadmap tracks capabilities that are **planned but not yet fully implemented**, so the project's public claims stay honest about what ships today versus what is coming. Status is verified against the actual code and by real API requests to the release binary, not aspirational.
-Last reviewed: 2026-10-08 (against `v1.0.0-rc.92` and `main`). Statuses trace to issues, merged PRs, the CHANGELOG, and the conformance suite; items carried forward from the 2026-07-12 review without fresh live verification are marked as such. This review line is machine-checked: `docs_capability_lists` fails the build if a release is cut without re-reviewing this file (issue #298 — closed as abandoned 2026-09-29; the machine check, not the issue, enforces the cadence now). This pass is the rc.92 release-cut roll:
+Last reviewed: 2026-10-08 (against `v1.0.0-rc.93` and `main`). Statuses trace to issues, merged PRs, the CHANGELOG, and the conformance suite; items carried forward from the 2026-07-12 review without fresh live verification are marked as such. This review line is machine-checked: `docs_capability_lists` fails the build if a release is cut without re-reviewing this file (issue #298 — closed as abandoned 2026-09-29; the machine check, not the issue, enforces the cadence now). This pass is the rc.93 release-cut roll:
the open-defects shortlist was re-verified against the live tracker at
-cut time — **twelve open**, the ten carried from rc.91 (#1094, #1100,
-#1122, #1170, #1173, #1108, #1110, #1183, #1212, #1226) plus two filed
-inside the window. #1250 (multi-index ingest oscillating on the memory
+cut time — **twelve open**, the ten carried from rc.92 (#1094, #1100,
+#1122, #1170, #1173, #1108, #1110, #1183, #1212, #1226) plus #1250 and
+#1267, the slow-query population filed inside this window. #1260 was
+filed and closed inside the window (PR
+[#1262](https://github.com/xerj-org/xerj/pull/1262)): the per-digest
+`bool.filter [term ax_file, exists]` probe fell off the columnar fast
+path — `exists` had no compiler arm and the deletes bail keyed on a
+monotonic ghost counter so a rewritten index never re-qualified — and
+measured 3.4 s → 2.7 ms warm (~1,250×) on the restarted crawl node.
+#1267 carries what #1260 did not reach: the finalize-catalog read-back
+walk (`term run_id` + `_id` sort, 641 pages ≈ 35 min whenever a resume
+rewrote the whole catalog) and the doc-lane residual — verify windows
+with `size > 0` still brute-scan, 7–81 s per data index, and one
+exceeded the client's 300 s request budget on the cve resume. The
+#1183 count lane landed twice in this window:
+[#1259](https://github.com/xerj-org/xerj/pull/1259) batched the verify
+read-backs (~1.2 M serial searches → ~800 windows; record windows
+63 ms cold / 6 ms warm) and
+[#1262](https://github.com/xerj-org/xerj/pull/1262) columnarized
+`exists`; the vuln-fix-commits rebuild completed on it (328,891
+records, 97 batched windows verified) and its pre-registered G7 graded
+4/5 PASS, so #1244's completion condition now rides the cve-records
+rebuild alone, in flight at cut time. The rc.92 cut's record stands as
+written: twelve open at that cut — with the correction that #1254 was
+closed by that window's own
+[#1258](https://github.com/xerj-org/xerj/pull/1258) merge (the
+auto-close fired at 655ea93ec, 42 minutes before the tag; the cut's
+"stays open" note predates the close), so its `code_files=0` labeling
+remainder is not an open tracker. #1250 (multi-index ingest oscillating on the memory
breaker) had its attribution corrected the same day it was filed: the
rejecting breaker is the boot-time tiered process cap (95% watermark),
not the live-settable `max_query_memory_mb`, and the mitigation is the
@@ -36,8 +62,10 @@ one closed verified inside the window (#1238, PR
measured mechanism (the 2026-10-08 comment table: finalize-verify pays
1.2 s bare / ~14 s term+exists per uncached `ax_file` value on the
572,992-doc index; the scored lane was fixed by rc.91's
-[#1234](https://github.com/xerj-org/xerj/pull/1234), the count lane is
-the remaining half) and its completion condition: a full xerj-search
+[#1234](https://github.com/xerj-org/xerj/pull/1234), and this window's
+[#1259](https://github.com/xerj-org/xerj/pull/1259) +
+[#1262](https://github.com/xerj-org/xerj/pull/1262) landed the count
+lane) and its completion condition: a full xerj-search
rebuild passing finalize with verified numbers.
**Two closed inside the rc.87 window and recorded in the CHANGELOG, not
carried here:** #1147 (the build-throughput class, PR
@@ -240,20 +268,19 @@ ingest oscillates on the parent RSS breaker; root cause re-attributed
same-day to the boot-time tiered process cap, mitigation the
`XERJ_MAX_PROCESS_MEMORY_MB` restart, and the same cap drives an idle
flush loop measured at 644/858 GB of writes) and
-[#1254](https://github.com/xerj-org/xerj/issues/1254) (the `text^0.5`
-recall-leg weight — the #1238 calibration — makes a text-PRIMARY corpus
-invisible: otel-proto's `.proto` definitions ARE indexed, 79 records,
-but four G7 needles ranked 19/absent/39/23 behind prose; two earlier
-mechanisms, absence and chunk-splitting, were each retracted by
-measurement. The corpus-declared `query.text_weight` fix
-([#1258](https://github.com/xerj-org/xerj/pull/1258)) moved all four
-needles to rank 1 on unchanged index bytes and the suite re-graded 5/5;
-the issue stays open for the `code_files=0` terminal-line labeling
-gap).
+[#1267](https://github.com/xerj-org/xerj/issues/1267) (the finalize
+slow-query residual after #1260: the catalog_generation read-back walk
+brute-pages `term run_id` + `_id` sort at ~5.2 s per 1,000-doc page —
+641 pages ≈ 35 min on the 402,814-doc catalog whenever a resume
+rewrote everything — and doc-shaped verify windows with `size > 0`
+still brute-scan the data indexes at 7–81 s per window, one exceeding
+the client's 300 s budget mid-crawl).
[#1244](https://github.com/xerj-org/xerj/issues/1244) (the `xerj code`
own-field recall legs and the multi-family family-route gate both
merged in rc.92; the issue stays open until the pre-registered G7
-suites pass on the rebuilt corpora). From the rc.80 gate runs:
+suites pass on the rebuilt corpora — vuln-fix-commits passed at cut
+time: 328,891 records, 97 batched windows, G7 blind-graded 4/5; the
+cve-records rebuild was in flight). From the rc.80 gate runs:
[#1094](https://github.com/xerj-org/xerj/issues/1094) (decision
flywheel write-back freezes once the history index has BM25 support).
From the rc.80 console knowledge-surface review:
@@ -293,6 +320,14 @@ load — mostly reframed by #1227: those latencies were the unconditional
no-match flush that #1225 and #1227 removed the callers of; what stays
open is the flush itself under concurrent bulk load, measured 14–16 s on
the corpus-builder node).
+**Closed inside the rc.93 window and recorded in the CHANGELOG, not
+carried here:** #1260 (per-digest `exists` probes fell off the
+columnar fast path: columnar `exists` + per-segment ghost-bitmap
+admission, 3.4 s → 2.7 ms warm on the live crawl node, PR
+[#1262](https://github.com/xerj-org/xerj/pull/1262)) and #1254 (closed
+by the rc.92 window's own #1258 merge — the auto-close fired at
+655ea93ec, 42 minutes before the rc.92 tag; the rc.92 roll's "stays
+open" note predates the close, so it is de-linked here).
**Closed inside the rc.91 window and recorded in the CHANGELOG, not
carried here:** #1238 (one sibling repo could fill a whole `xerj code`
page — every hit a different file, so the #1137 per-file cap could not
diff --git a/engine/Cargo.lock b/engine/Cargo.lock
index 3705befc8..3c6e674a0 100644
--- a/engine/Cargo.lock
+++ b/engine/Cargo.lock
@@ -7236,7 +7236,7 @@ dependencies = [
[[package]]
name = "xerj-ai"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"candle-core",
@@ -7259,7 +7259,7 @@ dependencies = [
[[package]]
name = "xerj-api"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"argon2",
@@ -7294,7 +7294,7 @@ dependencies = [
[[package]]
name = "xerj-autoindex"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"aws-sdk-s3",
@@ -7369,7 +7369,7 @@ dependencies = [
[[package]]
name = "xerj-cluster"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"async-trait",
@@ -7394,7 +7394,7 @@ dependencies = [
[[package]]
name = "xerj-common"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"byteorder",
@@ -7414,7 +7414,7 @@ dependencies = [
[[package]]
name = "xerj-compress"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"byteorder",
"bytes",
@@ -7427,7 +7427,7 @@ dependencies = [
[[package]]
name = "xerj-console-api"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"arc-swap",
@@ -7463,7 +7463,7 @@ dependencies = [
[[package]]
name = "xerj-engine"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"arc-swap",
@@ -7518,7 +7518,7 @@ dependencies = [
[[package]]
name = "xerj-fts"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"bitpacking",
@@ -7545,7 +7545,7 @@ dependencies = [
[[package]]
name = "xerj-logs"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"byteorder",
@@ -7563,7 +7563,7 @@ dependencies = [
[[package]]
name = "xerj-mcp"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"reqwest",
@@ -7577,7 +7577,7 @@ dependencies = [
[[package]]
name = "xerj-query"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"base64 0.22.1",
@@ -7592,7 +7592,7 @@ dependencies = [
[[package]]
name = "xerj-rerank"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"reqwest",
"serde",
@@ -7606,7 +7606,7 @@ dependencies = [
[[package]]
name = "xerj-server"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"axum",
@@ -7655,7 +7655,7 @@ dependencies = [
[[package]]
name = "xerj-storage"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"arc-swap",
@@ -7688,7 +7688,7 @@ dependencies = [
[[package]]
name = "xerj-vector"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"byteorder",
@@ -7706,7 +7706,7 @@ dependencies = [
[[package]]
name = "xerj-wasm"
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
dependencies = [
"anyhow",
"bytes",
diff --git a/engine/Cargo.toml b/engine/Cargo.toml
index 2d97a63b6..d579f8f29 100644
--- a/engine/Cargo.toml
+++ b/engine/Cargo.toml
@@ -22,7 +22,7 @@ members = [
]
[workspace.package]
-version = "1.0.0-rc.92"
+version = "1.0.0-rc.93"
edition = "2021"
license = "Apache-2.0"
authors = ["xerj Contributors"]
diff --git a/landing/index.html b/landing/index.html
index 134bd6226..71ce584c1 100644
--- a/landing/index.html
+++ b/landing/index.html
@@ -175,7 +175,7 @@
<a href="/docs/recipes/">RECIPES</a>
<a href="/playground">DASHBOARDS</a>
<a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>
- <a class="nav-dl" href="https://github.com/xerj-org/xerj/releases/latest" rel="external" title="Download the latest XERJ release">↓ <span data-latest-tag>v1.0.0-rc.92</span></a>
+ <a class="nav-dl" href="https://github.com/xerj-org/xerj/releases/latest" rel="external" title="Download the latest XERJ release">↓ <span data-latest-tag>v1.0.0-rc.93</span></a>
<span class="theme">
<button type="button" data-theme="day" class="active">DAY</button>
<span class="dash">·</span>