invoke-claude-raises-when-binary-missing

IN premise

`_invoke_claude()` raises `FileNotFoundError` if the `claude` CLI is not on `PATH`, rather than returning an error string — this is the one exception that `ask()` does not catch internally.

Summary

When the Claude CLI binary isn't installed or isn't in the system's PATH, calling the internal invoke function will crash with an unhandled exception instead of returning a graceful error message. This matters because the ask() function catches most other failure modes, but this one will bubble up as an uncaught exception to whatever code called it, so callers need their own try/except around it or the program will crash.

Details

Sourceentries/2026/04/29/tests-test_ask.md