feat: skills - summarize auto-tmux records

This commit is contained in:
tukuaiai
2026-05-19 04:08:21 +08:00
parent e75a2366c5
commit fbc82f5ba5
11 changed files with 134 additions and 6 deletions
@@ -35,6 +35,7 @@
| `swarm-archive.sh` | 打包 brief、snapshot 和 state | 生成可交接 `.tar.gz` |
| `swarm-board.sh` | 渲染任务、依赖、锁和状态日志 | 只读生成 Markdown 看板 |
| `swarm-assign.sh` | 生成 ready task 到 worker pane 的分配建议 | 只读,不 claim,不发送 |
| `record-summary.sh` | 汇总 pane 录制日志 | 只读,输出默认脱敏 |
| `swarm-dispatch.sh` | 渲染并可选下发提示词 | 默认只写文件,发送需 `--send` |
| `validate-auto-tmux.sh` | 执行技能专属质量门禁 | 覆盖脚本、文档索引、strict 和 smoke |
@@ -174,6 +175,7 @@ skills/auto-tmux/scripts/auto-tmux.sh record start -t "$target" --dir /tmp/auto-
```bash
target="$(tmux list-panes -t ai-hub:worker1 -F '#S:#I.#P' | head -n 1)"
skills/auto-tmux/scripts/auto-tmux.sh record stop -t "$target"
skills/auto-tmux/scripts/record-summary.sh --dir /tmp/auto-tmux-records --out /tmp/auto-tmux-record-summary.md
```
## AI 蜂群协作建议
@@ -256,6 +258,7 @@ bash -n skills/auto-tmux/scripts/swarm-watch.sh
bash -n skills/auto-tmux/scripts/swarm-archive.sh
bash -n skills/auto-tmux/scripts/swarm-board.sh
bash -n skills/auto-tmux/scripts/swarm-assign.sh
bash -n skills/auto-tmux/scripts/record-summary.sh
bash -n skills/auto-tmux/scripts/safety-check.sh
bash -n skills/auto-tmux/scripts/render-swarm-prompt.sh
bash -n skills/auto-tmux/scripts/swarm-dispatch.sh
@@ -27,13 +27,13 @@
| 19 | `07ac877` | 安全策略 | `safety-check.sh``safety-policy.md` |
| 20 | `6d46748` | 状态可视化 | `swarm-board.sh` |
| 21 | `d8e7d31` | 依赖领取一致性 | `task-next` 尊重 `blocked-by` |
| 22 | `本轮` | worker 分配 | `swarm-assign.sh` |
| 22 | `cc69865` | worker 分配 | `swarm-assign.sh` |
| 23 | `本轮` | replay 审计 | `record-summary.sh` |
## 后续候选方向
| 优先级 | 方向 | 说明 |
|:---|:---|:---|
| P2 | replay 审计 | 从 record 日志生成复盘摘要 |
| P3 | 远程 session | SSH 场景下的只读拓扑和安全边界 |
| P3 | shell completion | 为常用子命令生成补全脚本 |