Brandon Thomas and Claude Opus 5.5
ab3ab92b4a
Never crash: last-resort guard for commands and file import/export ( #58 )
...
- Session::execute wraps a command's run in catch_unwind: a panic that
escapes anyway becomes an EngineError ("`id` failed with an internal
error (logged); the document is unchanged"). Session::edit only commits
after its closure returns, so documents stay intact. This covers the
UI, CLI, MCP and control channels.
- apps/photocraft: a new crash_guard module installs a logging panic hook
(keeping the default one) and guards the native import/export services,
so a panic while opening or exporting a file is reported as an error
and the open documents stay. Wired in with two lines in main.rs.
- services::import_flat returns an error instead of unwrap; photocraft
and photocraft-web deny unwrap/expect/panic/unimplemented/todo/
unreachable.
Co-authored-by: Claude Opus 5.5 <[email protected] >
2026-10-04 13:40:30 -04:00
..
2026-10-04 11:31:17 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:33:14 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-01 10:49:51 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:40:30 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:33:14 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 08:34:23 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:33:14 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:33:14 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 13:26:26 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 11:31:17 -04:00
2026-10-04 13:26:26 -04:00
2026-10-03 02:56:15 -04:00