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.

polish(scripts): harbor-3arm fails loudly when XERJ_BIN is unset (#1561)

xerj-org4a88b5394610
diff --git a/tools/benchmarks/harbor-3arm/xerj_agents.py b/tools/benchmarks/harbor-3arm/xerj_agents.py
index 4bc040e61..5d0e2794e 100644
--- a/tools/benchmarks/harbor-3arm/xerj_agents.py
+++ b/tools/benchmarks/harbor-3arm/xerj_agents.py
@@ -53,7 +53,8 @@ class ClaudeCodeXerj(ClaudeCode):
@override
async def install(self, environment: BaseEnvironment) -> None:
await super().install(environment)
- if not str(XERJ_BIN) or not XERJ_BIN.exists():
+ # Path("") is Path("."), which exists: an unset XERJ_BIN must fail here.
+ if not XERJ_BIN.is_file():
raise RuntimeError(
"Set XERJ_BIN to the x86_64-unknown-linux-musl release binary "
"(https://github.com/xerj-org/xerj/releases) — musl, not a "