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.

docs(xerj-code): five live hub corpora join the skill's domain table

xerj-org1b3a2207b406
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54d0caebf..6f11e359f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
+- **The vector leg of `xerj code` hybrid/semantic retrieval** (issues
+ [#1145](https://github.com/xerj-org/xerj/issues/1145) and
+ [#1148](https://github.com/xerj-org/xerj/issues/1148), PR
+ [#1153](https://github.com/xerj-org/xerj/pull/1153) by
+ [thomas-villani](https://github.com/thomas-villani)) — the semantic
+ clause went out with no `k`, so the parser default (10) capped the
+ vector pool whatever the request size said: `--mode semantic -k 20`
+ returned 10 hits, and hybrid fused BM25@50 with vector@10. The clause
+ now carries the fetch window as `k`. And `--lang` sat beside the
+ semantic clause in `bool.must`, a shape the engine's vector dispatch
+ does not peel — the request silently fell through to the lexical path
+ and answered 200 with zero hits. The language constraint now rides in
+ `bool.filter`, on both hybrid legs, keeping the semantic clause the
+ bool's single `must` — the exact shape the dispatcher peels.
- **Corpus generation hygiene** (issue
[#1136](https://github.com/xerj-org/xerj/issues/1136)) — stale index
generations no longer survive beside a corpus, silently poisoning its
@@ -24,6 +38,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
to. `xerj code` now also prints a stderr notice when a corpus has no
verified build recorded and the query is widening to the whole
namespace.
+- **HTML tables and paragraph boundaries in autoindex** (PR
+ [#1154](https://github.com/xerj-org/xerj/pull/1154) by
+ [thomas-villani](https://github.com/thomas-villani)) — a table on a
+ page indexed as one document lost its text twice over: it was not the
+ dominant table (so not emitted as rows) and cell text never reached
+ the body. Small tables — option lists, version matrices, the common
+ case on documentation pages — were silently unindexed. The rows now
+ go to the body in place, one ` | `-joined line per row, the shape
+ PPTX tables already use. And `<p>`/`<div>`/list ends now end a
+ paragraph, so `split_sections` breaks pages at paragraph ends instead
+ of hard-cutting every 2 KB mid-word behind a heading emitted as its
+ own empty section.
## [1.0.0-rc.82] - 2026-10-05
diff --git a/tools/xerj-code/SKILL.md b/tools/xerj-code/SKILL.md
index 7fd30ae6d..7caaeee0b 100644
--- a/tools/xerj-code/SKILL.md
+++ b/tools/xerj-code/SKILL.md
@@ -81,7 +81,7 @@ project's domain, not by size:
|---|---|---|
| a search / query engine | `xerj-search` | postings, BM25, merge policy, segment layout, ES wire semantics |
| vector search / ANN | `xerj-vector`, `faiss`, `annoy` | HNSW build, neighbour heuristics, quantisation, filtered kNN; faiss is the reference ANN implementation, annoy the forest variant |
-| storage engine / KV | `xerj-storage`, `duckdb`, `rocksdb`, `leveldb`, `badger`, `lmdb`, `valkey-src` | WAL, crash recovery, compaction, page allocation; LSM-vs-B trees; valkey for an in-memory KV server's data structures |
+| storage engine / KV | `xerj-storage`, `duckdb`, `rocksdb`, `leveldb`, `badger`, `lmdb`, `pebble`, `valkey-src` | WAL, crash recovery, compaction, page allocation; LSM-vs-B trees; pebble for L0 sub-levels and range-deletion semantics; valkey for an in-memory KV server's data structures |
| analytical / columnar | `xerj-columnar`, `duckdb`, `arrow-rs`, `parquet-format`, `iceberg` | columnar layout, codecs, vectorised scans, table formats |
| a database server | `sqlite-src`, `postgres-src` | parsers, planners, executors — the two most-studied codebases in the field |
| messaging / consensus | `kafka-src`, `rabbitmq`, `nats-server`, `etcd-src`, `raft-rs`, `dragonboat` | log compaction, delivery semantics, quorum/lease correctness |
@@ -100,6 +100,10 @@ project's domain, not by size:
| internationalisation | `unicode-cldr` | CLDR locale data structure, calendar/number/date skeletons |
| security review of dependencies | the `rust-vulns` pack (`xerj corpus add --from` the hub recipe) | real patched-vulna pairs, mined for #1111's defect-class study |
| vulnerability / weakness taxonomy | `mitre-cwe`, `mitre-capec` | CWE weakness definitions and CAPEC attack patterns, id-level |
+| adversary techniques / detection engineering | `mitre-attck` | ATT&CK v19.2 per-technique records: technique ids, tactics, detection data sources, procedure examples (enterprise/mobile/ics; software and group objects out of scope) |
+| patch-priority triage | `cisa-kev` | the Known Exploited Vulnerabilities catalogue, one record per CVE — exploitation status in the wild, binding remediation dates |
+| web application security how-to | `owasp-cheatsheets` | the Cheat Sheet Series' countermeasure recipes per topic — session management, authentication secrets, error handling, upload handling |
+| planning a web app penetration test | `owasp-wstg` | the Web Security Testing Guide v4.2 catalogue: per-test objectives and method, organised by category (authn, authz, session, input handling) |
| triaging an active campaign | `cisa-alerts` | CISA advisory IOCs, required actions and mitigations (2025-05..2026-10 window) |
| querying endpoint visibility | `osquery-config-examples` | real deployed osquery packs and scheduled-query shapes |
| non-software (tax, employment, UK law) | `ecfr-title-12`, `ecfr-title-29`, `ecfr-title-26`, `uk-legislation` | consolidated current regulation, section-per-file |