AI-analyzed crash reports, percher_diagnose_crash
When your app crashes, Percher automatically collects logs, redacts secrets, and (if configured) runs AI-powered analysis to explain what went wrong. Crash reports appear as a banner on your app's dashboard page with a copy-paste fix prompt you can hand to your AI assistant.
The watchdog monitors Docker container events in real time. If your app exits with a non-zero code, it queues a crash analysis within seconds. OOM kills (exit code 137) are flagged automatically with memory limit suggestions.
For AI assistants with MCP: use percher_diagnose_crash to fetch the latest crash report directly in chat — returns { state, app, crash, summary } with the stored explanation and suggested fix. Stale reports (>24h old) on apps that have recovered are filtered out so the assistant doesn't surface irrelevant advice.