huqan
Local-first verification layer for AI agents: evidence, provenance, policy gates, human approval, and auditable Trust Receipts before a claim, memory write, or action is trusted
What XERJ indexed
Snapshot
The whole repository at commit b4c2159da7 (2026-10-19). main is 228 commits ahead.
Selected work

“fail closed when the repository state cannot be read (#40…”. 11 files, 296 lines in test, lib, scripts.
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-05. 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
agentic-workflowai-safetymcpai-agentsdeterministicagent-securityai-governancehuman-in-the-loop
Example questions
- How does huqan implement agentic-workflow?
- Show the ai-safety code in huqan.
Inside the indexed corpus
- 3,958 files, 39.7 MB in total, about 10.3 KB per file.
- The selected commit changed 11 of those files (0.3%).
- Languages by size: JavaScript 98.4%, HTML 0.3%, Rust 0.3%, Shell 0.3%, Python 0.3%.
- On GitHub since 2026-07-14, last push 2026-10-31, 5,143 commits on main.
- The pin is 228 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for ali-ulu/huqan on 2026-10-31, but the LICENSE file at commit b4c2159da7 was reviewed as AGPL-3.0. The corpus is the pinned commit, so answers from it follow AGPL-3.0.
Contributors
Ali Ulu (@ali-ulu) has 2 selected repositories on the hub.
Their other repository pages: ali-ulu/huqan.
Using XERJ with huqan
- Code search MCP for Claude Code: cite file:line, not grep huqan is tagged mcp on GitHub.
- What is an MCP memory server?
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 3,958 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
The prompt
Paste it into your AI agent. It clones ali-ulu/huqan at the pinned commit and indexes it on your machine.
Search the GitHub repository ali-ulu/huqan with XERJ (https://hub.xerj.org/corpus/ali-ulu--huqan). 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/ali-ulu/huqan huqan && git -C huqan checkout b4c2159da78ae8ca86d03d0177228245f22d1d89 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./huqan --url http://127.0.0.1:9200 --prefix huqan --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: AGPL-3.0. Keep the copyright notice and credit the authors.
Related
Ali UluAI, prompts and agents corporar2r-enforceborsh-rsr2r-mcprecued/recuedJaycubic/toolboundaryrunxhq/runx
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.