Problem
out.write_text(...) sits outside the _load try/except: FileNotFoundError escapes unwrapped.
Where
src/ctxlens/cli.py (report command).
Acceptance
Add a failing test first invoking report with --out missing/dir/r.html, expecting exit 1 with a clean error: line, no traceback. Then fix.
Problem
out.write_text(...)sits outside the_loadtry/except:FileNotFoundErrorescapes unwrapped.Where
src/ctxlens/cli.py(reportcommand).Acceptance
Add a failing test first invoking
reportwith--out missing/dir/r.html, expecting exit 1 with a cleanerror:line, no traceback. Then fix.