Skip to content

Releases

xerj v1.0.0-rc.105

Choose a tag to compare

@xerj-team xerj-team released this 23 Nov 23:54
Immutable release. Only release title and notes can be modified.
7ba0069

XERJ v1.0.0-rc.105

rc.105: 93 merged pull requests since rc.104. BM25 now uses the real
length of long fields, Chinese folders get a CJK analyzer, searches stop
waiting on disk syncs while bulk writes run, object sub-fields and
filtered aggregations take the fast paths, keyword fields get normalizers,
and many requests now behave as in Elasticsearch, including several that
used to answer 200 and now answer 400. Read the upgrade notes before you
upgrade a node that serves traffic.

Highlights

  • Long documents no longer outrank the answer (#3007). SearchTome
    medicine, multi_match on title + content: R@1 56.60 → 64.78, R@3
    76.77 → 81.74 (paired randomization p < 0.001).
  • Chinese folders under xerj autoindex (#3377). On a 29-file PRC
    statute corpus, 20 law questions: R@1 0.45 → 0.95, R@3 0.60 → 1.00.
  • Searches during bulk writes (refs #3324 #3331). p99 over all reads
    204-265 ms → 40-85 ms; writer throughput 34-50k → 53-66k docs/s (3 runs
    each, load 25-50).
  • Object sub-fields on postings (#3464). multi_match on * over 200k
    documents: p50 539-661 ms → 3.9-5.1 ms, now with BM25 scores.
  • Filtered aggregations from doc values (#3476, #3510). A size: 0
    aggregation under a filter-only bool: 1111-1631 ms → 13.4-17.2 ms. A
    filtered date_histogram on 300k documents that answered 429 now
    answers in 143-182 ms right after a cache clear.
  • term on an array keyword (#3412). 8 clients on a 992,000-document,
    496-segment index: p50 1940 ms → 9.3 ms, 3.9 → 115.5 queries/s.
  • Hybrid search reads _source for the page only (#3018). hybrid
    size 10 on 3,000 documents: 7.20 → 4.31 ms (median of six rounds).

Upgrade notes

  • Downgrade needs a snapshot or a reindex. Segments that rc.105 writes
    store BM25 field lengths on a new scale (#3007). rc.104 opens a data
    directory that rc.105 wrote without any error, but ranking and scores
    change silently. To go back to rc.104, restore a snapshot taken on rc.104
    or reindex from the source. The upgrade itself
    is in place: segments written before keep their old lengths, and object
    sub-fields in old segments answer from stored documents, until a merge
    rewrites them or you reindex.
  • Data directories, provenance and the opt-in model flag are as in
    rc.101-rc.104.
    The rc.105 binaries are built from the same private tree
    as rc.101-rc.104: public main at this cut (b2ef194f plus this release
    commit) plus the XERJ-Query engine lanes plus the Proprietary model
    crates xerj-infer, xerj-serve and xerj-exec. They keep the rc.101
    storage defaults (ZPS4 postings, row-dictionary stored text, on-disk
    format 4, or 5 once a writer uses the ZPA postings family), so a data
    directory that rc.101, rc.102, rc.103 or rc.104 wrote opens in place, with
    no reindex. A binary built from public main at this cut writes format 3
    and refuses a format-4 or format-5 directory (DATA_DIR_FORMAT_VERSION in
    engine/crates/xerj-storage/src/index_store.rs); upgrade an rc.101-rc.104
    node with the release binaries. /_facts answers 404
    xerj_query_not_enabled unless --facts-model-dir <DIR> is set, and
    /_facts and xerj_facts_ask exist only in the release binaries, not in
    a build from this repository (#3380).
  • New segments are bigger. Each object leaf now has its own postings
    (#3464). On the 200k-document test index with one object field the index
    grew from 50 MB to 62 MB (+24%). The growth comes from the text and
    keywords under objects.
  • Explicit cjk indices: reindex for the new tokens. The cjk
    tokenizer now splits non-CJK runs on word boundaries and drops
    punctuation (revenue, is revenue; , is no longer a token) (#3377).
    Documents indexed before keep the tokens they were written with, so
    reindex an index with an explicit cjk analyzer. Indices that
    xerj autoindex built keep their analyzer until they are reindexed.
  • Keyword sub-fields match whole values, as in Elasticsearch.
    multi_match "fruit" no longer matches meta.tag: "Fruit" (#3464).
    match title.raw: "World" no longer hits "Hello World" (#3488). A
    match on a sub-field that is not mapped (title.raw when only
    title.keyword exists) now finds nothing; after a flush it used to
    search the parent title (#3515).
  • Normalizers are supported (#3529). A keyword field can name the
    built-in lowercase normalizer or a custom one built from
    lowercase, uppercase, asciifolding and trim. Still a 400
    mapper_parsing_exception: an unknown name, any other filter, char
    filters, a normalizer on a non-keyword field, and changing a field's
    normalizer on put-mapping. rc.104 accepted a normalizer name on a
    field and ignored it; an index created that way keeps its case-sensitive
    behaviour after the upgrade. Reindex into a new index to get normalized
    values.
  • dynamic: false and dynamic: strict are honoured (#3514).
    strict refuses a document with an undeclared field (400
    strict_dynamic_mapping_exception) on _bulk, _doc, _create and
    _update. Under false, a new field stays in _source but is not in
    GET _mapping and cannot be searched or aggregated. The setting is read
    from the stored mapping when an index opens, so an existing index with
    such a mapping changes on upgrade.
  • Requests that answered 200 and now answer 400, as in Elasticsearch:
    • a pit search on /{index}/_search, or an _msearch item with a
      pit that names an index (#3398);
    • a collapse.inner_hits block with no name (#3321);
    • a value of the wrong type for a boolean, ip or date field in term,
      terms, or match / multi_match / query_string without lenient
      (#3511); with lenient: false, or a prefix* field pattern without
      lenient: true, a value that does not parse for a field (#3463);
    • function_score field_value_factor with no missing when a scored
      document has no value (#3512); set missing to keep the old ranking;
    • a document that dynamic: strict refuses (#3514, above);
    • geotile_grid / geohash_grid that would return more cells than
      search.max_buckets (#3400); they dropped cells silently before.
  • New 429s near the memory limit. _forcemerge (#2917), a cold kNN
    segment read (PR #3328) and the semantic embedding step of a _bulk
    group (PR #3338) now answer 429 circuit_breaking_exception when they
    would cross the limit, where they used to allocate anyway (refs #2427).
  • Scores and order can change. A filter-only bool, and a boost over
    one, scores 0.0 in every state, as in ES (#3508, #3524). term on a text
    field also matches analysed tokens now, as terms does (#3259, PR
    #3315). function_score ties break by _seq_no (#3506). New segments
    use the #3007 field lengths.
  • Other behaviour changes. _msearch items that stop at their
    deadline say timed_out: true (#2497). A second SIGINT or SIGTERM
    exits at once (130 / 143), and the
    first one is bounded by --shutdown-timeout (default 30 s) (#3418). The
    Helm chart's NOTES.txt reads /data/admin.key (#3461). xerj autoindex txt-lines blocks keep blank lines; existing indexes keep
    their old blocks until the file changes or you run with --fresh
    (#3333).

Full notes

Every change in this release, with measurements and issue links, is in the
CHANGELOG.

xerj v1.0.0-rc.104

Choose a tag to compare

@xerj-team xerj-team released this 19 Nov 00:34
Immutable release. Only release title and notes can be modified.
cc6aee8

All platforms. rc.104 supersedes v1.0.0-rc.103. rc.103 was published Linux-only, and releases on this repository are immutable once published, so its macOS and Windows builds could not be attached to it. rc.104 is the rc.103 code (no pull request merged to main in between; the only source change is the version string) with all eight targets: Linux x86_64 and aarch64 (glibc and musl, plus .deb for both glibc targets), macOS x86_64 and aarch64, Windows x86_64 and aarch64, the XERJ Query-1 model bundle (the rc.102 bundle, unchanged, under the rc.104 name) and one SHA256SUMS. releases/latest and the installer move from v1.0.0-rc.101 to rc.104.

[1.0.0-rc.104] - 2026-11-18

Everything below is the rc.103 content, now shipped on every platform: the rc.101 field-report fixes (#3287, #3289, #3290, #3291, #3292), the 2026-11-18 fix sweep (#3263, #3264, #3265, #3266) and the contributor Elasticsearch-compatibility wave. The model, its bundle and its serve rule are those of rc.102.

Upgrade notes

  • Data directories. rc.104 (like rc.103) keeps the rc.101 storage defaults (ZPS4
    postings, row-dictionary stored text, on-disk format 4), so an rc.101,
    rc.102 or rc.103 data directory opens unchanged. The storage and ingest lanes are
    still not on public main (carried forward from rc.101 and rc.102): a
    build from public main writes format 3 and refuses a format-4 directory.
  • Provenance. The rc.104 binaries are built from a private tree: public
    main at cc6aee8f plus the XERJ-Query engine lanes plus the model crates
    xerj-infer, xerj-serve and xerj-exec, which are licensed
    Proprietary and ship as binary + model bundle only. The Apache-2.0
    LICENSE covers the engine source on main.
  • XERJ-Query stays opt-in. The flag is --facts-model-dir <DIR> (or
    XERJ_FACTS_MODEL_DIR); without it every /_facts path answers 404
    xerj_query_not_enabled.
  • DELETE /<index> moves the directory to <data-dir>/_trash/ first
    and removes it there; a removal that fails is retried in the background
    and at the next boot (#3292). An index cannot be named _trash.
  • Hybrid search legs run in parallel on the multi-thread runtime (#3265).
    XERJ_HYBRID_PARALLEL_LEGS=0 restores the single-thread join.
  • MCP search tools drop embedding arrays from _source and say so in
    _xerj.hints (vectors_omitted); include_vectors: true keeps them
    (#3289). Detection is by shape: an array of at least 8 numbers with a
    fraction, so a long float time series is dropped too unless asked for.
  • xerj_memory_recall is budgeted at 8,000 words by default, like the
    search tools (#3263).
  • Lockfiles are stubbed by default in xerj autoindex
    (--no-default-stubs turns full extraction back on) (#3264).

Added

  • A stopped local node starts again on its own (#3290, refs #3267, which
    stays open for macOS/Windows verification and the installer wording). The
    server writes <data-dir>/node.launch.json after it binds; when a loopback
    client (xerj mcp node-backed tools, xerj search, def, code,
    batch-search, autoindex map) finds the port closed, it starts the node
    that last served it, detached, and waits for a real answer before the call.
    XERJ_NO_AUTOSTART=1 or xerj mcp --no-autostart turns it off; a
    non-loopback URL is never started. xerj --detach … starts a node in the
    background and prints its url, data dir, log and stop command. Not run on
    macOS or Windows.
  • xerj status [--prefix p] [--json] (#3291): when a prefix was indexed, the
    commit then and now, the changed files and a verdict. xerj_map adds
    index_runs with the same commits.
  • Code extraction for assembly (.s, .S, .asm: labels, exported
    functions, macros and constants), GDScript (.gd) and K&R C definitions
    without a return type (#3291).
  • _reindex accepts several source indices and wildcards (#2921).
  • scripts/release-sha256sums.sh builds one SHA256SUMS from a release's
    per-asset .sha256 files, and the release workflow publishes it (#3287).
  • A zero-dependency Node.js semantic and hybrid search recipe (#3067).
  • xerj-autoindex: detect OpenSpec (openspec/) and github/spec-kit (.specify/, specs/<feature>/spec.md) layouts and route specs, constitutions, and ADRs into a dedicated <prefix>-specs corpus by default (#2966).
  • xerj-autoindex: add --worktree shared|isolated so parallel agents in linked Git worktrees either share one main-checkout index (ax-<repo>) or keep an isolated per-worktree index (ax-<repo>-<worktree>) without lock contention or prefix collisions (#2967).
  • Configurable, deterministic plain-text writing review primitive in
    xerj-common (#2970, refs #2765): phrase, length, repetition, hedging and
    syntactic source-citation checks with stable line notes. This is a library
    foundation; recipe-runner and MCP integration remain pending #2762.

Changed

  • Small-index kNN and hybrid search (#3265, fixes #3006 and #3016, refs
    #3018). An unfiltered kNN over at most 10,000 KiB of stored f32 vectors
    (3,333 vectors of 768 dims) scans exactly instead of walking the graph;
    only the requested page is hydrated, not the whole k pool; a single ES
    top-level knn clause no longer raises the engine page to k when nothing
    re-ranks afterwards; the two hybrid legs run on their own threads. RRF
    refuses a non-numeric or negative leg weight and an invalid k with 400
    (they were silently 1.0 and 60), and accepts rank_constant as the ES name
    for k. Measured in #3265 on public main (721 docs, 768-d, query.knn
    k=300, size 10): server took 29 ms to 0-1 ms; not re-measured on the
    rc.103 binaries.
  • xerj_memory_recall takes max_tokens and is budgeted by default at 8,000
    words, like the search tools (#3263, carries #2958).
  • xerj autoindex stubs the eight common lockfiles by default
    (--no-default-stubs restores full extraction), and an explicit --stub
    is now honoured on the --no-graph route too (#3264, fixes #2439). The
    catalog commit after the read-back is its own progress phase,
    finalize-catalog-commit, and names a request that takes 5 s or more;
    progress lines count terminal cells, so CJK paths keep their width; an
    empty autoindex map names the node's data directory; sitemap dates come
    from one git log walk (fixes #3226). The Windows stall behind #2929 is
    not reproduced and stays open.
  • --exclude applies during the walk (#3287, fixes #3280): excluded files are
    never stat'ed and <dir>/** prunes the directory. Measured in #3287 on
    Linux tmpfs with 200k excluded files: 1.67 s to 0.48 s. A large excluded
    directory with no <dir>/** glob is still read in full. Not measured on
    Windows, where #3280 was reported.
  • Hub packs: one shared member and unpacked-size cap for the builder, the
    catalogue and the client, which names the real count and the cap (#3287,
    fixes #3283).
  • Benchmark recipes switch the query cache off and report its hits (#3255,
    refs #3020).
  • With no search.max_buckets set, the node's limits.max_buckets (default
    65536) now also caps the total buckets a _search or _msearch response
    keeps across its whole aggregation tree, as Elasticsearch's default does.
    Before, it capped each aggregation on its own, so a response could keep
    more buckets in total.

Fixed

  • DELETE /<index> no longer answers 500 while the index's files are still
    held
    (#3292, fixes #3274). The index is unregistered first, merges stop,
    the delete waits up to 3 s for other handles, then the directory is renamed
    to <data-dir>/_trash/<name>-<uuid> and removed there; a failed removal is
    retried for about 10 minutes and swept at boot. Measured in #3292: DELETE
    200 in 422 ms after a SIGKILLed autoindex, _trash empty after. The NFS
    case is covered by a test, not reproduced live.
  • match_phrase on a dotted identifier under the code analyzer returned
    0 hits after a flush (#3292, fixes #3285). PhraseQuery takes per-term
    positions, so tokens the analyzer stacks at one position match there.
    request.client.host and client.host now match before and after flush.
  • record_count and a match_all total differed by the file-card anchors;
    xerj_map and xerj autoindex map now report count_units and a per-index
    files count (#3292, fixes #3275).
  • Headless first launch aborted with exit 134 when stderr could not be
    written (2>/dev/full, a closed fd) (#3290, fixes #3276). Prints are
    fallible, closed fds 0-2 point at /dev/null, and the setup link is also
    written to <data-dir>/owner-claim.txt (mode 0600).
  • The auto memory tier adds the memory the node holds at boot to its write
    breaker (#3290). Partial fix of #3277, which stays open: the facts-model
    preload does not reserve its own RSS yet.
  • xerj def and MCP xerj_def check hits against the files when the index
    is stale (#3291, fixes #3268): a moved declaration is re-anchored
    (reanchored: true), a deleted one is dropped, and a definition not yet
    indexed is found by parsing the changed files read-only (unindexed: true).
    Assembly (fixes #3270) and GDScript (fixes #3271) are indexed as code.
  • A zero-hit search says why (#3289, fixes #3269): MCP xerj_search adds
    zero_hits_reason (no_index or no_match) and a hint naming the closest
    prefix; the CLI's missing-prefix line ends with closest: <p>.
  • A query string holding a JSON object is read as DSL, and hybrid,
    semantic and vector search keep _source (#3289, fixes #3272). When a node
    refuses ?savings=false, the CLI retries once without it and says what the
    node is (#3289, fixes #3273). A bad xerj_batch_search item fails on its
    own with the keys it accepts (#3289); the Windows _msearch timeout in
    #2497 is not reproduced and stays open.
  • The installer checks every tool it needs up front and exits 2 naming all
    missing ones, resumes the model ...
Read more

xerj v1.0.0-rc.103

xerj v1.0.0-rc.103 Pre-release
Pre-release

Choose a tag to compare

@xerj-team xerj-team released this 18 Nov 20:31
Immutable release. Only release title and notes can be modified.
0de7653

Linux-only release, not marked latest. This release ships Linux binaries (x86_64 and aarch64, glibc and musl, plus .deb for both glibc targets), the XERJ Query-1 model bundle (the rc.102 bundle, unchanged, under the rc.103 name) and one SHA256SUMS. macOS and Windows builds need the release workflow, which cannot run for this release. macOS and Windows users stay on v1.0.0-rc.101, which releases/latest and the installer keep serving on every platform; install rc.103 on Linux by downloading the assets below.

[1.0.0-rc.103] - 2026-11-18

rc.103: the rc.101 field-report fixes, the 2026-11-18 fix sweep, and a wave
of Elasticsearch-compatibility fixes from contributors.
Five lanes answer
the rc.101 field reports (#3287, #3289, #3290, #3291, #3292): a stopped local
node starts again on its own, a zero-hit search says why, xerj def checks
hits against the files on disk, DELETE of an index no longer fails while
its files are held, and match_phrase matches dotted identifiers under the
code analyzer. The fix sweep (#3263, #3264, #3265, #3266) adds a token
budget to memory recall, stubs lockfiles by default, makes small-index kNN
and hybrid search faster, and lowers _forcemerge memory on vector indices.
The model, its bundle and its serve rule are those of rc.102.

Upgrade notes

  • Linux only, not marked latest. rc.103 ships Linux binaries (x86_64 and
    aarch64, glibc and musl, .deb for both glibc targets) and the rc.102
    model bundle under the rc.103 name. macOS and Windows builds need the
    release workflow, which cannot run for this release; macOS and Windows
    users stay on v1.0.0-rc.101, which releases/latest and the installer
    keep serving.
  • Data directories. rc.103 keeps the rc.101 storage defaults (ZPS4
    postings, row-dictionary stored text, on-disk format 4), so an rc.101 or
    rc.102 data directory opens unchanged. The storage and ingest lanes are
    still not on public main (carried forward from rc.101 and rc.102): a
    build from public main writes format 3 and refuses a format-4 directory.
  • Provenance. The rc.103 binaries are built from a private tree: public
    main at 5a449f4b plus the XERJ-Query engine lanes plus the model crates
    xerj-infer, xerj-serve and xerj-exec, which are licensed
    Proprietary and ship as binary + model bundle only. The Apache-2.0
    LICENSE covers the engine source on main.
  • XERJ-Query stays opt-in. The flag is --facts-model-dir <DIR> (or
    XERJ_FACTS_MODEL_DIR); without it every /_facts path answers 404
    xerj_query_not_enabled.
  • DELETE /<index> moves the directory to <data-dir>/_trash/ first
    and removes it there; a removal that fails is retried in the background
    and at the next boot (#3292). An index cannot be named _trash.
  • Hybrid search legs run in parallel on the multi-thread runtime (#3265).
    XERJ_HYBRID_PARALLEL_LEGS=0 restores the single-thread join.
  • MCP search tools drop embedding arrays from _source and say so in
    _xerj.hints (vectors_omitted); include_vectors: true keeps them
    (#3289). Detection is by shape: an array of at least 8 numbers with a
    fraction, so a long float time series is dropped too unless asked for.
  • xerj_memory_recall is budgeted at 8,000 words by default, like the
    search tools (#3263).
  • Lockfiles are stubbed by default in xerj autoindex
    (--no-default-stubs turns full extraction back on) (#3264).

Added

  • A stopped local node starts again on its own (#3290, refs #3267, which
    stays open for macOS/Windows verification and the installer wording). The
    server writes <data-dir>/node.launch.json after it binds; when a loopback
    client (xerj mcp node-backed tools, xerj search, def, code,
    batch-search, autoindex map) finds the port closed, it starts the node
    that last served it, detached, and waits for a real answer before the call.
    XERJ_NO_AUTOSTART=1 or xerj mcp --no-autostart turns it off; a
    non-loopback URL is never started. xerj --detach … starts a node in the
    background and prints its url, data dir, log and stop command. Not run on
    macOS or Windows.
  • xerj status [--prefix p] [--json] (#3291): when a prefix was indexed, the
    commit then and now, the changed files and a verdict. xerj_map adds
    index_runs with the same commits.
  • Code extraction for assembly (.s, .S, .asm: labels, exported
    functions, macros and constants), GDScript (.gd) and K&R C definitions
    without a return type (#3291).
  • _reindex accepts several source indices and wildcards (#2921).
  • scripts/release-sha256sums.sh builds one SHA256SUMS from a release's
    per-asset .sha256 files, and the release workflow publishes it (#3287).
  • A zero-dependency Node.js semantic and hybrid search recipe (#3067).
  • xerj-autoindex: detect OpenSpec (openspec/) and github/spec-kit (.specify/, specs/<feature>/spec.md) layouts and route specs, constitutions, and ADRs into a dedicated <prefix>-specs corpus by default (#2966).
  • xerj-autoindex: add --worktree shared|isolated so parallel agents in linked Git worktrees either share one main-checkout index (ax-<repo>) or keep an isolated per-worktree index (ax-<repo>-<worktree>) without lock contention or prefix collisions (#2967).
  • Configurable, deterministic plain-text writing review primitive in
    xerj-common (#2970, refs #2765): phrase, length, repetition, hedging and
    syntactic source-citation checks with stable line notes. This is a library
    foundation; recipe-runner and MCP integration remain pending #2762.

Changed

  • Small-index kNN and hybrid search (#3265, fixes #3006 and #3016, refs
    #3018). An unfiltered kNN over at most 10,000 KiB of stored f32 vectors
    (3,333 vectors of 768 dims) scans exactly instead of walking the graph;
    only the requested page is hydrated, not the whole k pool; a single ES
    top-level knn clause no longer raises the engine page to k when nothing
    re-ranks afterwards; the two hybrid legs run on their own threads. RRF
    refuses a non-numeric or negative leg weight and an invalid k with 400
    (they were silently 1.0 and 60), and accepts rank_constant as the ES name
    for k. Measured in #3265 on public main (721 docs, 768-d, query.knn
    k=300, size 10): server took 29 ms to 0-1 ms; not re-measured on the
    rc.103 binaries.
  • xerj_memory_recall takes max_tokens and is budgeted by default at 8,000
    words, like the search tools (#3263, carries #2958).
  • xerj autoindex stubs the eight common lockfiles by default
    (--no-default-stubs restores full extraction), and an explicit --stub
    is now honoured on the --no-graph route too (#3264, fixes #2439). The
    catalog commit after the read-back is its own progress phase,
    finalize-catalog-commit, and names a request that takes 5 s or more;
    progress lines count terminal cells, so CJK paths keep their width; an
    empty autoindex map names the node's data directory; sitemap dates come
    from one git log walk (fixes #3226). The Windows stall behind #2929 is
    not reproduced and stays open.
  • --exclude applies during the walk (#3287, fixes #3280): excluded files are
    never stat'ed and <dir>/** prunes the directory. Measured in #3287 on
    Linux tmpfs with 200k excluded files: 1.67 s to 0.48 s. A large excluded
    directory with no <dir>/** glob is still read in full. Not measured on
    Windows, where #3280 was reported.
  • Hub packs: one shared member and unpacked-size cap for the builder, the
    catalogue and the client, which names the real count and the cap (#3287,
    fixes #3283).
  • Benchmark recipes switch the query cache off and report its hits (#3255,
    refs #3020).
  • With no search.max_buckets set, the node's limits.max_buckets (default
    65536) now also caps the total buckets a _search or _msearch response
    keeps across its whole aggregation tree, as Elasticsearch's default does.
    Before, it capped each aggregation on its own, so a response could keep
    more buckets in total.

Fixed

  • DELETE /<index> no longer answers 500 while the index's files are still
    held
    (#3292, fixes #3274). The index is unregistered first, merges stop,
    the delete waits up to 3 s for other handles, then the directory is renamed
    to <data-dir>/_trash/<name>-<uuid> and removed there; a failed removal is
    retried for about 10 minutes and swept at boot. Measured in #3292: DELETE
    200 in 422 ms after a SIGKILLed autoindex, _trash empty after. The NFS
    case is covered by a test, not reproduced live.
  • match_phrase on a dotted identifier under the code analyzer returned
    0 hits after a flush (#3292, fixes #3285). PhraseQuery takes per-term
    positions, so tokens the analyzer stacks at one position match there.
    request.client.host and client.host now match before and after flush.
  • record_count and a match_all total differed by the file-card anchors;
    xerj_map and xerj autoindex map now report count_units and a per-index
    files count (#3292, fixes #3275).
  • Headless first launch aborted with exit 134 when stderr could not be
    written (2>/dev/full, a closed fd) (#3290, fixes #3276). Prints are
    fallible, closed fds 0-2 point at /dev/null, and the setup link is also
    written to <data-dir>/owner-claim.txt (mode 0600).
  • The auto memory tier adds the memory the node holds at boot to its write
    breaker (#3290). Partial fix of #3277, which stays open: the facts-model
    preload does not reserve its own RSS yet.
  • xerj def and MCP xerj_def check hits against the files when the index
    is stale (#3291, fixes #3268): a moved declaration is re-anchored
    (reanchored: true), a deleted one is dropped, and a definition not yet
    indexed is found by parsing the changed files read-only (unindexed: true).
    Assembly (fixes #3270) and GDScript (fixes #3271) are indexed as code.
  • A zero-hit search says why (#3289, fixes #3269): MCP xerj_search adds
    `ze...
Read more

rust-vulns corpus pack (pack-rust-vulns-2026-11-09)

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:46
Immutable release. Only release title and notes can be modified.
f73bbd9

The rust-vulns corpus pack, built and signed by the scheduled
pack publish workflow from tools/packs/rust-vulns/recipe.toml.

One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-rust-vulns
Build history lives in the releases themselves and in the
workflow runs.

Install (public key: tools/packs/keys/rust-vulns.pub in the repo):

xerj corpus add rust-vulns --from rust-vulns-pack.zip \
  --verify-sig rust-vulns.pub
xerj corpus index rust-vulns

rust-vulns-freshness.json carries the build date and record
count; the same 30-day staleness refusal that governs every
reference corpus governs this one.

agent-session-trajectories corpus pack (pack-agent-session-trajectories-2026-11-09)

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:46
Immutable release. Only release title and notes can be modified.
f73bbd9

The agent-session-trajectories corpus pack — the first
external-contributor pack on the hub (chunxiaoxx / Nautilus,
#1255; demand anchored to #1138, wishlist slot #1210). 70
sanitized multi-session agent trajectories with failure turns
kept verbatim, built and signed by the pack publish workflow
from tools/packs/agent-session-trajectories/recipe.toml.

One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-agent-session-trajectories

Install (public key: tools/packs/keys/agent-session-trajectories.pub in the repo):

xerj corpus add agent-session-trajectories \
  --from agent-session-trajectories-pack.zip \
  --verify-sig agent-session-trajectories.pub
xerj corpus index agent-session-trajectories

agent-session-trajectories-freshness.json carries the build
date and record count; the same 30-day staleness refusal that
governs every reference corpus governs this one.

hub pack: agent-session-trajectories @ 13d0fbe1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:40
Immutable release. Only release title and notes can be modified.
f73bbd9

Pre-indexed, signed Corpus Hub v2 pack for the agent-session-trajectories record corpus.

  • content pin: 13d0fbe1ac89198caf3d24ef622636c6b47edd32 (records of 2026-11-09)
  • licence: CC-BY-4.0 (adapt-with-attribution)
  • definitions: 70, files: 1
  • built by: xerj 1.0.0-rc.102

Use it: xerj hub pull agent-session-trajectories. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.

Built by https://github.com/xerj-org/xerj/actions/runs/42562030700 from tools/packs/agent-session-trajectories/recipe.toml

xerj v1.0.0-rc.102

Choose a tag to compare

@xerj-org xerj-org released this 07 Nov 07:25
Immutable release. Only release title and notes can be modified.
cfdea42

Linux-only release. This release ships Linux binaries (x86_64 and aarch64, glibc and musl, plus .deb for both glibc targets) and the XERJ Query-1 model bundle. macOS and Windows builds follow in an update of this release. Until then the installer and releases/latest keep serving v1.0.0-rc.101 on every platform; install rc.102 on Linux by downloading the assets below.

[1.0.0-rc.102] - 2026-11-06

rc.102: the XERJ Query-1 serve rule R8, a guard against counts the counting
path cannot express, and the rc.102 public window.
The model bundle that
ships with this release, candidate_a_s47_r8, holds the same weights as
rc.101's candidate_a_s47 (every weight file has the same sha256) and changes
only how answers are served: rule R8 (details under Changed). On XERJ Score v2
(credit measured against Opus 5.5 = 100), on the four development families
teacher_dev, bench_select, s1b_dev and d1_select (400 items each,
1,600 in all), seed 47 moves from 90.29 to 94.69 (+4.40, 95% interval
+3.32 to +5.64, paired world-cluster bootstrap); seeds 11 and 29 move +3.95
and +4.17. These are development items, and R8 was chosen from a diagnosis of
those same items, so 94.69 is an in-sample number, not a held-out one. Wrong
answers rise on every seed: 9 to 10 of 1,600 on seed 47, 12 to 15 on seed 11.
The one held-out read is the fresh_v1 set, read once on 2026-11-04 and
re-scored under R8 without a second read: Net 0.3333 to 0.3481, right 112 to
118, wrong 11 to 12. Robustness to new wordings and fresh-set counting are not
separately measured. The engine serves the evaluated rule exactly: on the
merged rc.102 tree the engine's rows for all 1,600 development items give the
same served outcome as the evaluation's Python rows (1,600 of 1,600; 284 rows
differ only in the raw status, UNKNOWN versus UNSUPPORTED, and both are
declines). Without --facts-model-dir a node is the node rc.101 was.

Upgrade notes

  • The rc.102 bundle needs an rc.102 binary. rc.101 refuses its
    bundle.json (unknown rule decline_v2_r8, model state unavailable).
    The rc.102 binary still loads the rc.101 bundle and serves it under
    decline_v2 with partner agreement, byte for byte as before.
  • Counting no longer waits for a partner under R8. With the rc.102
    bundle a count is served when the question routes to counting, the hard
    checks pass and the engine answers; the partner model does not run, and
    partner_agreement is null instead of true. Read final_status and
    final_answer as before.
  • Data directories. rc.102 keeps rc.101's storage defaults (ZPS4
    postings, row-dictionary stored text, on-disk format 4), so an rc.101 data
    directory opens unchanged. The one-way upgrade from rc.100 described under
    rc.101 still applies to a directory rc.100 last wrote. Not done in this
    window, and carried forward: rc.101 said its storage and ingest lanes would
    reach public main before rc.102. They have not; they are in the private
    build tree only, and a build from public main still writes format 3 and
    refuses a format-4 directory.
  • Provenance. The rc.102 binaries are built from a private tree: public
    main at 34a2f244 (this window's merges) plus the XERJ-Query engine lanes
    plus the model crates xerj-infer, xerj-serve and xerj-exec, which are
    licensed Proprietary and ship as binary + model bundle only. Those
    crates are not Apache-2.0 and are not in the public repository; the
    Apache-2.0 LICENSE covers the engine source on main.
  • XERJ-Query stays opt-in. The flag is --facts-model-dir <DIR> (or
    XERJ_FACTS_MODEL_DIR); without it every /_facts path answers 404
    xerj_query_not_enabled.

Added

  • xerj autoindex <path> --facts <namespace> writes table rows as XERJ Query-1
    facts: SQLite files, SQL dumps, CSV/TSV and XLSX (#2988). Each row is one subject
    whose subject_id is the key column (id, <table>_id, … or --key), each
    other column one typed fact quoting the row, so counting questions engage
    without hand-written facts. Re-runs write only changed rows (withdraw the old
    version, write the new one) and withdraw removed rows; unchanged rows are a
    no-op. Measured on rc.101: 1,000 rows → 6,000 facts in 0.36 s; "How many
    people have office Berlin?" → 366 via path: counting with partner
    agreement (gold 366). The mapping is a per-row-change function
    (facts_rows::RowFactMapper::map_change) so streamed sources can reuse it.
  • Live Postgres sources inside the node (#2984): xerj connect postgres://… snapshots the chosen tables in a consistent snapshot, then
    applies every insert, update, delete and truncate through logical
    replication, survives restarts and resumes from its acknowledged LSN.
    HTTP GET /_xerj/sources, GET|PUT|DELETE /_xerj/sources/{name}; MCP tool
    xerj_sources (the MCP lists 21 tools without the hub key, 24 with it).
    Measured in that PR on an x86_64 laptop (32 threads) against Postgres 16 on
    the same host: a 1,000,000-row table snapshotted at 54,776 rows/s;
    commit-to-readable p50 16.9 ms, p95 26.6 ms over 6,000 samples at 991
    commits/s; after a kill -9 mid-stream, 27,696 rows = 27,696 docs with 0
    missing, extra, stale or duplicate. See docs/LIVE_SOURCES.md.
  • xerj autoindex indexes zip, tar, tar.gz/tgz and tar.zst archives, one
    level deep, refusing absolute and .. member paths, links and special
    files, with byte, member and expansion-ratio caps (#2982). xerj sources [--json] and docs/SOURCES.md list every way to get data in.
  • Cohere Rerank as a second _search reranking provider, "rerank": {"provider": "cohere"}, off until an operator sets a key; the endpoint is
    configurable so document text can stay on a private Cohere deployment
    (#2985). See docs/RERANK.md.
  • Cohere examples (#2983): an embedder config for Cohere's OpenAI-compatible
    route, a stdlib Command RAG example whose citations resolve to file and
    page, and the XERJ tools as a Cohere Chat v2 tool schema. Replay-tested
    against a mock Cohere API; no live Cohere run yet.
  • The rc.101 documentation set and /get --with-model (#2969): the
    /_facts API, model bundle and quickstart pages, and an installer flag that
    fetches the model bundle with the binary and checks its sha256.

Changed

  • Serve rule R8 (opt-in per bundle; the rc.102 bundle opts in).
    bundle.json may name facts.rule = "decline_v2_r8" and
    counting.signal = "H". Under decline_v2_r8 the facts path serves the
    raw program's answer where decline_v2 would have declined it with policy
    code D2C_COUNT_COMPARISON or D2D_TYPE_DATE; every other code declines as
    before. Under signal H a count is served on its own hard checks, without
    the partner model. A bundle that names neither keeps decline_v2 and
    signal A. The rule and its numbers are summarised at the top of this
    section.
  • XERJ Query-1 launch claims corrected across the site, README and docs after
    a review of 1,370 statements on 13 surfaces (#3023): latency is answer time
    against Messages API time, never CLI start-up; the accuracy headline names
    its scope (each question's own records given, development-set questions);
    corpora are named next to numbers.
  • The /_facts wait loop in landing/llms.txt and docs/MODEL_QUICKSTART.md
    stops on unavailable and xerj_query_not_enabled instead of polling
    forever (#3028). This is the docs half of issue #3021; the start-up half
    stays open.

Fixed

  • A count the counting op-set cannot express is no longer served (partial
    fix of issue #3015). rc.101
    served "How many people are in Berlin or Munich?" (Berlin x2, Munich x1) as
    a verified count of 1, because both models dropped the or and agreed on
    the program for Munich alone. When the serve rule would serve a count and
    the question joins alternatives with or (either … or, nor) or asks
    for a sum or a total of a quantity ("total height"), the answer is now a
    decline on the counting path: final_status: "UNKNOWN", reason_code: "COUNT_CONNECTIVE_UNSUPPORTED", a reason naming the connective, and the
    withheld program's sha as withheld_program_sha256. An or that only makes
    a threshold inclusive ("12 lines or more", "on or after 1990-01-01") is a
    count the op-set expresses and is still served. The guard matters more
    under R8, which drops the partner check: on the rc.102 release binary with
    the rc.102 bundle, both "How many people are in Berlin or Munich?" and "How
    many people have office Berlin or Munich?" reached the serve point with a
    one-city program (the withheld shas are those of "office Munich" and
    "office Berlin") and are declined; "How many people have office Berlin?"
    is still served as 2. Regression tests: the three Berlin-or-Munich probes
    (xerj-serve unit tests, and an HTTP test over the real models). What
    stays open on #3015: returning the counted member ids.
  • _search with profile: true reports measured phase timings, in
    nanoseconds, instead of 0/1 ns placeholders (#3029, issue #3005). Only
    phases are measured: a non-zero breakdown timer is its phase total (an
    upper bound), *_count fields are not measured, and the new field
    profile.xerj_timing says so.
  • Tied kNN neighbours are ranked by score, then seq_no, then _id on every
    executor (#3030, issue #3017), so a kNN or hybrid ranking with ties is the
    same in the indexing process and after a restart. On a synthetic 5,000-doc
    set with 2,500 distinct 384-d vectors and 160 queries, indexing process
    versus restart went from 234 of 320 identical rankings to 320 of 320.
  • The proxy embedder accepts embedding responses without a per-item index
    (Cohere's OpenAI-compatible route omits it), so semantic_text writes
    through such a route no longer fail with response parse (#2983).
  • The aarch64 Linux release assets are built with a 64 KiB jemalloc page
    agai...
Read more

hub pack: rust-vulns @ caf0406d

Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Nov 04:44
Immutable release. Only release title and notes can be modified.
cfdea42

Pre-indexed, signed Corpus Hub v2 pack for the rust-vulns record corpus.

  • content pin: caf0406df2ffaa4b81c9878fa7a13215981dd714 (records of 2026-11-08)
  • licence: CC0-1.0 (adapt-with-attribution)
  • definitions: 2916, files: 2
  • built by: xerj 1.0.0-rc.102

Use it: xerj hub pull rust-vulns. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.

Built by https://github.com/xerj-org/xerj/actions/runs/42446821657 from tools/packs/rust-vulns/recipe.toml

hub pack: rust-vulns @ caf0406d

Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Nov 04:44
Immutable release. Only release title and notes can be modified.
8d60d3c

Pre-indexed, signed Corpus Hub v2 pack for the rust-vulns record corpus.

  • content pin: caf0406df2ffaa4b81c9878fa7a13215981dd714 (records of 2026-11-07)
  • licence: CC0-1.0 (adapt-with-attribution)
  • definitions: 2916, files: 2
  • built by: xerj 1.0.0-rc.101

Use it: xerj hub pull rust-vulns. The archive is checked against the hub key (sha256, then ed25519 signature) before anything is extracted.

Built by https://github.com/xerj-org/xerj/actions/runs/42338433850 from tools/packs/rust-vulns/recipe.toml

rust-vulns corpus pack (pack-rust-vulns-2026-11-08)

Choose a tag to compare

@github-actions github-actions released this 08 Nov 04:39
Immutable release. Only release title and notes can be modified.
cfdea42

The rust-vulns corpus pack, built and signed by the scheduled
pack publish workflow from tools/packs/rust-vulns/recipe.toml.

One release per build; under immutable releases a same-day
rebuild publishes under -r2, -r3, … instead of replacing
the day's earlier release. The newest is always at
https://github.com/xerj-org/xerj/releases?q=pack-rust-vulns
Build history lives in the releases themselves and in the
workflow runs.

Install (public key: tools/packs/keys/rust-vulns.pub in the repo):

xerj corpus add rust-vulns --from rust-vulns-pack.zip \
  --verify-sig rust-vulns.pub
xerj corpus index rust-vulns

rust-vulns-freshness.json carries the build date and record
count; the same 30-day staleness refusal that governs every
reference corpus governs this one.