speclaw
Where specs become law. One command turns any repo into a spec-driven, agent-ready project: Foundation (laws + gates), Compass (local code graph), Lawbook (spec workflow, ceremony 0-3) and Cortex (multi-agent loop). CLI + MCP server for Claude Code, Cursor, Codex & Windsurf. 100% local: no LLM, no cloud
What XERJ indexed
Snapshot
The whole repository at commit 99395e3a74 (2026-10-16). main is 13 commits ahead.
Selected work

“time harness stages from their evidence, not the stop”. 3 files, 203 lines in src/modules, test.
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-18. 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
agenticai-agentsclaude-codeclicode-intelligencecursordeveloper-toolsllm-tools
Example questions
- How does speclaw implement agentic?
- Where does speclaw handle “time harness stages from their evidence, not the stop”?
- What does src/modules do in speclaw?
Inside the indexed corpus
- 532 files, 3.5 MB in total, about 6.8 KB per file.
- The selected commit changed 3 of those files (0.6%).
- Languages by size: TypeScript 91.3%, JavaScript 8.3%, Shell 0.4%.
- On GitHub since 2026-08-02, last push 2026-10-19, 316 commits on main.
- The pin is 13 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for esneiderbravo/speclaw on 2026-10-31, and the LICENSE file at commit 99395e3a74 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Esneider Bravo (@esneiderbravo) has 1 selected repository on the hub.
Using XERJ with speclaw
- Code search MCP for Claude Code: cite file:line, not grep speclaw is tagged mcp on GitHub.
- What is an MCP memory server?
- A local search tool for Codex and Cursor speclaw is tagged claude-code on GitHub.
- Local code search MCP that uses fewer tokens than grep
The prompt
Paste it into your AI agent. It clones esneiderbravo/speclaw at the pinned commit and indexes it on your machine.
Search the GitHub repository esneiderbravo/speclaw with XERJ (https://hub.xerj.org/corpus/esneiderbravo--speclaw). 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/esneiderbravo/speclaw speclaw && git -C speclaw checkout 99395e3a745af0984d9161cb0b4d712a25358cc8 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./speclaw --url http://127.0.0.1:9200 --prefix speclaw --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
Esneider BravoAI, prompts and agents corporafaahxerj-blogpostsautogenrobert19001-cmyk/mcp-lintTaksuma-0/mi-sii-mcpGabrielMartinMoran/mind
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.