feat(workflow): adopt Matt Pocock ticket workflow

Replace the Superpowers plan pipeline with grill-with-docs, specs, local tickets, and ticket-native execution.

BREAKING CHANGE: Remove the legacy Plan CLI, prompt templates, and Superpowers skills.
This commit is contained in:
csh
2026-08-10 16:55:46 +08:00
parent 29d110110b
commit 699b431cac
164 changed files with 9039 additions and 12273 deletions
+15 -3
View File
@@ -9,9 +9,11 @@ test/
├── README.md # 本文件:测试文档
├── test_playbook.py # snapshot/subtree 参数化完整部署测试
├── test_template_contracts.py # 模板内容、占位符、文案契约测试
├── test_main_loop_cli.py # main_loop CLI 测试
├── test_main_loop_cli.py # ticket 调度、隔离、证据与集成测试
├── agent/ # Agent 题面/运行时验证测试定义
├── test_thirdparty_skills_pipeline.py # thirdparty skills 流水线配置与同步产物测试
├── test_tsl_playbook_sync.py # TSL Playbook 构建与同步边界测试
├── test_tsl_syntax_reference.py # TSL 语法文档结构与检索测试
└── integration/ # 集成测试
└── check_doc_links.py # 文档链接有效性检查
```
@@ -23,7 +25,7 @@ test/
cd /path/to/playbook
# 1. 运行 Python 测试(test/ 下的 test_*.py
python -m unittest discover -s test -p "test_*.py" -v
python -X utf8 -B -m unittest discover -s test -p "test_*.py" -v
# 2. 运行文档链接检查
python test/integration/check_doc_links.py
@@ -53,6 +55,16 @@ python test/integration/check_doc_links.py
随 Python 测试检查通用模板的关键 marker、占位符和流程合同。
### 3. 文档链接检查 (integration/)
### 3. 主循环测试 (`test_main_loop_cli.py`)
使用临时 Git 仓库验证 ticket 队列、串行与 worktree 隔离、并发 claim、heartbeat/reclaim、
验证与 review 证据绑定,以及 ticket/feature 两级集成。
### 4. TSL 契约测试
- `test_tsl_playbook_sync.py`:验证 TSL Playbook 构建和同步文件边界
- `test_tsl_syntax_reference.py`:验证语法文档结构、section ID 与检索结果
### 5. 文档链接检查 (integration/)
扫描 `docs/` 与模板文件中的本地链接,确保引用路径有效。