Expand description
Workspace walker: Markdown notes, optional Canvas, optional Rust AST.
WorkspaceIndexer is the engine behind crate::Brain::sync. It owns a
Database, walks the workspace (skipping target/, .git/, etc.), and:
- Upserts Markdown nodes transactionally (FTS + tags + aliases + edges)
- Indexes Obsidian Canvas relationships when the
obsidianfeature is on - Extracts Rust symbols when the
astfeature is on - Resolves pending WikiLink /
symbol:targets - Compiles
.brain/graph.mmapwhen themmapfeature is on
Structsยง
- Workspace
Indexer - Indexes a workspace directory into a
Database.