Skip to main content

Crate rinne_graph

Crate rinne_graph 

Source
Expand description

The Rinne code graph: a local, incremental, tree-sitter structural index of the repo (files, symbols, imports, call edges) persisted in the blackboard’s SQLite store. Retrieval returns a symbol’s neighborhood — definition, callers, callees, imports — so workers fetch the relevant slice of a repo instead of re-reading whole files (issue #11).

Modules§

extract
Tree-sitter parse + query execution → raw symbols and name-only edges.
indexer
lang
Per-language parsing support: each language pairs its tree-sitter grammar with an extraction query. Adding a language is one impl + one query file.
model
Plain data types for the code graph: symbols, edges, files, neighborhoods.
resolve
Intra-file edge resolution: turns raw symbols/edges into resolved Symbol/Edge rows.
schema
SQLite DDL for the code graph tables, colocated with the blackboard state.
store
SQLite-backed store: persist files, freshness checks, neighborhood queries.

Structs§

Graph
Thread-safe handle to the code graph store.