Files
digital-psychology/apps/docs/adr/0001-monorepo-go-h5.md
T
jackyu66gitandCursor 2fb1dfee14 chore: seal Design Vision v1 and monorepo scaffold
Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 16:00:44 +08:00

24 lines
718 B
Markdown
Raw 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 0001: Monorepo + Go API + Vue H5
## 状态
已采纳(2026-08-02
## 背景
愈心谷需从静态 HTML 原型演进为可多端扩展的产品,并引入 AI 辅助开发;需统一规范与清晰边界。
## 决策
- 采用 npm workspaces Monorepo`apps/*` + `packages/*`)。
- 后端唯一实现:Gogin)于 `apps/api`
- 当前主客户端:Vue3 + TS H5`apps/user-h5`);小程序仅脚手架。
- 多端网络层:`packages/sdk` 适配器模式。
- GitTrunk-Based + Conventional Commits。
## 后果
- 新功能不得继续堆在根目录 legacy HTML。
- 共享类型与 SDK 降低后续小程序迁移成本。
- 需维护 workspace 与 Go module 两套依赖工具链。