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 catalog namespace diagnostics and stabilize the auth-discovery test

xerj-org08ffb558e16f
diff --cc engine/crates/xerj-autoindex/src/cli.rs
index fa70cc173,bd648d716..d3eee3e87
--- a/engine/crates/xerj-autoindex/src/cli.rs
+++ b/engine/crates/xerj-autoindex/src/cli.rs
@@@ -3952,6 -3952,6 +3952,9 @@@ mod tests
/// is the `--dry-run` preview. A bare `map` still reads the catalog.
#[test]
fn map_with_a_folder_is_the_dry_run_preview_and_bare_map_stays_the_catalog() {
++ // Both parses discover local auth. Hold the same lock as the
++ // sandbox tests so cwd/key discovery cannot change between them.
++ let _env = ENV_LOCK.lock().unwrap_or_else(|poison| poison.into_inner());
let help = super::help_text();
assert!(
help.contains("xerj autoindex map <folder>"),