When to rebuild
Rebuild the indices when any of the following occur:- You add, remove, or rename a module or package
- Function signatures change across multiple files
- You merge a refactor that touches imports or cross-file references
- The
llm_index.jsonl,func_index.jsonl,file_graph.json, ordeps.jsonlfiles are older than the latest commit
Combined rebuild pipeline
The fastest way to regenerate everything is the chained command used by the Central Mapper:Individual build scripts
If you only need to update one layer, run the specific script directly. Build all indices from scratch:Querying the index
After rebuilding, usearchivist.py to search the knowledge base for files, functions, or relationships.
The index files live in
workspace/llm_map/:llm_index.jsonl— file-level metadata for LLM contextfunc_index.jsonl— function signatures and docstringsfile_graph.json— file-to-file reference graphdeps.jsonl— import and module dependency list