feat: skills - generate auto-tmux incident reports

This commit is contained in:
tukuaiai
2026-05-19 14:40:03 +08:00
parent 3ec64c5d19
commit fc1ecaf6f3
8 changed files with 121 additions and 3 deletions
+4
View File
@@ -24,6 +24,7 @@
- [`check-jsonl.sh`](./check-jsonl.sh) - 轻量检查 JSONL 行和必需字段。
- [`review-checklist.sh`](./review-checklist.sh) - 为 report pack 生成 reviewer 审计清单。
- [`verify-report-pack.sh`](./verify-report-pack.sh) - 统一验证 report pack 的 manifest、JSONL 和审计清单。
- [`incident-report.sh`](./incident-report.sh) - 生成误发送、误广播、远程采集和敏感信息风险复盘模板。
- [`completion.bash`](./completion.bash) - Bash completion,补全 `auto-tmux.sh``swarm-state.sh` 子命令。
- [`safety-check.sh`](./safety-check.sh) - 发送、粘贴或分发前检查危险命令、敏感信息和过大 payload。
- [`render-swarm-prompt.sh`](./render-swarm-prompt.sh) - commander、worker、reviewer 提示词渲染。
@@ -119,6 +120,9 @@ skills/auto-tmux/scripts/review-checklist.sh --pack /tmp/ai-swarm-report-pack --
skills/auto-tmux/scripts/review-checklist.sh --pack /tmp/ai-swarm-report-pack --strict
skills/auto-tmux/scripts/verify-report-pack.sh --pack /tmp/ai-swarm-report-pack
# 生成事故复盘模板
skills/auto-tmux/scripts/incident-report.sh --type mis-send --out /tmp/auto-tmux-incident.md
# 启用当前 shell 的补全
source skills/auto-tmux/scripts/completion.bash