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(test): brain_cli fixture expected the pre-cross-type edge set
xerj-orgd85767b4f1ab
diff --git a/engine/crates/xerj-server/tests/brain_cli.rs b/engine/crates/xerj-server/tests/brain_cli.rsindex 214ec9b7e..8bc2d62a0 100644--- a/engine/crates/xerj-server/tests/brain_cli.rs+++ b/engine/crates/xerj-server/tests/brain_cli.rs@@ -195,8 +195,8 @@ fn brain_end_to_end_five_note_fixture() {let edges1 = live_edges(&es);assert_eq!(edges1.len(),- 8,- "fixture yields 4 wikilink + 4 same_dir edges, got: {edges1:#?}"+ 13,+ "fixture yields 4 wikilink + 4 same_dir + 5 sequence openers (SPEC \u{00a7}8.3), got: {edges1:#?}");let mut by_detector: BTreeMap<String, u64> = BTreeMap::new();for e in &edges1 {@@ -206,12 +206,16 @@ fn brain_end_to_end_five_note_fixture() {}assert_eq!(by_detector,- BTreeMap::from([("wikilink@1".to_string(), 4), ("samedir@1".to_string(), 4)])+ BTreeMap::from([+ ("wikilink@2".to_string(), 4),+ ("samedir@2".to_string(), 4),+ ("sequence@2".to_string(), 5),+ ]));// §8.2 — wikilink evidence (source file, byte offset), exact.let wikilinks: BTreeSet<(String, u64)> = edges1.iter()- .filter(|e| e["_source"]["detector"] == json!("wikilink@1"))+ .filter(|e| e["_source"]["detector"] == json!("wikilink@2")).map(|e| {(e["_source"]["evidence"]["source"].as_str().unwrap().into(),