crash::install(dir, enabled) sets a panic hook (once, chained to the previous one) that writes a plain-text report per panic while enabled: time, version, OS/distribution/session, thread, message, location and a backtrace. The newest 10 are kept; nothing is uploaded. pending_reports() and clear() let the UI offer to open the folder or delete the reports. The default directory is <state dir>/crash-reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G