feat: overhaul task board and cross-conversation workflows

This commit is contained in:
shiyue
2026-08-12 09:41:36 +08:00
parent e7d28935ef
commit 86231f0d97
55 changed files with 11628 additions and 280 deletions

View File

@@ -0,0 +1,25 @@
# 并发改动基线
## 当前并发任务
- 任务看板:占用全局 `.planning/.active_plan` 与 `.trellis/.current-task`,仍在运行。
- 失败插入卡片:有 `server.js`/前端/回归改动,当前对话显示运行中或刚完成。
- `ccweb_list_conversations` children scope:已完成但改动仍未提交。
- 本任务:只允许精确修改跨对话 MCP、提示、README 与相关回归,不覆盖上述改动。
## 高冲突文件与安全范围
| 文件 | 本任务安全范围 | 必须保留 |
|---|---|---|
| `server.js` | 5733-5777 提示、5796-6103 跨对话发送/回传、10221-10410 dynamic tools、dispatcher 对应 case | task-board lifecycle、children scope、failed-insert rollback |
| `lib/ccweb-mcp-server.js` | send/request 工具定义与导出常量 | children scope schema、task-board spread、其他 MCP 工具 |
| `scripts/regression.js` | 6392-6524、7349 附近跨对话断言及工具列表断言 | task-board、失败插入和 children scope 回归 |
| `README.md` | MCP 工具表与跨对话说明 | children scope 文档与其他功能说明 |
## 实施纪律
1. 修改前重新查看目标函数当前文本,避免使用旧行号/旧上下文套补丁。
2. 不做全文件格式化或 import 重排。
3. 每个阶段检查 `git diff`,只确认本任务新增的 hunk。
4. 不重启生产服务;验证使用隔离测试进程。