What XERJ indexed
Snapshot
The whole repository at commit 43324bde29 (2026-09-28). It is the newest commit on main.
Selected work

“facts.py, Facts.lean and the audit read a product of two constants an…”. 11 files, 274 lines in tests, evidence, tools.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-17. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- What does evidence do in cairn?
Inside the indexed corpus
- 1,987 files, 18.6 MB in total, about 9.6 KB per file.
- The selected commit changed 11 of those files (0.6%).
- Languages by size: Python 80.8%, C++ 9.2%, Lean 5.7%, Rust 1.9%, Cuda 1.3%.
- On GitHub since 2026-09-18, last push 2026-10-29, 832 commits on main.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for SamMausberg/cairn on 2026-10-31, but the LICENSE file at commit 43324bde29 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Sam Mausberg (@SamMausberg) has 1 selected repository on the hub.
Using XERJ with cairn
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones SamMausberg/cairn at the pinned commit and indexes it on your machine.
Search the GitHub repository SamMausberg/cairn with XERJ (https://hub.xerj.org/corpus/sammausberg--cairn). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/SamMausberg/cairn cairn && git -C cairn checkout 43324bde297bec7ac696fd9e4174ca248b6bccad 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./cairn --url http://127.0.0.1:9200 --prefix cairn --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
Sam MausbergAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.