feat: skills - gate auto-tmux jsonl fields

This commit is contained in:
tukuaiai
2026-05-19 14:15:08 +08:00
parent dfeb3762dc
commit 25b072ad26
10 changed files with 99 additions and 6 deletions
+3 -1
View File
@@ -28,6 +28,7 @@ skills/auto-tmux/
│ ├── swarm-health.sh
│ ├── remote-readonly.sh
│ ├── record-summary.sh
│ ├── check-jsonl.sh
│ ├── completion.bash
│ ├── safety-check.sh
│ ├── render-swarm-prompt.sh
@@ -70,6 +71,7 @@ skills/auto-tmux/
- `scripts/swarm-health.sh` 是健康检查层,汇总 tmux 和 swarm state 的只读报告包。
- `scripts/remote-readonly.sh` 是远端只读层,通过 SSH 采集 tmux 拓扑和输出证据。
- `scripts/record-summary.sh` 是复盘摘要层,将 pane 录制日志整理为 Markdown。
- `scripts/check-jsonl.sh` 是轻量 JSONL 字段门禁层,不替代完整 JSON parser。
- `scripts/completion.bash` 是本地补全层,补全 `auto-tmux.sh``swarm-state.sh`
- `scripts/safety-check.sh` 是安全预检层,检查待发送 payload 的危险命令、敏感信息和大小。
- `scripts/render-swarm-prompt.sh` 是提示词渲染层,生成 commander/worker/reviewer 协议文本。
@@ -84,4 +86,4 @@ skills/auto-tmux/
- 上游来源:`tools/external/.tmux``tools/external/tmux`
- 下游使用:`SKILL.md``references/` 中的命令示例。
- 验证入口:`skills/auto-skill/scripts/validate-skill.sh skills/auto-tmux --strict`
- 脚本验证:`skills/auto-tmux/scripts/validate-auto-tmux.sh``bash -n skills/auto-tmux/scripts/auto-tmux.sh``bash -n skills/auto-tmux/scripts/swarm-state.sh``bash -n skills/auto-tmux/scripts/swarm-brief.sh``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-deps-graph.sh``bash -n skills/auto-tmux/scripts/swarm-export.sh``bash -n skills/auto-tmux/scripts/swarm-timeline.sh``bash -n skills/auto-tmux/scripts/swarm-blockers.sh``bash -n skills/auto-tmux/scripts/swarm-results.sh``bash -n skills/auto-tmux/scripts/swarm-report-pack.sh``bash -n skills/auto-tmux/scripts/swarm-assign.sh``bash -n skills/auto-tmux/scripts/swarm-health.sh``bash -n skills/auto-tmux/scripts/remote-readonly.sh``bash -n skills/auto-tmux/scripts/record-summary.sh``bash -n skills/auto-tmux/scripts/completion.bash``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``skills/auto-tmux/scripts/auto-tmux-smoke-test.sh`
- 脚本验证:`skills/auto-tmux/scripts/validate-auto-tmux.sh``bash -n skills/auto-tmux/scripts/auto-tmux.sh``bash -n skills/auto-tmux/scripts/swarm-state.sh``bash -n skills/auto-tmux/scripts/swarm-brief.sh``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-deps-graph.sh``bash -n skills/auto-tmux/scripts/swarm-export.sh``bash -n skills/auto-tmux/scripts/swarm-timeline.sh``bash -n skills/auto-tmux/scripts/swarm-blockers.sh``bash -n skills/auto-tmux/scripts/swarm-results.sh``bash -n skills/auto-tmux/scripts/swarm-report-pack.sh``bash -n skills/auto-tmux/scripts/swarm-assign.sh``bash -n skills/auto-tmux/scripts/swarm-health.sh``bash -n skills/auto-tmux/scripts/remote-readonly.sh``bash -n skills/auto-tmux/scripts/record-summary.sh``bash -n skills/auto-tmux/scripts/check-jsonl.sh``bash -n skills/auto-tmux/scripts/completion.bash``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``skills/auto-tmux/scripts/auto-tmux-smoke-test.sh`