feat: 引入 docs/architecture 高阶意图与 arch skills

项目准备阶段落地 C4/ADR 一句话表/术语与核心领域模型;glossary 与 ADR 迁入 architecture,domain-model 区分 Core 与 as-built;新增 tl-arch-plan、tl-arch-sync-back、ba-arch-sync-back,并同步 harness 与团队指南。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 18:02:38 +08:00
parent fc7521d6f9
commit dc2f329258
75 changed files with 966 additions and 484 deletions

View File

@@ -171,20 +171,22 @@ TODO:贴出核心状态机图,并写明状态流转由哪个 domain 守卫
```
{{DOCS_DIR}}/
├── architecture/ # 高阶意图(项目准备:BA/TL)
│ ├── tech/ # C4 + adr.md(一句话表)
│ └── business/ # glossary / product / core-domain-model / iterations
├── features/ # 需求规格 + 技术方案(过程文档)
│ ├── glossary.md # 项目级双语术语表
│ ├── _template/ # spec.md + plan.md
│ ├── _chores/ # 无关联 feature 的 plan
│ └── <迭代>/<CODE>-<slug>/
│ ├── spec.md # 引用 ../../glossary.md
│ ├── spec.md # 引用 architecture/business/glossary.md
│ ├── plan.md # 含粗实施步骤
│ └── plan-progress.md # dev-build 细化进度
├── facts/ # 事实文档
├── facts/ # 事实文档(as-built)
│ ├── api.yaml
│ ├── db-schema.md
│ ├── domain-model.md
│ ├── domain-model.md # 领域模型 as-built
│ ├── business/ # 业务事实
│ └── tech-topic/ # 技术专题
│ └── tech-topic/ # 实现专题(非 ADR)
├── standards/ # 代码规范(事实文档)
│ ├── architecture.md
│ ├── naming.md
@@ -194,6 +196,7 @@ TODO:贴出核心状态机图,并写明状态流转由哪个 domain 守卫
│ ├── db.md
│ ├── error.md
│ ├── test.md
│ ├── adr.md # ADR 写法;正文在 architecture/tech/adr.md
│ └── templates/
├── e2e-cases/ # QA 用例:E2E 验收用例文本基线
├── manual-cases/ # QA 用例:手动执行用例