Ranked Retrieval
Find the right files for any topic. CARI combines code structure, document semantics, and git history into a single ranked score with explanations.
npm install -g @intentweave/clicd your-project
iw initiw index build # < 3 seconds, zero API callsiw index retrieve "authentication" # ranked file retrievaliw index connections "AuthService" # cross-layer connections + gapsiw index check --changed src/auth.ts # CI drift detectioniw index report # health dashboardRanked Retrieval
Find the right files for any topic. CARI combines code structure, document semantics, and git history into a single ranked score with explanations.
Connections & Gaps
See which entities co-occur in docs, co-change in git, or share code imports — and where these signals disagree. Disagreement reveals hidden couplings.
CI Drift Checks
Catch stale documentation before it ships. iw index check detects docs that
reference changed code and reports them as CI warnings.
Measured on the IntentWeave monorepo (264 code files, 7 docs, 5316 symbols):
| Metric | Structured | Full-Depth |
|---|---|---|
| Build time | 1.1 s | 2.8 s |
| Annotations | 6,721 | 11,533 |
| Grounded (linked to code) | 2,548 (38%) | 7,360 (64%) |
| Co-occurrence edges | 1,099 | 2,631 |
| LLM calls | 0 | 0 |
| Index file size | ~2 MB | ~4 MB |
Full-depth mode adds +72% more annotations and +189% more grounded links by scanning document body text with dictionary matching and IDF-based noise filtering.
Source Code ──► AST Extraction ──► Symbol Registry │Markdown Docs ──► Keyword Extraction ──►│──► Annotation Engine ──► SQLite Index │ │ │Git History ──► Co-change Analysis ─────┘ IDF Filtering .iw/index.db │ ┌──────────────────┤ │ │ CLI Queries MCP Tools (retrieve, check, (cari_retrieve, connections, cari_connections, report) cari_check)No servers to run. The index is a single SQLite file. Queries are predefined SQL — sub-100ms latency. The entire pipeline is local and deterministic.
For teams that need deep semantic analysis, IntentWeave also supports LLM-powered entity extraction to Neo4j. This is a separate, optional path — not required for CARI.
IntentWeave is licensed under Apache-2.0. Contributions are welcome.
Contributing
See the contribution guide for how to get involved.
Roadmap
Check the roadmap for what’s next.