feat: 为每个 feature 增加双语 glossary 并同步 ba-write-spec

统一语言落在 glossary.md(中文|英文),iteration1 九份按规格提炼;模板与 harness 安装约定一并回写。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 14:09:19 +08:00
parent 28f0490dbf
commit 040abf69d0
34 changed files with 555 additions and 22 deletions

View File

@@ -4,7 +4,7 @@
```
docs/features/
├── _template/ # 模板:spec.md + plan.md
├── _template/ # 模板:spec.md + plan.md + glossary.md
├── _chores/ # 无关联 feature 的横切 plan
│ └── plan-{slug}.md
└── iteration1/
@@ -12,12 +12,14 @@ docs/features/
├── high-level-design.md # 迭代高阶技术设计(HLD / TRD,人工确认)
├── ACC-account/
│ ├── spec.md # 业务规格
│ ├── glossary.md # 本 feature 双语术语表(统一语言)
│ ├── plan.md # 主技术方案(可选;HLD 确认后)
│ └── plan-{slug}.md # 多份方案时
└── prototypes/ # 迭代原型(可选)
```
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
每个 feature 目录应有 `glossary.md`(中文 | 英文 | 说明);`spec.md` 在 §2 附近引用之。
| 编码 | 文件夹 | 含义 |
|---|---|---|