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.

Merge origin/main into release/rc99

Cursor Agent731e701725b3
diff --cc CHANGELOG.md
index e9fceb062,b9e8eaeb3..7087309f6
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -7,81 -7,36 +7,105 @@@ and this project adheres to [Semantic V
## [Unreleased]
+## [1.0.0-rc.99] - 2026-10-23
+
- Window since v1.0.0-rc.98: 82 merged pull requests. x86_64 release binaries
++Window since v1.0.0-rc.98: 91 merged pull requests. x86_64 release binaries
+run on CPUs without AVX2. Cluster mode replicates index metadata, routes a
- document write to the primary named at create, and copies an acknowledged
- write onto replicas placed at create; [#1170](https://github.com/xerj-org/xerj/issues/1170)
++document write to the primary named at create, copies an acknowledged write
++onto replicas placed at create, and acknowledges that write once a quorum of
++the copies has confirmed; [#1170](https://github.com/xerj-org/xerj/issues/1170)
+stays open. `ctutils` 0.4.5 closes RUSTSEC-2026-0385. Autoindex, corpus and
+search fixes landed, including partial work on
- [#1122](https://github.com/xerj-org/xerj/issues/1122). MCP gained local
- definition lookup. Contributors in this window: Jarvis636431, Tong-bit-art,
++[#1122](https://github.com/xerj-org/xerj/issues/1122); that issue stays open.
++MCP gained local definition lookup. A DeepSeek Harness profile bundle ships
++in `dsh/`. Contributors in this window: Jarvis636431, Tong-bit-art,
+redwolf2019, ArkNill, pallidev, samuelmbabhazi, elewashy, WYSTAF, kamwoh,
+mgtf and mariomarcolongo.
+
+### Security
+
+- **`ctutils` 0.4.5** (RUSTSEC-2026-0385, published 2026-10-23). `Choice`
+ mask generation and 32-bit `u128` comparisons before 0.4.4 can branch on
+ secret values. Nothing in the workspace names the crate. It is transitive:
+ `digest` 0.11 depends on `ctutils ^0.4`, and that line is what `sha1`
+ 0.11, `sha2` 0.11, `hmac` 0.13 and `md-5` use, reaching `xerj-autoindex`
+ and `xerj-storage` through the AWS SDK checksum path and `pdf_oxide`.
+ `cargo update -p ctutils` locked 0.4.5 (0.4.4 is the advisory floor).
+ `cmov` stayed at 0.5.4. Lockfile only (PR
+ [#2268](https://github.com/xerj-org/xerj/pull/2268)).
+
### Added
- - Cluster replication, three slices of
-- With `[cluster] enabled = true`, a single-document index or delete is
- acknowledged when a quorum of the shard's copies has confirmed, not only
- when every placed replica has. Copies are the primary plus the replicas
- named by `index.number_of_replicas` at create. A quorum is
- `copies / 2 + 1`, and the primary already counts, so one replica out of
- two is enough. The replica that did not confirm is removed from the
- in-sync set through the Raft log and is not used for a later read. Nothing
- replays the writes it missed, so it stays out. `number_of_replicas` 0 or 1
- is unchanged: there is no replica to wait for, or that one replica must
- confirm. Fewer confirmations than the quorum is still HTTP 503
- `replica_not_acknowledged` — the primary has the write, and retrying the
- index copies it to the replicas still in sync. There is still no
- `wait_for_active_shards`, no replica promotion, and no snapshot catch-up
- for a node that missed the log (part of
- [#1170](https://github.com/xerj-org/xerj/issues/1170)). Single-node mode
- does not take this path.
-
-- A DeepSeek Harness profile bundle in `dsh/` (`xerj-dsh`, Apache-2.0)
- inserts the README's `mcp-xerj` stdio row via
- `@deepseek-ai/dsh-mcp-client`. The row is still untested on DSH.
- `landing/brandbook/xerj-mark-400.png` is a 400×400 PNG of the letter
- mark for directory submissions.
-
-- MCP `xerj_def` exposes local definition lookup, completing #2080 after the
- `xerj_search` prefix support. It shares `xerj def --json` query construction,
- mapping guards, ranking and location deduplication; accepts `symbol`,
- `prefix`/`index`, `kind`, `lang`, `k` (1–50) and `max_tokens`. No match is a
- successful empty hit list; invalid arguments are rejected before HTTP.
++- Cluster replication, four slices of
+ [#1170](https://github.com/xerj-org/xerj/issues/1170). The issue stays
+ open. With `[cluster] enabled = false` every one of these paths is the
+ previous local call.
+ - Index create, delete, mapping and settings are proposed through the Raft
+ log. The HTTP call succeeds only after this node has applied the
+ committed entry. A follower forwards to the leader. No elected leader, a
+ timeout, or leadership lost before commit is HTTP 503, and the index is
+ not created locally. The accepting node applies index templates once and
+ replicates the effective schema. Console system indices created before
+ the handle is attached stay local. Document writes stay on the accepting
+ node. The server still does not open `FileRaftLog` (PR
+ [#2257](https://github.com/xerj-org/xerj/pull/2257)).
+ - The create entry names one primary per member (member ids sorted, shard
+ `i` on the `i`th). `PUT` / `POST /{index}/_doc`, `PUT /{index}/_create/{id}`,
+ `GET` and `DELETE /{index}/_doc/{id}` run on that primary. A search of
+ one concrete index asks every owner and merges hits by per-shard score,
+ then applies `from` / `size`. A forward that fails is 503 and is not
+ also written locally (PR
+ [#2271](https://github.com/xerj-org/xerj/pull/2271)).
+ - `index.number_of_replicas` at create (nested, flat or dotted; absent
+ means 0) places that many copies, capped at `members - 1`, in a hidden
+ `.xerj_replica_{index}_{shard}` index so a search of the user index does
- not count the copy twice. After a successful primary index or delete,
- the primary copies the write to every placed replica before the caller
- is acknowledged. A replica that does not confirm is 503
- `replica_not_acknowledged`: the primary has the write, and retrying the
- index finishes the copy. GET, and a search whose primary does not
- answer, read a replica. There is no promotion: a write still needs the
- primary. A later `PUT /{index}/_settings` stores a new replica count and
- does not move copies (PR
- [#2287](https://github.com/xerj-org/xerj/pull/2287)).
- - What #1170 still does not do: quorum and `wait_for_active_shards` (this
- waits for every placed replica); relocating or backfilling when the
- replica count changes after create; `_bulk`, `_update`, update-by-query
- and native `/v1` ingest (they do not route or replicate); merging
- aggregations, suggest, collapse, rescore, profile, `search_after` or
- scroll across owners; snapshot install; opening `FileRaftLog` (a restart
- drops the in-memory plan, so later writes are not routed and surviving
- replica bytes are not served); node-lifecycle APIs.
++ not count the copy twice. This pull request waited for every placed
++ replica before acknowledging the caller. The next slice acknowledges a
++ quorum instead. GET, and a search whose primary does not answer, read a
++ replica. There is no promotion: a write still needs the primary. A later
++ `PUT /{index}/_settings` stores a new replica count and does not move
++ copies (PR [#2287](https://github.com/xerj-org/xerj/pull/2287)).
++ - With `[cluster] enabled = true`, a single-document index or delete is
++ acknowledged when a quorum of the shard's copies has confirmed, not only
++ when every placed replica has. Copies are the primary plus the replicas
++ named by `index.number_of_replicas` at create. A quorum is
++ `copies / 2 + 1`, and the primary already counts, so one replica out of
++ two is enough. The replica that did not confirm is removed from the
++ in-sync set through the Raft log and is not used for a later read.
++ Nothing replays the writes it missed, so it stays out.
++ `number_of_replicas` 0 or 1 is unchanged: there is no replica to wait
++ for, or that one replica must confirm. Fewer confirmations than the
++ quorum is still HTTP 503 `replica_not_acknowledged`: the primary has the
++ write, and retrying the index copies it to the replicas still in sync.
++ Single-node mode does not take this path (PR
++ [#2303](https://github.com/xerj-org/xerj/pull/2303)). #1170 stays open:
++ there is still no `wait_for_active_shards`, no replica promotion, and no
++ snapshot catch-up for a node that missed the log.
++ - What #1170 still does not do: `wait_for_active_shards`; relocating or
++ backfilling when the replica count changes after create; `_bulk`,
++ `_update`, update-by-query and native `/v1` ingest (they do not route or
++ replicate); merging aggregations, suggest, collapse, rescore, profile,
++ `search_after` or scroll across owners; snapshot install; opening
++ `FileRaftLog` (a restart drops the in-memory plan, so later writes are
++ not routed and surviving replica bytes are not served); replica
++ promotion; replaying a dropped replica back into the in-sync set;
++ node-lifecycle APIs.
++
++- A DeepSeek Harness profile bundle in `dsh/` (`xerj-dsh`, Apache-2.0,
++ version `1.0.0-rc.99`) inserts the README's `mcp-xerj` stdio row via
++ `@deepseek-ai/dsh-mcp-client` at 0.2.1-rc.3. The row is still untested on
++ DSH. The English, Korean and Simplified Chinese READMEs link the bundle.
++ `landing/brandbook/xerj-mark-400.png` is a 400×400 PNG of the letter mark
++ for directory submissions (PR
++ [#2298](https://github.com/xerj-org/xerj/pull/2298)).
+
+- MCP `xerj_def` exposes local definition lookup, completing
+ [#2080](https://github.com/xerj-org/xerj/issues/2080) (PR
+ [#2166](https://github.com/xerj-org/xerj/pull/2166), Jarvis636431). It
+ shares `xerj def --json` query construction, mapping guards, ranking and
+ location deduplication; accepts `symbol`, `prefix`/`index`, `kind`,
+ `lang`, `k` (1–50) and `max_tokens`. No match is a successful empty hit
+ list; invalid arguments are rejected before HTTP.
- MCP `xerj_search` accepts `prefix` as an alternative to `index`, matching
`xerj search --prefix`: `project` searches `project-*`. Conflicting scope
@@@ -92,20 -45,49 +116,84 @@@
### Fixed
+ - An existing index's persisted `index.default_pipeline` runs again after a
- clean restart. `GET /_settings` still reported the binding, and the
- pipeline definition was still there, but an ordinary document write no
- longer copied the field: the in-memory binding was filled on create and
- on settings update, and opening the index from disk did not rebuild it.
- Boot, a failed-index retry, and snapshot restore now copy `settings.json`
- back into that map. Explicit `?pipeline=` was already unaffected
- ([#2294](https://github.com/xerj-org/xerj/issues/2294)).
-
-- `xerj autoindex` no longer aborts the node on one large JSON file (#1122).
- A bulk whose analysis would cross the memory watermark is rejected with
- HTTP 429 before the documents are parsed, so several in-flight bulks cannot
- allocate their token strings together. Uncompressed JSON larger than 64 MiB
- is read one value at a time; a value over the fixed 8 MiB document ceiling
++ clean restart
++ ([#2294](https://github.com/xerj-org/xerj/issues/2294), PR
++ [#2296](https://github.com/xerj-org/xerj/pull/2296)). `GET /_settings` still
++ reported the binding, and the pipeline definition was still there, but an
++ ordinary document write no longer copied the field: the in-memory binding
++ was filled on create and on settings update, and opening the index from
++ disk did not rebuild it. Boot, a failed-index retry, and snapshot restore
++ now copy `settings.json` back into that map. Explicit `?pipeline=` was
++ already unaffected.
++
++- A bulk reserves memory for its tokens before the documents are parsed, and
++ uncompressed JSON larger than 64 MiB is streamed one value at a time. This
++ improves [#1122](https://github.com/xerj-org/xerj/issues/1122); the issue
++ stays open (PR [#2302](https://github.com/xerj-org/xerj/pull/2302)). A bulk
++ whose analysis would cross the memory watermark is rejected with HTTP 429
++ before the documents are parsed, so several in-flight bulks cannot allocate
++ their token strings together. A value over the fixed 8 MiB document ceiling
+ is skipped with a note that names the file, its size, and that
+ `--max-file-mb` and `limits.max_process_memory_mb` do not raise that
- ceiling. A file over the scan cap names its size and `--max-file-mb`.
++ ceiling. A file over the scan cap names its size and `--max-file-mb`. The
++ memory-ceiling class and the WSL2 VM death are not addressed.
+
+ - `POST /{index}/_refresh` makes recent writes searchable without waiting for
+ a background segment merge to finish, and a multi-index or wildcard refresh
- is not serialized behind one busy index. The route used to call the
- durability flush (snapshot fsync and WAL prune) once per index; autoindex
- finalize sent that as one `POST /<prefix>-*/_refresh` and stalled at the
- end of the run when a large matching index had a merge in progress.
++ is not serialized behind one busy index
++ ([#2234](https://github.com/xerj-org/xerj/issues/2234), PR
++ [#2245](https://github.com/xerj-org/xerj/pull/2245)). The route used to call
++ the durability flush (snapshot fsync and WAL prune) once per index;
++ autoindex finalize sent that as one `POST /<prefix>-*/_refresh` and stalled
++ at the end of the run when a large matching index had a merge in progress.
+ `_refresh` now publishes an unflushed memtable and returns immediately when
+ the memtable is already empty. `_flush` is unchanged and still checkpoints
+ the WAL. A merge encode no longer occupies a tokio blocking thread for the
+ whole encode, so a refresh that does have to publish a segment is not
+ queued behind that merge. Autoindex finalize refreshes each dataset index
+ (and the edges index) on its own, names the index it is waiting on, and
- does not retry a timed-out refresh
- ([#2234](https://github.com/xerj-org/xerj/issues/2234)).
++ does not retry a timed-out refresh.
+
+ - Neural `xerj autoindex` prints an estimated embedding time before ingest,
+ from a probe measured when the neural model loads and the bytes of files
- that feed a `semantic_text` dataset. The line names no duration when the
- probe did not run, and it points at the faster lexical default.
- `--embed-mode` help and the startup warning state that the mode is fixed
- per index at ingest and that changing it requires a re-index. Creating or
- updating a mapping warns when `inference_id`, `model_id`, or
++ that feed a `semantic_text` dataset
++ ([#1612](https://github.com/xerj-org/xerj/issues/1612), PR
++ [#2250](https://github.com/xerj-org/xerj/pull/2250)). The line names no
++ duration when the probe did not run, and it points at the faster lexical
++ default. `--embed-mode` help and the startup warning state that the mode
++ is fixed per index at ingest and that changing it requires a re-index.
++ Creating or updating a mapping warns when `inference_id`, `model_id`, or
+ `inference_endpoint` names a different embedder than the server is running;
- those keys do not switch the embedder
- ([#1612](https://github.com/xerj-org/xerj/issues/1612)).
++ those keys do not switch the embedder.
++
++- A `semantic` query posted at a wildcard, `_all`, an alias, or a
++ comma-separated list skips an index whose mapping has no `semantic_text`
++ field for that name, instead of failing the whole request with HTTP 400
++ ([#2305](https://github.com/xerj-org/xerj/issues/2305), PR
++ [#2308](https://github.com/xerj-org/xerj/pull/2308)). Those indices
++ contribute no hits. The response stays HTTP 200, with `_shards.failed` and
++ a failures entry naming the index. If every searched index is skipped, the
++ request is still a 400, so a wrong field name is not an empty success. A
++ query that names one concrete index is still a 400 when that index lacks
++ the field. The same skip applies on `_msearch`, `_search/template`,
++ `_msearch/template`, and scroll fan-out. A hybrid query whose semantic leg
++ returns this error skips that index rather than failing the request.
++
+- x86_64 release binaries no longer require AVX2
+ ([#2161](https://github.com/xerj-org/xerj/issues/2161), PR
+ [#2253](https://github.com/xerj-org/xerj/pull/2253)). The four x86_64
+ targets pin `x86-64-v2` (SSE4.2: Nehalem / Bulldozer and later). The HNSW
+ eight-accumulator dot product — the kernel `x86-64-v3` was actually
+ vectorizing — is compiled again under `avx2`+`fma` and selected at runtime
+ when the CPU has both features. Rust does not contract `acc += x * y`
+ into FMA, so the scalar compilation and the AVX2 compilation are
+ bit-identical. Pre-Nehalem (no SSE4.2) still cannot run the binary.
+ Earlier in this window the installers refused a CPU without AVX2, BMI2
+ and FMA and left the build at `x86-64-v3` (PR
+ [#2178](https://github.com/xerj-org/xerj/pull/2178), samuelmbabhazi, from
+ field report #2158). #2253 supersedes that refusal: the installers install
+ on CPUs without AVX2, and `XERJ_SKIP_CPU_CHECK` is gone.
- A matching index template's `semantic_text` properties and
`index.default_pipeline` are applied when an index is created, including
@@@ -221,18 -183,13 +309,20 @@@
lexical `match` on the same field still highlights query terms.
- A single JSON document over 8 MiB is not indexed, so one file of 50 MB
- or more cannot abort the node during autoindex or `_bulk` (#1122).
- Autoindex streams a top-level array, or a top-level array of records
- inside a larger object, one element at a time and skips only the values
- that exceed the limit. The skip names the file. A bulk item over the
- limit is HTTP 413 and its neighbours still index. The ceiling is fixed,
- not a new setting. Files over 64 MiB are still not read; the skip now
- says so.
+ or more cannot abort the node during autoindex or `_bulk`. This is a
+ partial fix; [#1122](https://github.com/xerj-org/xerj/issues/1122) stays
+ open (PR [#2256](https://github.com/xerj-org/xerj/pull/2256); the
+ helper-thread half is PR
+ [#2226](https://github.com/xerj-org/xerj/pull/2226); the Windows
+ commit-space half is PR
+ [#2236](https://github.com/xerj-org/xerj/pull/2236)). Autoindex
+ streams a top-level array, or a top-level array of records inside a larger
+ object, one element at a time and skips only the values that exceed the
+ limit. The skip names the file. A bulk item over the limit is HTTP 413 and
- its neighbours still index. The ceiling is fixed, not a new setting. Files
- over 64 MiB are still not read; the skip now says so.
++ its neighbours still index. The ceiling is fixed, not a new setting. This
++ pull request still did not read a file over 64 MiB; the skip named that
++ cap. PR [#2302](https://github.com/xerj-org/xerj/pull/2302), above, streams
++ uncompressed JSON past it. #1122 stays open.
- Opening an index whose snapshot names a segment file that is already
gone drops that segment instead of failing every later `_search` with
@@@ -339,149 -246,7 +429,156 @@@
frozen its memtable running. The refresh response names the stuck index
under `_shards.failures` and continues with the other indices. Autoindex
reports that failure instead of treating the refresh as success
- ([#1635](https://github.com/xerj-org/xerj/issues/1635)).
+ ([#1635](https://github.com/xerj-org/xerj/issues/1635), PR
+ [#2129](https://github.com/xerj-org/xerj/pull/2129)). Flush deadlines are
+ measured on the wall clock, not a tokio clock that a test can pause (PR
+ [#2167](https://github.com/xerj-org/xerj/pull/2167), same issue).
+
+- `_cat/indices` and `_cat/shards` use the bare content count, so
+ `docs.count` agrees with `_count` and no longer includes file-card anchors
+ (PR [#2141](https://github.com/xerj-org/xerj/pull/2141), Tong-bit-art).
+ `docs.deleted` on `_cat` and the stats surfaces is the real deleted count
+ (PR [#2242](https://github.com/xerj-org/xerj/pull/2242), Tong-bit-art).
+ Both close [#2140](https://github.com/xerj-org/xerj/issues/2140).
+
+- `xerj index --file <dir>` is refused before any index state is written,
+ instead of dying in `mmap` with `Invalid argument` after creating an empty
+ index ([#1818](https://github.com/xerj-org/xerj/issues/1818), PR
+ [#2172](https://github.com/xerj-org/xerj/pull/2172), elewashy).
+
+- Autoindex and corpus, the rest of this window:
+ - A dead node is reported in full, and `_bulk` retries stop
+ ([#2177](https://github.com/xerj-org/xerj/issues/2177), PR
+ [#2192](https://github.com/xerj-org/xerj/pull/2192)).
+ - A watched file can grow a field without failing the pass
+ ([#2176](https://github.com/xerj-org/xerj/issues/2176), PR
+ [#2193](https://github.com/xerj-org/xerj/pull/2193)).
+ - Replacing a file drops the previous symbol generation
+ ([#2139](https://github.com/xerj-org/xerj/issues/2139), PR
+ [#2197](https://github.com/xerj-org/xerj/pull/2197)).
+ - `xerj autoindex --watch` drops events on ignored files before they start
+ a pass ([#2180](https://github.com/xerj-org/xerj/issues/2180), PR
+ [#2198](https://github.com/xerj-org/xerj/pull/2198), samuelmbabhazi).
+ - A changed file in a field-capped dataset is kept
+ ([#1815](https://github.com/xerj-org/xerj/issues/1815), PR
+ [#2215](https://github.com/xerj-org/xerj/pull/2215)).
+ - `--lang` accepts a file extension and stores the language name
+ ([#2205](https://github.com/xerj-org/xerj/issues/2205), PR
+ [#2219](https://github.com/xerj-org/xerj/pull/2219)).
+ - A dataless macOS placeholder is skipped instead of blocking the walk
+ ([#2058](https://github.com/xerj-org/xerj/issues/2058), PR
+ [#2223](https://github.com/xerj-org/xerj/pull/2223)).
+ - A graph-path run whose catalog rows are not visible fails
+ ([#1977](https://github.com/xerj-org/xerj/issues/1977), PR
+ [#2224](https://github.com/xerj-org/xerj/pull/2224)).
+ - `finalize-verify` stops when its target index is deleted
+ ([#2222](https://github.com/xerj-org/xerj/issues/2222), PR
+ [#2225](https://github.com/xerj-org/xerj/pull/2225)).
+ - A resumed catalog read-back stays on the changed set. Same-generation
+ resume confirms the generation with one `size: 0` count instead of
+ paging every catalog document
+ ([#1267](https://github.com/xerj-org/xerj/issues/1267), PR
+ [#2231](https://github.com/xerj-org/xerj/pull/2231)).
+ - `finalize-verify` can capture between catalog writes
+ ([#1761](https://github.com/xerj-org/xerj/issues/1761), PR
+ [#2237](https://github.com/xerj-org/xerj/pull/2237)).
+ - Catalog phrase text is not indexed as a code symbol, and a phone-format
+ syslog line parses (PR
+ [#2247](https://github.com/xerj-org/xerj/pull/2247)).
+ - An unreadable corpus source fails the build instead of pruning every
+ stored envelope for that slug. Empty ids, and a torn final record whose
+ checksums were recomputed, are refused
+ ([#1110](https://github.com/xerj-org/xerj/issues/1110), PR
+ [#2258](https://github.com/xerj-org/xerj/pull/2258)).
+
+- `xerj code` and Corpus Hub, the rest of this window:
+ - Lower-case `license.txt` and `License.md` are detected
+ ([#2201](https://github.com/xerj-org/xerj/issues/2201), PR
+ [#2202](https://github.com/xerj-org/xerj/pull/2202)).
+ - Python passages cite a real start line, from symbols or the checkout
+ ([#2195](https://github.com/xerj-org/xerj/issues/2195), PR
+ [#2203](https://github.com/xerj-org/xerj/pull/2203)).
+ - A weak nearest-neighbour page is labeled
+ ([#1986](https://github.com/xerj-org/xerj/issues/1986), PR
+ [#2221](https://github.com/xerj-org/xerj/pull/2221)).
+ - An empty corpus ledger names the autoindex prefixes that are actually
+ indexed ([#2181](https://github.com/xerj-org/xerj/issues/2181), PR
+ [#2230](https://github.com/xerj-org/xerj/pull/2230)).
+ - `xerj hub find` names the upstream repository (PR
+ [#2249](https://github.com/xerj-org/xerj/pull/2249)).
+ - A question whose topic no hub corpus covers is `NoCoverage`, not an
+ ambiguous tie. `xerj ask` prints that no corpus covers the topic, points
+ at `xerj autoindex` and `xerj hub find`, and exits 1. Exit 4 is unchanged
+ when several corpora actually match. This is a partial fix of
+ [#2179](https://github.com/xerj-org/xerj/issues/2179): the issue stays
+ open, because no Phaser, pandas or charting pack was added and a slug
+ that names a different project is still not explained (PR
+ [#2267](https://github.com/xerj-org/xerj/pull/2267)).
+
+### Testing
+
+- No test-only pull request merged in this window. The MCP tool-count
+ assertion was updated in the same change as local definition lookup (PR
+ [#2166](https://github.com/xerj-org/xerj/pull/2166)).
+
+### Documentation & site
+
+- `/product` was rewritten against the v1.0.0-rc.98 binary (PR
+ [#1926](https://github.com/xerj-org/xerj/pull/1926)). Eight answer pages
+ from the 2026-10-20 agent-query captures (PR
+ [#2251](https://github.com/xerj-org/xerj/pull/2251)). The Day/Night choice
+ is kept across pages
+ ([#1973](https://github.com/xerj-org/xerj/issues/1973), PR
+ [#2169](https://github.com/xerj-org/xerj/pull/2169), samuelmbabhazi).
+ Homepage `Link` headers advertise the API documentation (PR
+ [#2291](https://github.com/xerj-org/xerj/pull/2291), mariomarcolongo).
++ The Cline row in the English, Korean and Simplified Chinese README MCP
++ tables is marked tested. Cline CLI 3.0.73 on Linux loaded the README
++ `mcpServers` block against `xerj` v1.0.0-rc.98; `xerj_search` was in the
++ tool list and one call ran. The IDE Configure button was not part of that
++ run (PR [#2300](https://github.com/xerj-org/xerj/pull/2300)).
+- A ready-to-paste DeepSeek Harness MCP config, with `env` and `cwd`
+ ([#2286](https://github.com/xerj-org/xerj/issues/2286), PR
+ [#2288](https://github.com/xerj-org/xerj/pull/2288)). Both Windows install
+ directories are named: `~/.local/bin` for the `sh` installer, including
+ Git Bash, MSYS and Cygwin, and `%LOCALAPPDATA%\Programs\xerj` for
+ PowerShell
+ ([#2285](https://github.com/xerj-org/xerj/issues/2285), PR
+ [#2289](https://github.com/xerj-org/xerj/pull/2289)).
+- AGENTS.md lists all twenty MCP tools (PR
+ [#2150](https://github.com/xerj-org/xerj/pull/2150), redwolf2019). The
+ Simplified Chinese README matches the English one (PR
+ [#2149](https://github.com/xerj-org/xerj/pull/2149), redwolf2019). A Korean
+ README translation (PR [#2164](https://github.com/xerj-org/xerj/pull/2164),
+ pallidev).
+
+### Community & field reports
+
+- Field reports: multi-array JSON autoindex (PR
+ [#2132](https://github.com/xerj-org/xerj/pull/2132)); MCP prefix isolation
+ (PR [#2138](https://github.com/xerj-org/xerj/pull/2138), Jarvis636431);
+ Windows 16 GB, three autoindex aborts, WAL replay restores the corpora (PR
+ [#2174](https://github.com/xerj-org/xerj/pull/2174), WYSTAF); the #1940
+ JSONL RSS reproduction (PR
+ [#2241](https://github.com/xerj-org/xerj/pull/2241)); an rc.98 `xerj ask`
+ of lz4 (PR [#2252](https://github.com/xerj-org/xerj/pull/2252)); consuming
+ the published rust-vulns pack (PR
+ [#2259](https://github.com/xerj-org/xerj/pull/2259)); MCP budget identity
+ (PR [#2265](https://github.com/xerj-org/xerj/pull/2265), Jarvis636431);
+ `corpus add` plus a hub-manifest pull request (PR
- [#2270](https://github.com/xerj-org/xerj/pull/2270), kamwoh).
++ [#2270](https://github.com/xerj-org/xerj/pull/2270), kamwoh); a Cline MCP
++ setup from the README block, CLI only (PR
++ [#2301](https://github.com/xerj-org/xerj/pull/2301)).
+- CLA signatures: ArkNill (#2153), pallidev (#2165), samuelmbabhazi (#2168),
+ elewashy (#2173), WYSTAF (#2175), kamwoh (#2264), mgtf (#2275),
+ mariomarcolongo (#2292).
+
+### Housekeeping
+
+- Release-download counters landed as `[skip ci]` chores, not pull requests:
+ 2026-10-22 (30,604 assets, 25,047 binaries) and 2026-10-23 (31,411 assets,
+ 25,591 binaries). The figures are the commit subjects.
+
## [1.0.0-rc.98] - 2026-10-21
diff --cc ROADMAP.md
index 1a631ca28,624e4c8d9..33056ef4e
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -2,38 -2,7 +2,42 @@@
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-21 (against `v1.0.0-rc.98` 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.98 release-cut roll:
+Last reviewed: 2026-10-23 (against `v1.0.0-rc.99` 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.99 release-cut roll:
+the open-defects shortlist was re-verified against the live tracker at
+cut time — **two open**: #1122 and #1170. Three closed inside the window:
+#1110 (an unreadable corpus source fails the build instead of pruning, PR
+[#2258](https://github.com/xerj-org/xerj/pull/2258)), #1267 (a resumed
+catalog read-back stays on the changed set, PR
+[#2231](https://github.com/xerj-org/xerj/pull/2231)) and #1635 (flush
+admission is bounded, PR
+[#2129](https://github.com/xerj-org/xerj/pull/2129), and flush deadlines use
+the wall clock, PR [#2167](https://github.com/xerj-org/xerj/pull/2167)).
+#1122 is partial: a helper thread that cannot be created no longer aborts
+the process (PR [#2226](https://github.com/xerj-org/xerj/pull/2226)) and one
+JSON document over 8 MiB is refused or streamed (PR
- [#2256](https://github.com/xerj-org/xerj/pull/2256)), and on Windows the
++[#2256](https://github.com/xerj-org/xerj/pull/2256)), on Windows the
+process cap follows commit space (PR
- [#2236](https://github.com/xerj-org/xerj/pull/2236)); the issue stays open
++[#2236](https://github.com/xerj-org/xerj/pull/2236)), and a bulk reserves
++memory before parsing while uncompressed JSON over 64 MiB is streamed (PR
++[#2302](https://github.com/xerj-org/xerj/pull/2302)); the issue stays open
+(the memory-ceiling class and the WSL2 VM death are not addressed). #1170 is partial:
+index metadata through the Raft log (PR
+[#2257](https://github.com/xerj-org/xerj/pull/2257)), document routing to
+the primary named in the create entry (PR
- [#2271](https://github.com/xerj-org/xerj/pull/2271)), and replica copies of
++[#2271](https://github.com/xerj-org/xerj/pull/2271)), replica copies of
+an acknowledged document write (PR
- [#2287](https://github.com/xerj-org/xerj/pull/2287)). Quorum, promotion, a
++[#2287](https://github.com/xerj-org/xerj/pull/2287)), and acknowledgement
++once a quorum of those copies confirms (PR
++[#2303](https://github.com/xerj-org/xerj/pull/2303)). Promotion, a
+durable Raft log, snapshot catch-up, and `_bulk` / native ingest routing
- stay open on #1170. The window since rc.98 is 82 merged pull requests; the
++stay open on #1170. The window since rc.98 is 91 merged pull requests; the
+CHANGELOG lists every one. x86_64 binaries run without AVX2 (PR
+[#2253](https://github.com/xerj-org/xerj/pull/2253), which supersedes the
+installer refusal in PR
+[#2178](https://github.com/xerj-org/xerj/pull/2178)), and `ctutils` 0.4.5
+closes RUSTSEC-2026-0385 (PR
+[#2268](https://github.com/xerj-org/xerj/pull/2268)).
+The rc.98 cut's record stands as written:
the open-defects shortlist was re-verified against the live tracker at
cut time — **five open**, unchanged: #1110, #1122, #1170, #1267, #1635. None
closed inside the window. The window since rc.97 is about 120 merged PRs: a
@@@ -375,36 -344,30 +379,40 @@@ and the console review's), th
`xerj-decide-v1` Hugging Face publication (operator credentials), and the GA
bar itself — *The road to v1.0.0 GA* below.
-**Open defects.** Five, all live on the tracker — the
-shortlist the release-notes gate checks. From the rc.97 window:
-[#1635](https://github.com/xerj-org/xerj/issues/1635) (autoindex at the
-default worker count stalled at 70.9% on a 13,765-file / 1,153 MB repo,
-with `_bulk` timeouts, HTTP 500s and a node that stopped answering
-searches; the server logs point at admission control, not yet
-instrumented). From the rc.92 window:
-[#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; PR
-[#1270](https://github.com/xerj-org/xerj/pull/1270) bounded the fast-agg
-verify window, the walk and doc-lane residual stay open).
-From the rc.81/82 windows:
+**Open defects.** Two, both live on the tracker — the
+shortlist the release-notes gate checks.
[#1122](https://github.com/xerj-org/xerj/issues/1122) (reopened
2026-10-05 when the reference node died at its memory ceiling with no
-panic line). From the cluster-mode testing:
-[#1170](https://github.com/xerj-org/xerj/issues/1170) (the Raft ring is
-never connected to the engine). Filed from the corpus-program work:
-[#1110](https://github.com/xerj-org/xerj/issues/1110) (the
-generalization proof: second-domain pack + fresh-machine replay).
+panic line). Partial in the rc.99 window: a helper thread that cannot
+be created no longer aborts the process (PR
+[#2226](https://github.com/xerj-org/xerj/pull/2226)), and a single JSON
+document over 8 MiB is refused or streamed (PR
+[#2256](https://github.com/xerj-org/xerj/pull/2256)), and on Windows the
+process cap follows commit space rather than physical RAM alone (PR
- [#2236](https://github.com/xerj-org/xerj/pull/2236)). The memory-ceiling
++[#2236](https://github.com/xerj-org/xerj/pull/2236)), and a bulk reserves
++memory before parsing while uncompressed JSON over 64 MiB is streamed
++(PR [#2302](https://github.com/xerj-org/xerj/pull/2302)). The memory-ceiling
+class and the WSL2 VM death stay open.
+[#1170](https://github.com/xerj-org/xerj/issues/1170) (cluster
+replication). Partial in the rc.99 window: index metadata through the
+Raft log (PR [#2257](https://github.com/xerj-org/xerj/pull/2257)),
+document writes and search routed to the primary named in the create
- entry (PR [#2271](https://github.com/xerj-org/xerj/pull/2271)), and an
++entry (PR [#2271](https://github.com/xerj-org/xerj/pull/2271)), an
+acknowledged document write copied onto replicas placed at create (PR
- [#2287](https://github.com/xerj-org/xerj/pull/2287)). Quorum, promotion,
++[#2287](https://github.com/xerj-org/xerj/pull/2287)), and that write
++acknowledged once a quorum of the copies confirms (PR
++[#2303](https://github.com/xerj-org/xerj/pull/2303)). Promotion,
+a durable Raft log, snapshot catch-up, `_bulk` and native ingest stay
+open.
+**Closed inside the rc.99 window and recorded in the CHANGELOG, not
+carried here:** #1110 (an unreadable corpus source fails the build
+instead of pruning, PR
+[#2258](https://github.com/xerj-org/xerj/pull/2258)), #1267 (a resumed
+catalog read-back stays on the changed set, PR
+[#2231](https://github.com/xerj-org/xerj/pull/2231)) and #1635 (bounded
+flush admission and wall-clock flush deadlines, PRs
+[#2129](https://github.com/xerj-org/xerj/pull/2129) and
+[#2167](https://github.com/xerj-org/xerj/pull/2167)).
**Closed inside the rc.97 window and recorded in the CHANGELOG, not
carried here:** #1094 (decision flywheel write-back froze once the history
index had BM25 support: with the local decide tier armed, a split history
diff --cc dsh/package.json
index 000000000,9d81f5454..183590c01
mode 000000,100644..100644
--- a/dsh/package.json
+++ b/dsh/package.json
@@@ -1,0 -1,33 +1,33 @@@
+ {
+ "name": "xerj-dsh",
- "version": "1.0.0-rc.98",
++ "version": "1.0.0-rc.99",
+ "description": "DeepSeek Harness (dsh) profile bundle that inserts the xerj MCP server over stdio.",
+ "license": "Apache-2.0",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/xerj-org/xerj.git",
+ "directory": "dsh"
+ },
+ "keywords": [
+ "deepseek-harness",
+ "dsh",
+ "mcp",
+ "search"
+ ],
+ "engines": {
+ "node": ">=22.12.0"
+ },
+ "dsh": {
+ "bundle": {
+ "patch": "./cordis.patch.yml"
+ }
+ },
+ "dependencies": {
+ "@deepseek-ai/dsh-mcp-client": "0.2.1-rc.3"
+ },
+ "files": [
+ "cordis.patch.yml",
+ "README.md"
+ ],
+ "private": false
+ }
diff --cc landing/product.html
index 91dc51fcb,d03c43183..f1e85eda7
--- a/landing/product.html
+++ b/landing/product.html
@@@ -243,7 -243,7 +243,7 @@@ LZ4_FORCE_INLINE int LZ4_compress_gener
<div class="kicker"><span class="accent">03</span><span class="dash">·</span><span>WHAT SHIPS IN THE BINARY</span></div>
<h2 class="scene">ONE BINARY.<br><span class="accent">ONE CLI.</span></h2>
-- <p class="wide">The rows below are the commands <code class="inline">xerj --help</code> printed on v1.0.0-rc.98, plus <code class="inline">xerj hub --help</code>. The top-level usage block lists <code class="inline">xerj ask</code>. It does not list <code class="inline">xerj hub</code>; that help is <code class="inline">xerj hub --help</code>.</p>
++ <p class="wide">The rows below are the commands <code class="inline">xerj --help</code> printed on v1.0.0-rc.98, plus <code class="inline">xerj hub --help</code>. On that binary the top-level usage block lists <code class="inline">xerj ask</code> and does not list <code class="inline">xerj hub</code>. v1.0.0-rc.99 lists <code class="inline">xerj hub</code> next to <code class="inline">xerj ask</code> when the build has a hub signing key (<a href="https://github.com/xerj-org/xerj/pull/2282" rel="external">#2282</a>). <code class="inline">xerj hub --help</code> is the subcommand help.</p>
<div class="vt-wrap">
<table class="vt">