pub fn run_query(
files: &[Arc<FileTasks>],
query: &TaskQuery,
today: NaiveDate,
) -> TaskQueryResponseExpand description
Runs a task query over an index snapshot.
today is a parameter rather than a Local::now() call so the bucketing is
testable without mocking the clock; the handler supplies the real one.
scan_in_progress is left false; the handler fills it in from the repo,
mirroring search_handler.