tokenmaxxxer/incident-response-rulebook
GitHub: tokenmaxxxer/incident-response-rulebook
面向 Claude 插件体系的事件响应角色脚手架,用于在故障结束后自动化产出复盘时间线、postmortem 及行动项。
Stars: 0 | Forks: 0
# 事件响应-rulebook
`incident-response` 角色的规则手册(合同 v3 角色交接协议),拆分自
`docs/issue-160/proposals/role-taxonomy.md` 的第 4 轮晋升,并
由 issue-167 生成为骨架脚手架。
- **decides**: 故障后学到了什么,以及用什么来防止再次发生
- **use_when**: 故障结束后立即
- **produces**: timeline、blameless postmortem、带有 owner 和 deadline 的 action items
- **write_scope**: ['docs/issue-/postmortems/**']
- **hand-off**: 如果原因是容量不足 → capacity-planning;如果原因是缺少监测 → observability
## 安装
```
claude plugin marketplace add tokenmaxxxer/incident-response-rulebook
claude plugin install incident-response
```
## 布局
- `incident-response/.claude-plugin/plugin.json` — plugin manifest
- `incident-response/hooks/hooks.json` — SessionStart + PreToolUse wiring
- `incident-response/hooks/directive.sh` — SessionStart role directive
- `incident-response/hooks/record-fields-gate.sh` — 该角色的 record 必填字段 gate
- `incident-response/hooks/trailer-gate.sh` — commit `Subject: issue-` trailer gate
- `incident-response/hooks/handbook-trigger-gate.sh` — s21 handbook-sync gate
- `incident-response/agents/warrant-hunter.md` — rotating-stance hunt agent
- `docs/specs/approvers.md` — Approve-authority allowlist(见下文)
这是脚手架,而不是已完成的规则手册:在将其视为核心承重部分之前,请填写 doctrine 细节、
handoff enforcement 以及任何特定于角色的 progress gate。
标签:AI插件, Cutter, Homebrew安装, LLM角色, 复盘工具, 开发协同, 流程自动化