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.
One command per phase
Section titled “One command per phase”/octopus:incident-response new "checkout returning 500s since the deploy"/octopus:incident-response update "rolled back v2.3, error rate dropping"/octopus:incident-response postmortemUnderneath is a plain shell command, octopus incident, so the record is the
same from Claude Code, Codex, Copilot, Gemini or OpenCode.
The tool owns the facts
Section titled “The tool owns the facts”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, resolvedtimeline.md— what happened, in orderpostmortem.md— scaffolded with the facts already filled in
The phases
Section titled “The phases”- 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.
- During. Each meaningful change is one update; status moves to mitigated, monitoring, resolved. Stakeholder updates are drafted from the timeline, not from memory.
- 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.
- 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.
Security incidents stay out of the repo
Section titled “Security incidents stay out of the repo”--private keeps the record in your user config instead of the repository,
for anything that should not be committed — a security incident above all.
Where it sits
Section titled “Where it sits”incident-response is part of the tech-lead
bundle.

