kan
build a concise, source-built, secure and agent-first Linux distro within a single repository
What XERJ indexed
Snapshot
Only assets, build, docs, toolchain/study/asan at commit 4ef8677a6d (2026-10-23). master is 30 commits ahead.
Selected work

“refine project”. 229 files, 7,583 lines in toolchain, the project root.
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-24. 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
- Where does kan handle “refine project”?
- What does toolchain do in kan?
Inside the indexed corpus
- 20,880 files, 460.3 MB in total, about 22.6 KB per file.
- The selected commit changed 229 of those files (1.1%).
- On GitHub since 2026-09-18, last push 2026-10-31, 32 commits on master.
- The pin is 30 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for kan-linux/kan on 2026-10-31, and the LICENSE file at commit 4ef8677a6d was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Jeff Zhou (@zhouwg) has 1 selected repository on the hub.
Using XERJ with kan
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 20,880 files.
- Batch lookup CVE and GHSA IDs offline in one query The hub files it under Security and vulnerabilities.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones kan-linux/kan at the pinned commit and indexes it on your machine.
Search the GitHub repository kan-linux/kan with XERJ (https://hub.xerj.org/corpus/kan-linux--kan). 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/kan-linux/kan kan && git -C kan checkout 4ef8677a6d0506cacdc27b0e0af61be5739128d2 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./kan --url http://127.0.0.1:9200 --prefix kan --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: MIT. Keep the copyright notice and credit the authors.
Related
Jeff ZhouSecurity and vulnerabilities corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.