Requiem: a crash post-mortem that speaks as the program that died
Description and use
Requiem is a CLI that locally captures program crashes, redacts secrets, and outputs a concise obituary card with cause, fix, and a first‑person eulogy, all without external network calls.
Problem
Crashes produce sensitive logs that risk leaking private data when sent to external services.
Outcome
Requiem provides a privacy‑preserving, offline crash post‑mortem that outputs a readable obituary card, including cause, fix, and a program‑voice eulogy.
Workflow
- Run the target command via
requiem run -- <cmd> - Capture exit code, signal, duration, and stderr/stdout
- Parse traceback and map signals to names
- Redact secrets from captured output
- Query local Gemma 3 1B model for diagnosis and eulogy (or fallback to deterministic output)
- Store obituary in
data/obituaries.jsonl - Display obituary card in terminal
Evidence
Requiem produces an obituary card with the cause of death, a suggested fix, and a first person eulogy written as if the program itself were speaking.
All of this is stdlib Python, about 400 lines. No API keys. No network calls when using --no-model.
Crash logs are sensitive. A traceback can contain file paths, hostnames, SQL, auth headers, customer data, or tokens. Sending that to a cloud crash explainer leaks private information.
- Record date: 2026-10-27T09:26:12.683Z