Build a `QueryOptimizer` that analyses a raw user query and produces a `QueryContext` — normalised text, extracted entities, classified question type, and a routed `SearchStrategy`. This runs **before** any database call and determines which engines to use.
4.`optimize_query("deployment failures in 2024")` → `LexicalFirst`, `has_date_filters=true`, entity `year=2024`.
5.`optimize_query("Compare Docker and Kubernetes")` → `Hybrid`, `Comparative`.
6. All 15+ tests pass.
## Verify
```bash
cargo test -p mem-cli query_optimizer:: -- --nocapture
```
**False pass:** Routing always returns `Hybrid` regardless of input. Check the short-query and special-syntax tests specifically — they must return non-Hybrid strategies.
## Artifacts
-`crates/mem-cli/src/query_optimizer.rs` (exists, needs cleanup + test fixes)