AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
fix(rerank,docs): classify the corpus builder's fetcher on the egress inventory
xerj-org7497930a64ac
diff --git a/docs/RERANK.md b/docs/RERANK.mdindex 424b56d09..c4c3880b7 100644--- a/docs/RERANK.md+++ b/docs/RERANK.md@@ -360,6 +360,7 @@ client appears in a source file this list does not account for:| **Object storage backend** — `[storage]`, `S3Backend` | S3 requests to the configured endpoint: bucket and key names, ranged reads, and the credentials from the environment. The index bundles it writes when it is the active home DO carry stored document text — no query text ever leaves | Since v1.0.0-rc.77 ([#1008](https://github.com/xerj-org/xerj/pull/1008) closing [#965](https://github.com/xerj-org/xerj/issues/965)): one immutable ZBM1 bundle per segment family plus `snapshot.json`, when `storage.backend = "s3"` and `storage.s3_bucket` names an existing bucket | Off: the default backend is `local` || **`xerj autoindex s3://`** (client, not the node) — `--endpoint-url`, `AWS_*` | S3 requests to the configured endpoint: bucket and key names and the credentials; the objects travel INTO the machine, and their text then goes to the node URL you gave the client | While that command runs | Off: only when you pass an `s3://` root || **`xerj autoindex s3:// --watch`** (client, not the node) — `--interval`, `--endpoint-url`, `AWS_*` | The same S3 requests as above, repeated every interval: a `ListObjectsV2` page per cycle plus a GET per changed object. Billed to the operator's object-store account, so the run keeps a spend ledger and stops at its budget | Every `--interval` while the watch runs | Off: only with `--watch` on an `s3://` root |+| **`xerj corpus build`** (client, not the node) — recipe `[[sources]]` `url` | HTTPS GETs to the source URLs your recipe names (one per `http-zip` source per build, plus the `git clone`/`fetch` a `git` source runs). Records travel INTO the machine; no document text and no credentials are sent upstream — it is a read-only fetch | While `xerj corpus build` runs | Off: only when a recipe declares an `http-zip` or `git` source |A node started with the defaults opens none of these connections, and makes notelemetry, update-check or licence call. Two things outside the node completediff --git a/engine/crates/xerj-rerank/tests/egress_inventory.rs b/engine/crates/xerj-rerank/tests/egress_inventory.rsindex 3bb6a3896..e26f2852f 100644--- a/engine/crates/xerj-rerank/tests/egress_inventory.rs+++ b/engine/crates/xerj-rerank/tests/egress_inventory.rs@@ -107,6 +107,14 @@ const KNOWN: &[(&str, Role)] = &["xerj-autoindex/src/objwatch/s3.rs",Role::Client("`xerj autoindex s3:// --watch`"),),+ // The corpus builder's http-zip fetcher (#1046). Read-only: sources come+ // IN (a GET per http-zip source per build); no document text is ever+ // sent upstream, so DATA_EGRESS and the air-gapped rows do not change.+ // Git sources shell out to `git`, which the marker list does not track.+ (+ "xerj-autoindex/src/harvest/httpget.rs",+ Role::Client("`xerj corpus build`"),+ ),("xerj-autoindex/src/objsource_minio_tests.rs",Role::TestOnly,