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:
@@ -0,0 +1,7 @@
|
||||
# 架构决策(ADR)
|
||||
|
||||
跨迭代技术取舍,**每条一句话**。实现细节见 `docs/facts/tech-topic/`。写法见 [`../../standards/adr.md`](../../standards/adr.md)。
|
||||
|
||||
| 编号 | 决策(一句话) | 状态 |
|
||||
|---|---|---|
|
||||
| (尚无) | — | — |
|
||||
@@ -0,0 +1,30 @@
|
||||
# C4 容器
|
||||
|
||||
> 层次:Container。维护:`tl-arch-plan`。迭代细化见各 `docs/features/iterationN/high-level-design.md`。
|
||||
|
||||
## 说明
|
||||
|
||||
TODO:列出可独立部署/运行的单元及其职责。
|
||||
|
||||
## 图
|
||||
|
||||
```plantuml
|
||||
@startuml
|
||||
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
|
||||
|
||||
LAYOUT_WITH_LEGEND()
|
||||
|
||||
Person(user, "用户")
|
||||
|
||||
System_Boundary(system, "本系统") {
|
||||
Container(web, "Web", "TODO", "TODO")
|
||||
Container(api, "API", "TODO", "TODO")
|
||||
ContainerDb(db, "DB", "TODO", "TODO")
|
||||
}
|
||||
|
||||
Rel(user, web, "使用", "HTTPS")
|
||||
Rel(web, api, "API", "HTTPS")
|
||||
Rel(api, db, "读写", "JDBC")
|
||||
|
||||
@enduml
|
||||
```
|
||||
@@ -0,0 +1,25 @@
|
||||
# C4 系统上下文(集成架构)
|
||||
|
||||
> 层次:Context。维护:`tl-arch-plan`。
|
||||
|
||||
## 说明
|
||||
|
||||
TODO:一句话描述本系统与外部用户/系统的边界。
|
||||
|
||||
## 图
|
||||
|
||||
```plantuml
|
||||
@startuml
|
||||
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
|
||||
|
||||
LAYOUT_WITH_LEGEND()
|
||||
|
||||
Person(user, "用户", "TODO")
|
||||
System(system, "本系统", "TODO")
|
||||
System_Ext(ext, "外部系统", "TODO")
|
||||
|
||||
Rel(user, system, "使用", "HTTPS")
|
||||
Rel(system, ext, "集成", "HTTPS")
|
||||
|
||||
@enduml
|
||||
```
|
||||
Reference in New Issue
Block a user