Problem
CLI --mode is a free string, so --mode hybird dies deep inside with a traceback instead of a usage error listing valid modes.
Where
src/tenantq/cli.py (typer Option("hybrid") with no Choice) feeding search.py's unknown mode ValueError.
Acceptance
Add a failing CLI-runner test first with --mode hybird, expecting a non-zero exit plus a usage-style error listing valid modes. Then fix.
Problem
CLI
--modeis a free string, so--mode hybirddies deep inside with a traceback instead of a usage error listing valid modes.Where
src/tenantq/cli.py(typerOption("hybrid")with noChoice) feedingsearch.py'sunknown modeValueError.Acceptance
Add a failing CLI-runner test first with
--mode hybird, expecting a non-zero exit plus a usage-style error listing valid modes. Then fix.