feat: 初步实现aide decide

This commit is contained in:
2025-12-15 02:08:06 +08:00
parent b67ff60c70
commit 1381e8c7cd
16 changed files with 1649 additions and 13 deletions

View File

@@ -52,6 +52,11 @@ path = "requirements.txt"
# flow: 流程配置
[flow]
phases = ["task-optimize", "flow-design", "impl", "verify", "docs", "finish"]
# decide: 待定项确认服务配置
[decide]
port = 3721
timeout = 0
```
---
@@ -156,6 +161,17 @@ manager = "pnpm"
- `aide flow` 校验环节跳转合法性
- 定义有效的环节名称
### 4.5 [decide] 待定项确认配置
| 字段 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
| `port` | int | `3721` | Web 服务起始端口,端口被占用时向后探测最多 10 次 |
| `timeout` | int | `0` | 服务超时时间0 表示不启用超时 |
**使用场景**
- `aide decide '<json>'` 读取 `port` 作为起始端口
- `aide decide '<json>'` 读取 `timeout` 控制服务最长等待时间
---
## 五、配置读写接口