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,14 +4,16 @@
```
docs/features/
├── _template/ # spec.md + plan.md
├── _template/ # spec.md + plan.md + glossary.md
├── _chores/ # 无关联 feature 的 plan-{slug}.md
└── <迭代>/
├── high-level-design.md # 迭代高阶技术设计(HLD / TRD,人工确认)
└── <CODE>-<slug>/
├── spec.md
├── glossary.md # 本 feature 双语术语表(统一语言)
├── plan.md # HLD 确认后再写
└── plan-{slug}.md
```
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
每个 feature 目录应有 `glossary.md`(中文 | 英文 | 说明);`spec.md` 在 §2 附近引用之。