feat(playbook): add plan progress tracking and rules updates

This commit is contained in:
csh
2026-01-26 16:51:23 +08:00
parent 6efd637119
commit 278750e3c9
23 changed files with 919 additions and 275 deletions
+33
View File
@@ -162,6 +162,39 @@ col_0 := matrix[:, 0];
2. **按需加载**:只读取一个子文档(避免贪婪加载)
3. **必要时检索函数库**:先索引,再定位片段
### 典型场景与 Token 消耗
**场景 1:编写简单的 TSL 函数**
```text
1. 自动读取 .agents/tsl/index.md44 行)
2. 触发 $tsl-guide,加载 SKILL.md
3. 生成代码
Token 消耗:~6,000 tokens
```
**场景 2:编写 TSL 类**
```text
1. 自动读取 .agents/tsl/index.md44 行)
2. 触发 $tsl-guide,加载 SKILL.md + references/advanced.md
3. 生成代码
Token 消耗:~10,000 tokens
```
**场景 3:查询 TSL 函数库条目**
```text
1. 自动读取 .agents/tsl/index.md44 行)
2. 触发 $tsl-guide,加载 references/functions_index.md
3. 使用 rg 定位函数片段
4. 返回答案
Token 消耗:~8,000 tokens
```
---
## ⚠️ 函数库使用规则