Files
ning-inspire dc2f329258 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>
2026-11-17 18:02:38 +08:00

12 lines
663 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 架构决策(ADR)
跨迭代技术取舍,**每条一句话**。实现细节见 [`../../facts/tech-topic/`](../../facts/tech-topic/)。写法见 [`../../standards/adr.md`](../../standards/adr.md)。
| 编号 | 决策(一句话) | 状态 |
|---|---|---|
| ADR-001 | 后端采用四层 DDD 单体:adapter → application → domain ← infrastructure | 已接受 |
| ADR-002 | 主键使用 UUID 字符串,不用自增整数 | 已接受 |
| ADR-003 | 持久化用 MyBatis-Plus,不用 JPA | 已接受 |
| ADR-004 | 鉴权用 JWT 无状态令牌(HMAC) | 已接受 |
| ADR-005 | 请求内用户上下文用 ThreadLocal `UserContext` | 已接受 |