pub async fn run_if_needed() -> Result<(), CoreError>Expand description
Startup guard for retired local index layouts.
If a retired global context-index.db is present, fail closed and leave
it untouched. Users can delete/move the file and let the current
per-project index rebuild from canonical rules.