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.

rc.92 window: add #1258 (corpus-declared text weight, #1254) and correct the ROADMAP mechanism line

xerj-orgf9aade91b614
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aa5f70d40..7fcaf040c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -50,6 +50,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
#1244 stays open for the same completion condition as above: the suite
reruns on the rebuilt corpora close it, not this code.
+- **A corpus whose primary content rides the plain-text family was invisible
+ to `xerj code`** (issue
+ [#1254](https://github.com/xerj-org/xerj/issues/1254), PR
+ [#1258](https://github.com/xerj-org/xerj/pull/1258)) — the `text^0.5`
+ recall-leg weight is the #1238 calibration for corpora where the text
+ family carries mirror noise beside code-family `body` records, but
+ otel-proto's primary content IS the text family (every `.proto` definition
+ is a txt-lines record), so the discount hid the corpus's point: the
+ pre-registered G7 suite's four proto needles ranked 19/absent/39/23 behind
+ semantic-conventions prose. Two earlier mechanisms were measured and
+ disproven first — absence (a filename wildcard on `ax_file`, which holds
+ content digests; the correct `ax_path` probe shows all 79 records) and
+ txt-lines chunk-splitting (a simulated whole-document route ranked the
+ needle 25th, worse than the real chunks' 19th: length dilution beats mass
+ concentration). A corpus may now declare `query.text_weight` in its
+ `corpus.json` (bounds 0.25..=4.0 enforced; outside them the client warns
+ and keeps the 0.5 default), hub pins carry the block through
+ `corpus add --from`, and the query path applies it to the `text^` slot.
+ Measured on the unchanged index bytes: all four needles 19/absent/39/23 →
+ rank 1, the suite re-grades 5/5 against a ≥3/5 bar, and the no-hint path
+ is byte-identical old vs new binary (diffed on cisa and
+ exploit-pocs-2026). #1254 stays open only for the minor
+ `code_files=0` labeling gap in the index terminal line.
+
<!-- notes-exempt: #1252 (changelog-only carry of the rc.92 entries; no code,
cites the window PRs #1246 and #1251 itself) -->
diff --git a/ROADMAP.md b/ROADMAP.md
index 428d7c3c7..4069797cb 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -13,13 +13,19 @@ not the live-settable `max_query_memory_mb`, and the mitigation is the
`XERJ_MAX_PROCESS_MEMORY_MB` restart; the same cap was then measured
driving an *idle* flush loop — two parked A/B nodes wrote 644 GB and
858 GB to disk in seven hours with no client traffic. #1254
-(re-attributed same-day, like #1250): definition-format files fall to
-txt-lines line-chunking — all 11 otel-proto `.proto` files ARE indexed
-(79 chunk records), but each competes as a ~2KB fragment against
-whole-document prose, so the suite's needle ranked 19th and the corpus
-graded FAIL 1/5; the original "silently unindexed" claim was retracted
-(its probe wildcarded `ax_file`, which stores content digests, not
-filenames). #1244 **stays open** with both mechanism fixes merged
+(re-attributed twice in one day, each time by measurement): the original
+"silently unindexed" claim was retracted first (its probe wildcarded
+`ax_file`, which stores content digests, not filenames — `ax_path`
+shows all 79 `.proto` records present), then the txt-lines
+chunk-splitting mechanism was retracted too (a simulated whole-document
+route ranked the needle 25th, worse than the real chunks' 19th — length
+dilution beats mass concentration). The single effective variable is the
+`text^0.5` recall-leg weight, the #1238 calibration, which discounts
+exactly the family a text-primary corpus lives on; the corpus-declared
+`query.text_weight` fix ([#1258](https://github.com/xerj-org/xerj/pull/1258))
+moved all four G7 needles to rank 1 on the unchanged index and the
+suite re-graded 5/5. The issue **stays open** for the minor
+`code_files=0` labeling gap in the index terminal line. #1244 **stays open** with both mechanism fixes merged
inside the window ([#1246](https://github.com/xerj-org/xerj/pull/1246),
[#1251](https://github.com/xerj-org/xerj/pull/1251)): its completion
condition is the pre-registered G7 suites passing on rebuilt corpora,
@@ -234,12 +240,16 @@ ingest oscillates on the parent RSS breaker; root cause re-attributed
same-day to the boot-time tiered process cap, mitigation the
`XERJ_MAX_PROCESS_MEMORY_MB` restart, and the same cap drives an idle
flush loop measured at 644/858 GB of writes) and
-[#1254](https://github.com/xerj-org/xerj/issues/1254) (definition
-formats fall to txt-lines line-chunking, so otel-proto's 11 `.proto`
-files — indexed, 79 chunk records — compete as ~2KB fragments against
-whole-document prose; the needle ranked 19th and the corpus graded
-FAIL 1/5; the original silent-unindexing claim was retracted the same
-day).
+[#1254](https://github.com/xerj-org/xerj/issues/1254) (the `text^0.5`
+recall-leg weight — the #1238 calibration — makes a text-PRIMARY corpus
+invisible: otel-proto's `.proto` definitions ARE indexed, 79 records,
+but four G7 needles ranked 19/absent/39/23 behind prose; two earlier
+mechanisms, absence and chunk-splitting, were each retracted by
+measurement. The corpus-declared `query.text_weight` fix
+([#1258](https://github.com/xerj-org/xerj/pull/1258)) moved all four
+needles to rank 1 on unchanged index bytes and the suite re-graded 5/5;
+the issue stays open for the `code_files=0` terminal-line labeling
+gap).
[#1244](https://github.com/xerj-org/xerj/issues/1244) (the `xerj code`
own-field recall legs and the multi-family family-route gate both
merged in rc.92; the issue stays open until the pre-registered G7