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
docs(reference-coding): opener prompt names `xerj corpus`/`xerj code`, not the removed xc scripts
xerj-orgd57f66d631fb
diff --git a/docs/case-studies/reference-coding/OPENER_PROMPT.md b/docs/case-studies/reference-coding/OPENER_PROMPT.mdindex 1f25702cf..bfb248d5c 100644--- a/docs/case-studies/reference-coding/OPENER_PROMPT.md+++ b/docs/case-studies/reference-coding/OPENER_PROMPT.md@@ -8,12 +8,12 @@ look up.--insecure`).2. Look at this project — its dependencies, the domains its code touches — anddecide which well-known open-source libraries already solve those problems.- Clone them into a reference corpus with `tools/xerj-code/scripts/xc-corpus.sh`, grouped by- problem domain (async, parsers, storage, …), not by language.-3. Index that corpus with `xc-index.sh` (it runs `xerj autoindex`).+ Clone them into a reference corpus with `xerj corpus add <name> <git-url>...`,+ grouped by problem domain (async, parsers, storage, …), not by language.+3. Index that corpus with `xerj corpus index <name>` (it runs `xerj autoindex`).4. From now on, for **every** coding task this session: before you writenon-trivial code against an unfamiliar, external, or internal-but-uncommon- API, first run `xc.py <corpus> "<what you need>"` to retrieve the real+ API, first run `xerj code <corpus> "<what you need>"` to retrieve the realimplementation, read the returned definition, and adapt it — cite `file:line`when you rely on it, and check the licence before copying. If retrievalreturns nothing relevant, say so and fall back to normal work. If you've loopeddiff --git a/docs/case-studies/reference-coding/OPENER_VERIFICATION.md b/docs/case-studies/reference-coding/OPENER_VERIFICATION.mdindex 412814b49..b2d67207e 100644--- a/docs/case-studies/reference-coding/OPENER_VERIFICATION.md+++ b/docs/case-studies/reference-coding/OPENER_VERIFICATION.md@@ -5,6 +5,10 @@ Claude Code agent, then independently verified (the verifier re-checked thefilesystem and XERJ, and compiled + tested the output — it did not trust theexecutor's report).+That run used the wrapper scripts of the time (`xc-index.sh`, `xc.py`); they+were removed in #977, and the opener now names their built-in equivalents,+`xerj corpus index` and `xerj code`.+**Scenario.** A running XERJ at `:9200`, the `xerj-code` skill available, and onereference library downloaded locally: `sift`, a real Rust crate whose API isdeliberately *not* `new()/push()/top_k()` but a two-phase, seal-gated count-min