docs: add one-task-per-file convention for multi-agent concurrency
多个 agent 并发时抢改单一看板/进度文件会导致读到旧版本、ID 撞号、合并冲突。 新增 docs/tasks/(README 约定 + _template):一任务一文件、frontmatter、防撞号、 执行记录写进任务文件、不逐任务改共享收尾文件。method-map 增对应失败模式行; 06-tasks/00-ai-start-here 加多 agent 分支;README/docs/README 登记;tasks.md 记 H-407。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
791211363e
commit
ef288b0021
@@ -0,0 +1,29 @@
|
||||
---
|
||||
id: T-XXX
|
||||
title: 一句话任务名
|
||||
phase: 1
|
||||
deps: []
|
||||
status: TODO
|
||||
created: 【日期】
|
||||
---
|
||||
|
||||
## 问题 / 背景
|
||||
|
||||
(现象、根因、为什么要做)
|
||||
|
||||
## 方案
|
||||
|
||||
(怎么改,落到"改哪个文件、改成什么")
|
||||
|
||||
## 验收要点
|
||||
|
||||
(可验证的完成标准;按「passing 需证据」写清跑哪个验证命令,不写"应该能用")
|
||||
|
||||
## 边界(不改什么)
|
||||
|
||||
(明确不碰的模块/流程)
|
||||
|
||||
## 执行记录
|
||||
|
||||
(做完在此记录:改了哪些文件、跑的验证命令与结果、阻塞、关键决策。
|
||||
取代逐任务追加 `progress.md`——执行记录只写进本任务文件,避免多 agent 抢改共享文件。)
|
||||
Reference in New Issue
Block a user