Skip to content

incident-response

During an incident nobody wants to write things down, and afterwards nobody remembers the order things happened in. incident-response keeps the record while you work the problem, then turns it into a blameless postmortem whose action items do not get lost.

/octopus:incident-response new "checkout returning 500s since the deploy"
/octopus:incident-response update "rolled back v2.3, error rate dropping"
/octopus:incident-response postmortem

Underneath is a plain shell command, octopus incident, so the record is the same from Claude Code, Codex, Copilot, Gemini or OpenCode.

The incident id, every timestamp (UTC), the severity and the status transitions are written by octopus incident, never typed by the model. The timeline is append-only: an update adds a line, it never edits an earlier one. Each incident lives in docs/incidents/<date>-<slug>/:

  • meta.yml — severity, status, commander, comms owner, opened, resolved
  • timeline.md — what happened, in order
  • postmortem.md — scaffolded with the facts already filled in
  1. Triage. A severity from SEV1 to SEV4 (proposed, you confirm), an incident commander and a comms owner, and a first mitigation before anyone starts root-causing.
  2. During. Each meaningful change is one update; status moves to mitigated, monitoring, resolved. Stakeholder updates are drafted from the timeline, not from memory.
  3. Postmortem. Blameless: what the system and the process allowed, not who slipped. Summary, impact, root cause, what went well and poorly, where you got lucky — every claim tied to a timeline entry.
  4. Close the loop. Action items are drafted as roadmap items and written only when you confirm. Causes a future engineer would not guess go into knowledge/. The fix itself goes through debug, with a regression test.

--private keeps the record in your user config instead of the repository, for anything that should not be committed — a security incident above all.

incident-response is part of the tech-lead bundle.