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.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
release: v1.0.0-rc.87
xerj-org9ef2574b415c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9939fef5c..ce233db87 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,10 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+## [1.0.0-rc.87] - 2026-10-07++### Performance++- **Phase-B bulk bodies are coalesced across files** (issue [#1147](https://github.com/xerj-org/xerj/issues/1147), PR [#1195](https://github.com/xerj-org/xerj/pull/1195), merged just past the rc.86 tag) — the per-file round-trip ceiling on corpus ingest, measured at ~10⁵ records/node-day on the ghsa-scale mirror class. Each file's records used to ship as their own `_bulk` body, so ingest throughput on a mirror of many single-record files was bounded by per-file round trips, not document volume. The shared bulk pipe now coalesces bodies across files: extraction and sending overlap, up to 8 bodies ride the wire at once (matching the server governor's `max_concurrent_bulks`), a worker about to park ships what is buffered once half the live workers are parked, the all-parked flush stays as the nothing-more-is-coming drain, and submit parks under backpressure when every wire slot is busy. Per-file ordering is preserved (a file's own cut chunks are sent synchronously by its worker). A/B'd on two corpus shapes with no regression — rustsec (1,965 files / 6,829 records): whole run 10.1 s → 9.7 s with phase B at parity; pysec (7,718 mostly-one-record files): 17.4 s → 16.9 s — and the structural win (one send per flush trigger, not one per file) shows at #1147's scale, which the standing corpus rebuild re-measures.+### Fixed- **`xerj corpus index` now proves the store answers a search before it says "searchable"** (issue- [#1183](https://github.com/xerj-org/xerj/issues/1183)) — a resume over an index left with a+ [#1183](https://github.com/xerj-org/xerj/issues/1183), PR+ [#1197](https://github.com/xerj-org/xerj/pull/1197)) — a resume over an index left with adangling segment by a killed finalize printed `corpus 'xerj-search' searchable: 642 records`and exited 0 while the store answered every `_search` — and the salvage path's own`delete_by_query` — with `store_exception: Segment … not found`. `_count` is metadata-only and@@ -29,7 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0queries. The finalize-catalog deadlock that produces the dangling segment (item 1 of #1183)remains open, tracked in the same issue.- **A request retrying after a transport error or a 5xx now says so on stderr** (part of issue- [#1183](https://github.com/xerj-org/xerj/issues/1183)) — the autoindex client's retry envelope+ [#1183](https://github.com/xerj-org/xerj/issues/1183), PR+ [#1199](https://github.com/xerj-org/xerj/pull/1199)) — the autoindex client's retry envelopeis bounded (six attempts at a 300 s request timeout each, ≈31 min worst case) but wascompletely silent on everything except HTTP 429, which is how the #1183 incident read as adeadlock: a finalize-catalog request against a memory-pressured node spent eight minutes inside@@ -42,7 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0`--quiet` stay silent. The server-side stall root cause (the reference node running at itsmemory breaker during large rebuilds) remains open under #1183 and the #1122 memory-ceilingclass.-- **A JSON record with no prose now carries a synthesized `text` passage, and a dataset that maps no text-searchable field says so at plan time** (the build-time half of issue [#1158](https://github.com/xerj-org/xerj/issues/1158); the query-time half — falling back to an index's own text-typed fields — shipped in rc.86). Raw-JSON corpora indexed as typed records (ids, enums, numbers, dates) were invisible to `xerj code` passage search: 36,263 GHSA advisories indexed to 193k records that answered `No passage matches` while the same index returned 10,000+ hits over its typed fields. Now a record whose flattened fields carry no prose-like string (≥ 24 chars and ≥ 4 tokens — below that a string is an id, an enum or a date, and maps `keyword`) gains a `text` passage rendered from its own fields (`key: value` lines, values capped at 256 chars, the passage at 4,096, scalar arrays joined so identifiers stay matchable); a record that already carries prose is left alone — the query side already searches it, and a rendered key/value soup would only outrank the real prose — and a record that owns a field named `text` keeps it untouched. Separately, any dataset whose sampled mapping contains no text-searchable field (a csv of enums, a keyword-only XML set) now warns at plan time: `dataset 'x' maps no text-searchable field — 'xerj code' passage search will find nothing in it (sampled fields: …)`, through the progress surface so `--quiet` stays silent. Scoped to the JSON family (whole-file and JSONL) — the measured class is raw-JSON mirrors; the same helper can ride the csv/yaml/xml data sites when a real corpus needs it. Existing state dirs re-provision their JSON datasets once to gain the field; every already-built corpus keeps working, and the 100 hub corpora are unaffected (their graded snapshots map standard fields).+- **A JSON record with no prose now carries a synthesized `text` passage, and a dataset that maps no text-searchable field says so at plan time** (the build-time half of issue [#1158](https://github.com/xerj-org/xerj/issues/1158), PR [#1200](https://github.com/xerj-org/xerj/pull/1200); the query-time half — falling back to an index's own text-typed fields — shipped in rc.86 as PR [#1185](https://github.com/xerj-org/xerj/pull/1185)). Raw-JSON corpora indexed as typed records (ids, enums, numbers, dates) were invisible to `xerj code` passage search: 36,263 GHSA advisories indexed to 193k records that answered `No passage matches` while the same index returned 10,000+ hits over its typed fields. Now a record whose flattened fields carry no prose-like string (≥ 24 chars and ≥ 4 tokens — below that a string is an id, an enum or a date, and maps `keyword`) gains a `text` passage rendered from its own fields (`key: value` lines, values capped at 256 chars, the passage at 4,096, scalar arrays joined so identifiers stay matchable); a record that already carries prose is left alone — the query side already searches it, and a rendered key/value soup would only outrank the real prose — and a record that owns a field named `text` keeps it untouched. Separately, any dataset whose sampled mapping contains no text-searchable field (a csv of enums, a keyword-only XML set) now warns at plan time: `dataset 'x' maps no text-searchable field — 'xerj code' passage search will find nothing in it (sampled fields: …)`, through the progress surface so `--quiet` stays silent. Scoped to the JSON family (whole-file and JSONL) — the measured class is raw-JSON mirrors; the same helper can ride the csv/yaml/xml data sites when a real corpus needs it. Existing state dirs re-provision their JSON datasets once to gain the field; every already-built corpus keeps working, and the 100 hub corpora are unaffected (their graded snapshots map standard fields).## [1.0.0-rc.86] - 2026-10-06diff --git a/ROADMAP.md b/ROADMAP.mdindex f42b012aa..4ff623d4a 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -2,16 +2,24 @@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-06 (against `v1.0.0-rc.86` 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.86 release-cut roll: the open-defects shortlist was-re-verified against the live tracker at cut time — **eleven open**+Last reviewed: 2026-10-07 (against `v1.0.0-rc.87` 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.87 release-cut roll: the open-defects shortlist was+re-verified against the live tracker at cut time — **nine open**(#1091 and #1094 from the rc.80 gate runs; #1100 from the console-review; #1147, the build-throughput class; #1158's build-time half;-#1122, reopened 2026-10-05 when the reference node died at its memory-ceiling with no panic line; #1170, the leader-wiring class filed from-the rc.83 3-node ring tests; #1173's throughput half; and three filed-from the corpus-program work since rc.85 — #1108 the detections gate,-#1110 the generalization proof, #1183 the finalize-catalog deadlock).-**Six closed inside the rc.86 window and recorded in the CHANGELOG, not+review; #1122, reopened 2026-10-05 when the reference node died at its+memory ceiling with no panic line; #1170, the leader-wiring class filed+from the rc.83 3-node ring tests; #1173's throughput half; and three+from the corpus-program work — #1108 the detections gate, #1110 the+generalization proof, and #1183, now diagnosed as a bounded-but-silent+client retry envelope whose client half is fixed and whose server-side+stall stays open).+**Two closed inside the rc.87 window and recorded in the CHANGELOG, not+carried here:** #1147 (the build-throughput class, PR+[#1195](https://github.com/xerj-org/xerj/pull/1195), merged just past+the rc.86 tag) and #1158 (both halves at last: the query-time half in+rc.86 by PR [#1185](https://github.com/xerj-org/xerj/pull/1185), the+build-time half by PR [#1200](https://github.com/xerj-org/xerj/pull/1200)).+The rc.86 cut's record stands as written: eleven open at that cut. **Six+closed inside the rc.86 window and recorded in the CHANGELOG, notcarried here:** #1109 (server-derived audit `actor` — PR[#1194](https://github.com/xerj-org/xerj/pull/1194)), #1189 and #1190(embed-mode proxy fail-closed and the unwired `batch_size` — PR@@ -72,7 +80,24 @@ The release-by-release record of how all of this landed is [CHANGELOG.md](./CHAN## Next release — [v1.0.0](https://github.com/xerj-org/xerj/milestone/2)-The GA window. **rc.86 was cut on 2026-10-06** — the+The GA window. **rc.87 was cut on 2026-10-07** — the corpus-index trust+window: phase-B bulk bodies are coalesced across files, removing the+per-file round-trip ceiling on corpus ingest (#1147, PR+[#1195](https://github.com/xerj-org/xerj/pull/1195), A/B'd on two corpus+shapes with no regression, merged just past the rc.86 tag);+`xerj corpus index` proves the store answers a search before it says+"searchable", and an unsearchable build is retired instead of switched+in (#1183's item 2, PR+[#1197](https://github.com/xerj-org/xerj/pull/1197)); a retrying client+request announces itself instead of reading as a deadlock (#1183 item+1's client half, PR+[#1199](https://github.com/xerj-org/xerj/pull/1199)); and a JSON record+with no prose gains a synthesized `text` passage, with a plan-time+warning for any dataset that maps no text-searchable field at all+(#1158's build-time half, PR+[#1200](https://github.com/xerj-org/xerj/pull/1200) — closing the issue,+its query-time half having shipped in rc.86). **rc.86 was cut on+2026-10-06** — theaudit-and-config honesty window: every audit entry now carries aserver-derived `actor` class (`user`/`machine`) that no client input caninfluence (#1109, PR [#1194](https://github.com/xerj-org/xerj/pull/1194)@@ -181,7 +206,7 @@ and the console review's), the #1062 wrong-and-confident detection gate, the`xerj-decide-v1` Hugging Face publication (operator credentials), and the GAbar itself — *The road to v1.0.0 GA* below.-**Open defects.** Ten, all live on the tracker — the+**Open defects.** Nine, all live on the tracker — theshortlist the release-notes gate checks. From the rc.80 gate runs:[#1091](https://github.com/xerj-org/xerj/issues/1091) (hybrid first stage13–26 s/query on the 57,638-doc FiQA index) and@@ -190,9 +215,7 @@ flywheel write-back freezes once the history index has BM25 support).From the rc.80 console knowledge-surface review:[#1100](https://github.com/xerj-org/xerj/issues/1100) (second-brainbelief-time frame rendered on non-note corpora). From the rc.81/82-windows: [#1158](https://github.com/xerj-org/xerj/issues/1158) (the-build-time half — the query-time half shipped in rc.86) and-[#1122](https://github.com/xerj-org/xerj/issues/1122) (reopened+windows: [#1122](https://github.com/xerj-org/xerj/issues/1122) (reopened2026-10-05 when the reference node died at its memory ceiling with nopanic line). From the cluster-mode testing:[#1170](https://github.com/xerj-org/xerj/issues/1170) (the Raft ring is@@ -216,11 +239,12 @@ carried here:** #1109, #1189, #1190, #1186, #1146 and #1092 (PRs[#1188](https://github.com/xerj-org/xerj/pull/1188),[#1177](https://github.com/xerj-org/xerj/pull/1177) and[#1184](https://github.com/xerj-org/xerj/pull/1184)). **Closed inside-the rc.87 window so far:** #1147 (corpus-index ingest throughput — the-per-file bulk round-trip ceiling, measured at ~10⁵ records/node-day;-fixed by PR [#1195](https://github.com/xerj-org/xerj/pull/1195), merged-2026-10-06 just past the rc.86 tag; its CHANGELOG entry lands with the-rc.87 notes). **Closed inside+the rc.87 window and recorded in the CHANGELOG, not carried here:**+#1147 (PR [#1195](https://github.com/xerj-org/xerj/pull/1195), merged+2026-10-06 just past the rc.86 tag) and #1158 (both halves — the+query-time half by PR [#1185](https://github.com/xerj-org/xerj/pull/1185)+in rc.86, the build-time half by PR+[#1200](https://github.com/xerj-org/xerj/pull/1200)). **Closed insidethe rc.83 window and recorded in the CHANGELOG, notcarried here:** #1136 (stale index generations surviving `--fresh` swaps —a state file with `index_prefix=null` queried all of them; fixed by PRdiff --git a/engine/Cargo.toml b/engine/Cargo.tomlindex 9425a94cb..b1674b81f 100644--- a/engine/Cargo.toml+++ b/engine/Cargo.toml@@ -22,7 +22,7 @@ members = [][workspace.package]-version = "1.0.0-rc.86"+version = "1.0.0-rc.87"edition = "2021"license = "Apache-2.0"authors = ["xerj Contributors"]