LEVEL 2 · BUILDER

Incident Postmortem Writer

Turn your JSONL incident logs and review decisions into an HTML evidence desk, exact-quote checks, owned actions and a source-bound approval receipt.

4 stages~8 hoursGocore
Parse an incident event ledgerBuild a stable bounded timelineRequire evidence for each claimPublish a deterministic incident packet
YOU END UP WITH

Turn your JSONL incident logs and review decisions into an HTML evidence desk, exact-quote checks, owned actions and a source-bound approval receipt.

USEFUL FOR
  • Turn your JSONL incident logs and review decisions into an HTML evidence desk, exact-quote checks, owned actions and a source-bound approval receipt.
  • Pipe portable JSON receipts into your own review or publishing workflow.
PROJECT OUTLINE

Incident Postmortem Writer in 4 stages

Turn incident events into a timeline with evidence-backed claims.

  1. Parse an incident event ledger

    Use one tab-separated record per event: stable ID, nonnegative second, event kind and message.

    starter · ~2 hours · Go

    Split recordParse timeUnique identityValidated ledger
  2. Build a stable bounded timeline

    Sort a copy by elapsed seconds and then ID to make tied timestamps deterministic.

    core · ~2 hours · Go

    Copy ledgerHorizon gateTime sortID tie break
  3. Require evidence for each claim

    A claim needs nonblank text and at least one distinct known event ID.

    core · ~2 hours · Go

    Claim textEvidence listKnown IDsProvenance gate
  4. Publish a deterministic incident packet

    Render the validated timeline and claims with quoted message text and explicit references.

    core · ~2 hours · Go

    Validate claimsBound outputOrder evidencePublish packet

Lessons this project uses

All projects · Course catalog · Source on GitHub