invalidate_cache
Clears index for a repository, forcing full reindex. For major restructuring that mtime skip might miss.
What it does
Clears the index for a specific repository, forcing a full reindex on next access. Useful after major restructuring that mtime-based incremental indexing might not fully detect. Normally not needed.
Related tools
Benchmark note
This benchmark compares CodeSift against the closest practical native workflow an agent would use for the same task.
For some tools, that baseline is a direct shell equivalent such as rg or find.
For AST-aware, graph-aware, and LSP-backed tools, the baseline is a multi-step workflow rather than a strictly identical command.
Results should be read as agent-workflow comparisons: token cost, call count, and practical context efficiency.