← 返回
开发者工具 中文

Incident Hotfix

Coder-focused incident response and hotfix execution for production issues. Use when you need reproducible triage, patch/rollback decisions, CI-safe hotfix b...
面向开发者的生产事故响应与热修复执行,适用于需要可复现分诊、补丁/回滚决策及CI安全热修复的场景。
broedkrummen
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 760
下载
💾 8
安装
1
版本
#coding#hotfix#incident#latest

概述

Incident Hotfix

Use this alongside broader incident-response skills when code-level action is required.

Workflow

  1. Classify severity using references/severity-matrix.md
  2. Create hotfix branch from current production tag/commit
  3. Reproduce and isolate with minimal failing test
  4. Patch with rollback plan
  5. Run focused CI checks
  6. Capture evidence bundle
  7. Merge + verify + postmortem actions

Step 1 — Create incident workspace

bash scripts/start_hotfix.sh --id INC-1234 --base main

This creates:

  • hotfix/INC-1234- branch
  • docs/incidents/INC-1234/ folder
  • starter files for timeline, rollback, and actions

Step 2 — Evidence capture

bash scripts/capture_evidence.sh --id INC-1234

Collects into docs/incidents/INC-1234/evidence/:

  • latest commits + diff summary
  • changed files list
  • local env snapshot (safe subset)
  • test output logs

Step 3 — Patch gate

Before PR/merge, ensure:

  • failing case reproduced (or clearly documented)
  • minimal patch scope
  • rollback command documented in ROLLBACK.md
  • focused tests pass + no new lint/type failures

Step 4 — Postmortem actions

Use references/action-template.md to convert findings into concrete tasks:

  • owner
  • due date
  • verification criteria

Required outputs

  • docs/incidents//TIMELINE.md
  • docs/incidents//ROLLBACK.md
  • docs/incidents//ACTIONS.md
  • docs/incidents//evidence/ bundle

Notes

  • Prefer smallest safe patch over broad refactor during incident.
  • If root cause is uncertain, ship containment first, then permanent fix.
  • Never merge hotfix without rollback path.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 06:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,784
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,099
productivity

Brave Api Search

broedkrummen
Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Use for searching documen
★ 2 📥 9,295