Expand description
Task queue search and filtering.
Responsibilities:
- Filtering tasks by status/tag/scope
- Searching across task text fields (substring, regex, or fuzzy matching)
Not handled here:
- Queue persistence, repair, or validation (see
crate::queue) - Task mutation or state changes
- Search result ordering beyond basic filtering
Invariants/assumptions:
- Search patterns are normalized (lowercase, trimmed) before comparison
- Regex compilation failures are propagated to callers
- Empty filter sets match all tasks (no filtering applied)
It is split out from queue.rs to keep that parent module focused on
persistence/repair/validation while keeping a stable public API via
re-exports from crate::queue.
Structs§
- Search
Options - Options controlling search and filtering behavior.
Functions§
- filter_
tasks - fuzzy_
search_ tasks - Search tasks using fuzzy matching with relevance scoring.
- search_
tasks - search_
tasks_ with_ options - Unified search entry point that handles all search modes.