Live Demo: Doc ↔ Code Explorer
Every doc-to-code relationship below comes from IntentWeave analyzing its own repository — the same evidence that would show up on the “Documentation & Source” chapter of your own Insights Book. No LLM, no manual tagging: CARI grounds doc mentions (headings, bold terms, code identifiers) to real exported symbols via AST + IDF scoring, entirely from the SQLite index.
Documentation
Grounded source files
Evidence
Click a doc or source file to see the grounded relationship — the same evidence CARI writes into every Insights Book.
How This Works
Section titled “How This Works”iw index buildparses every source file with tree-sitter and extracts exported symbols (functions, classes, types, interfaces) into thesymbolstable.- Every Markdown doc is scanned for headings, bold spans, code spans, and identifier-like
body text. Each mention is matched against the symbol dictionary and written to the
annotationstable with a confidence score (IDF-penalized so common words likefileordatedon’t dominate). iw index annotations-for <doc>andcari_annotations_for(MCP) surface this exact relationship — the panel above is just those two queries, aggregated and rendered.
# Reproduce this locally, on your own repoiw index buildiw index annotations-for docs/ARCHITECTURE.md --min-confidence 0.7Try it against your own docs — the grounding confidence, the symbol list, and the reverse “referenced by N docs” view are all live, computed in under a second, with zero API calls.