rebuild_vault
Rebuild the vault and search index from an existing explanations file, skipping LLM summaries to re-index after code changes without additional cost.
Instructions
Rebuild the vault and search index from an existing explanations file.
Use this to re-run vault generation WITHOUT making any Claude CLI calls for file summaries. Useful when you want to re-index after code changes but already have summaries, or to iterate on vault structure without LLM cost.
extra_frontmatter_json — optional JSON object of extra fields to add to every vault note's frontmatter, e.g. '{"project": "myapp", "status": "draft", "tags": ["backend", "python"]}'. Strings, numbers, booleans, and flat lists are all supported.
Note: ChromaDB question generation still calls Claude once per chunk — only the file/directory summaries are skipped (they're loaded from JSON).
The explanations.json is saved automatically by ingest_repo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| vault_output_path | No | ||
| explanations_json_path | Yes | ||
| extra_frontmatter_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |