Files
cc-web/.trellis/tasks/08-11-unify-ccweb-message-reply/research/concurrency-baseline.md

26 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 并发改动基线
## 当前并发任务
- 任务看板:占用全局 `.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. 不重启生产服务;验证使用隔离测试进程。