mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-08-23 07:48:06 +00:00
feat: skills - query and reopen auto-tmux tasks
This commit is contained in:
@@ -199,6 +199,8 @@ skills/auto-tmux/scripts/swarm-state.sh task-next --owner "ai-hub:2.1"
|
||||
```bash
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-block --id task-001 --owner "ai-hub:2.1" --reason "等待用户确认"
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-fail --id task-001 --owner "ai-hub:2.1" --reason "make test failed"
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-list --status FAIL
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-reopen --id task-001 --owner "ai-hub:2.1" --reason "修复后重试"
|
||||
```
|
||||
|
||||
获取文件锁:
|
||||
|
||||
@@ -127,8 +127,21 @@ skills/auto-tmux/scripts/swarm-state.sh task-fail \
|
||||
|
||||
```bash
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-list
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-list --status FAIL
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-list --owner "ai-hub:2.1"
|
||||
```
|
||||
|
||||
重开失败或阻塞任务:
|
||||
|
||||
```bash
|
||||
skills/auto-tmux/scripts/swarm-state.sh task-reopen \
|
||||
--id task-001 \
|
||||
--owner "ai-hub:2.1" \
|
||||
--reason "修复依赖后重新执行"
|
||||
```
|
||||
|
||||
`task-reopen` 会把任务状态改回 `TODO`,同时在状态日志中记录 `REOPEN`。
|
||||
|
||||
校验状态一致性:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user