Problem
--top -1 yields partial output, --tool-result-cap -5 flags everything as bloat, --fail-over-ratio 5/nan never fires despite help text saying (0-1).
Where
src/ctxlens/cli.py (typer options with no range validation).
Acceptance
Add a failing test first invoking analyze with each bad value, expecting exit code 2 instead of exit 0 with garbage. Then fix.
Problem
--top -1yields partial output,--tool-result-cap -5flags everything as bloat,--fail-over-ratio 5/nannever fires despite help text saying(0-1).Where
src/ctxlens/cli.py(typer options with no range validation).Acceptance
Add a failing test first invoking
analyzewith each bad value, expecting exit code 2 instead of exit 0 with garbage. Then fix.