Files
photocraft/apps
Brandon ThomasandClaude Opus 5.5 a5dec21e97 Never crash: automation (MCP/RPC) and photocraft-cli are panic-free
- rpc::respond (the JSON-lines server behind `photocraft-cli run`/TCP)
  catches a panicking request and answers it with an error, and keeps
  using a poisoned session lock (as the MCP server already does) instead
  of failing every later call with "session lock poisoned". Regression
  test poisoned_session_keeps_serving.
- MCP server: the eight bridge_client().expect("bridge") and the
  headless_op(..).expect("headless") calls return a tool error instead.
- bridge: the connection is taken with let-else, not expect.
- automation and photocraft-cli deny unwrap/expect/panic/unimplemented/
  todo/unreachable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-04 13:25:48 -04:00
..