Expand description
Embedding population: walk symbols from the structural index and embed them.
Called after structure rebuild when embeddings.enabled = true.
For incremental rebuilds, only symbols in changed files are re-embedded.
Additional source types:
populate_markdown_docs– embed*.mdfiles underdocs/,SUMMARY.md,CLAUDE.md, andREADME.mdchunked by heading section.populate_commit_messages– embed recent git commit messages (last N commits) keyed by commit hash.populate_incremental_for_paths– incremental re-embed for a set of changed paths; called by the daemon on file change without a full rebuild.
Structs§
- Populate
Stats - Result of a population run.
Constants§
- DEFAULT_
MAX_ COMMITS - Default number of recent commits to embed.
Functions§
- populate_
commit_ messages - Embed recent git commit messages.
- populate_
context_ blocks - Embed all
.normalize/context/markdown files in the workspace. - populate_
embeddings - Populate embeddings for all symbols in the index.
- populate_
incremental_ for_ paths - Incremental re-embedding for a set of changed file paths.
- populate_
markdown_ docs - Embed all eligible markdown files in the workspace.