dsh-incident-full-chain

On-call incident full chain: `oncall_start` classifies an alert into a fault family (timeout / error-rate / resource / dependency / data) and returns ranked likely causes plus a branch-specific checklist; `mitigate` records every action and its result on a timeline and re-plans the next steps from that family, dropping steps already tried; `postmortem` writes postmortem.md (and an HTML copy) with a sorted timeline, key actions, and MTTR measured from the first effective mitigation. Rule-based and local-only: no network, no model call, state kept in incident.json next to the workspace.

Overview

On-call incident full chain: `oncall_start` classifies an alert into a fault family (timeout / error-rate / resource / dependency / data) and returns ranked likely causes plus a branch-specific checklist; `mitigate` records every action and its result on a timeline and re-plans the next steps from that family, dropping steps already tried; `postmortem` writes postmortem.md (and an HTML copy) with a sorted timeline, key actions, and MTTR measured from the first effective mitigation. Rule-based and local-only: no network, no model call, state kept in incident.json next to the workspace.

Installation

Install from npm

dsh plugin --profile web add @liuhange/dsh-incident-full-chain

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:liuhange789/dsh-incident-full-chain

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands