Overview
A self-hosted archive that turns Markdown postmortems into a searchable console, named after the aircraft flight recorder.
BLACKBOX is a self-hosted archive for postmortems. Every debugging session becomes a Markdown report with its symptoms, the diagnostics that were run, the root cause and the fix, and BLACKBOX turns the folder of reports into a searchable console.
The screenshots on this page run on made-up sample reports. Real reports live in a separate private repository.
Why the name
In aviation, the flight data recorder and the cockpit voice recorder are known together as the black box. When something goes wrong, investigators don't just replace the broken part. They pull the recorder, work out exactly what happened, and change the system so it can't happen the same way again.
Software debugging usually ends at the patch. BLACKBOX applies the aviation habit instead: each incident is written down as it was investigated, the root cause is explained at the level where it actually lives, whether that's a protocol, a kernel limit or a config file, and the commands that found and fixed it are kept for next time.
The console

The interface is a tiling console with three panes.
- Subsystems lists every tag with its incident count, plus filters for severity and status.
- The incident stream shows each report's ID, date, severity, status, component and tags.
- The forensic reader renders the selected report with its metadata up top, numbered sections, a section navigator that follows your scroll, and syntax-highlighted code.
Search covers titles, summaries, components, tags and the full text of every report.
The command inspector

Press c and a panel slides out with every shell command in the open report, pulled from its bash, sh, shell and zsh code blocks. Commands are grouped by the section they came from, so the diagnostic steps and the fix are separate lists, and each one is a click away from the clipboard. Blocks written as a $ prompt transcript contribute only the prompted commands, not their output.
The source

r switches between the rendered report and its raw Markdown with line numbers. The keyboard covers the rest: / to search, j and k to move through the stream, and Esc to close whatever is open.
Reports are just Markdown
A report is a Markdown file with YAML frontmatter:
---
id: "INC-2026-0918-01"
title: "CI Runner Killed Mid-Build by the Kernel OOM Killer"
date: "2026-09-18"
system: "ci-runner-02 (Ubuntu 24.04)"
component: "systemd / cgroup v2 / cargo"
tags: ["systemd", "memory", "ci", "kernel"]
severity: "high" # low | medium | high | critical
status: "resolved" # investigating | mitigated | resolved
summary: "One sentence on what broke and how it was fixed."
---
The body follows six sections: Symptoms & Observations, Diagnostic Process, Root Cause Analysis, Remediation & Solution, Verification, and Key Takeaways.
There is no database. Adding a report means dropping a file into the reports folder, and because everything stays plain Markdown, the whole archive versions with Git and moves anywhere.
How it works
- Backend: a Go HTTP service that discovers report files, parses their frontmatter, keeps an in-memory index with full-text search, and serves a JSON API alongside the built frontend.
- Frontend: React 19, TypeScript, Vite and Tailwind CSS v4.
- Live reindexing: the server watches the reports folder recursively, ignoring dot-directories like
.git, and pushes updates to open browsers within seconds. - Isolation: runs containerized with reports mounted as a read-only volume, keeping the application stateless and postmortem files completely isolated from application code.