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
seo: FC-CLI-SUBCOMMAND fired on `xerj search`, which exists (#963)
xerj-orga589fe44c6de
diff --git a/scripts/seo/claims_rules.py b/scripts/seo/claims_rules.pyindex ecbad4135..157cf7c9b 100644--- a/scripts/seo/claims_rules.py+++ b/scripts/seo/claims_rules.py@@ -944,13 +944,15 @@ RULES = ["sev": ERROR,"kind": "pattern","code": True,- "pattern": r"\bxerj\s+(?:query|snapshot|cluster|migrate|restore|backup|admin|search)\b",- "reason": "The subcommands are `index`, `autoindex`, `brain`, `mcp` and `share`. There is no "- "`xerj query`, `xerj snapshot`, `xerj cluster` or `xerj migrate`. (`xerj mcp` "- "itself landed in rc.17 - on rc.16 it returns `unknown argument: mcp`.)",+ "pattern": r"\bxerj\s+(?:query|snapshot|cluster|migrate|restore|backup|admin)\b",+ "reason": "The subcommands are `index`, `autoindex` (+ `autoindex map`), `search`, `def`, "+ "`init`, `gain`, `brain`, `mcp`, `share` and `feedback`. There is no "+ "`xerj query`, `xerj snapshot`, `xerj cluster`, `xerj migrate`, `xerj restore`, "+ "`xerj backup` or `xerj admin` — those are HTTP calls against the running node.","evidence": [LC + ":56", LC + ":641"],- "rewrite": "Use `xerj index`, `xerj autoindex`, `xerj brain`, `xerj mcp` or `xerj share`. Everything else "- "is an HTTP call against the running node.",+ "rewrite": "Use one of the real subcommands - `xerj index`, `xerj autoindex`, `xerj search`, "+ "`xerj def`, `xerj init`, `xerj gain`, `xerj brain`, `xerj mcp`, `xerj share`, "+ "`xerj feedback`. Everything else is an HTTP call against the running node.",},{"id": "FC-MEMORY-DECAY",diff --git a/scripts/seo/testdata/factcheck/good_cli_search.md b/scripts/seo/testdata/factcheck/good_cli_search.mdnew file mode 100644index 000000000..eba946daf--- /dev/null+++ b/scripts/seo/testdata/factcheck/good_cli_search.md@@ -0,0 +1,19 @@+---+title: "Search your indexed code from the CLI"+evidence:+ - claim: "`xerj search \"<text>\"` retrieves code/passages from a running node"+ source: "engine/crates/xerj-server/src/main.rs:280"+ - claim: "`xerj def \"<symbol>\"` is the go-to-definition client"+ source: "engine/crates/xerj-server/src/main.rs:283"+---++Search the running node from the shell:++ xerj search "wal fsync"++and jump straight to a definition:++ xerj def "write_file_durable"++Both are real subcommands (`xerj search`, `xerj def`); the node itself is+everything else, over HTTP on :9200.