pub fn rebuild_cache(events_dir: &Path, cache_path: &Path) -> Result<CacheStats>
Rebuild cache from .bones/events shards and write to cache_path.
.bones/events
cache_path
Returns an error if shard replay, parsing, encoding, or file I/O fails.