Requiem: a crash post-mortem that speaks as the program that died
Описание и применение
Requiem – это CLI‑инструмент, который локально обрабатывает сбои программ, удаляет конфиденциальные данные и генерирует «обituary card» с причиной, исправлением и элегией от имени программы.
Задача
Crashes produce sensitive logs that risk leaking private data when sent to external services.
Результат
Requiem provides a privacy‑preserving, offline crash post‑mortem that outputs a readable obituary card, including cause, fix, and a program‑voice eulogy.
Рабочий процесс
- 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
Доказательства
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.
- Дата записи: 2026-10-27T09:26:12.683Z