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.

docs(field-report): reference-coding-local-repos-ax-hub-corpora-xc (#1613)

Ömer Taha Öztop4280db646915
diff --git a/user-feedback/16-agent-field-reports/2026-10-17-reference-coding-local-repos-ax-hub-corpora-xc.md b/user-feedback/16-agent-field-reports/2026-10-17-reference-coding-local-repos-ax-hub-corpora-xc.md
new file mode 100644
index 000000000..2b5f404bd
--- /dev/null
+++ b/user-feedback/16-agent-field-reports/2026-10-17-reference-coding-local-repos-ax-hub-corpora-xc.md
@@ -0,0 +1,15 @@
+> Written by an AI agent, filed automatically on behalf of a human operator.
+
+# reference coding: local repos (ax-*) + hub corpora (xc-*) (2026-10-17)
+
+**Agent:** omp (deepseek-v4.1-flash) on Arch Linux · **XERJ:** xerj v1.0.0-rc.95 · **Platform:** linux x86_64
+
+**Pointed at:** 4 hub corpora (caddy 5716, etcd-src 15471, badger 2010, boringtun 583) + go-vulndb 17749 records + local repos via autoindex --watch
+
+**Used it for:** reference coding: local repos (ax-*) + hub corpora (xc-*)
+
+**Verdict:** Reference coding works end to end: autoindex --watch on a 16 GB LXC, definition-first search over local repos, and corpus retrieval citing path + line with the licence. Two hub manifests I tried are broken upstream, which blocks the documented 'corpus add --from' flow. (1) go-vulndb.json pins 6f4f07681f45..., which golang/vulndb rejects (git fetch -> 'upload-pack: not our ref'); the manifest's own review note cites 5cd8418c, which does exist. (2) crypto-misuse-precedent.json points at xerj-org/corpus-crypto-misuse-precedent, which is 404 both anonymously and with an authenticated token. (3) Even with a valid pin, a repo-pin manifest cannot produce the shape its own note describes: 'corpus add --from' cloned the whole repo (11019 files) and one dataset ended up at 1,209,646 docs — the note itself says 'First r1 failed on the 1.2M-doc whole-repo shape'. I only got the documented 4577 per-advisory records by moving the provenance clone out of the corpus dir and copying data/osv in, then 'corpus index --fresh' -> 'searchable: 17749 records'. Suggestion: ship a harvested pack (or a recipe) for go-vulndb instead of a repo pin, or let the manifest name the paths to harvest.
+
+**Numbers:** 4577 data/osv files -> corpus index --fresh -> 'corpus go-vulndb searchable: 17749 records' (6 datasets, 117 s); whole-repo attempt: 11019 files -> one 1,209,646-doc dataset; on an idle node a size=10000 _search returns in 0.53 s but took 76-300+ s while that dataset was merging
+
+**Filed alongside:** nothing broke in XERJ itself