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>
This commit is contained in:
jackyu66git
2026-08-02 16:00:44 +08:00
co-authored by Cursor
parent 2686866376
commit 2fb1dfee14
193 changed files with 8854 additions and 1851 deletions
+21
View File
@@ -0,0 +1,21 @@
# 08 测试规范
## Go`apps/api`
- 领域纯函数(计分、解码规则)必须有单元测试。
- Handler 可用 httptest 做集成测试;DB 用测试库或 docker。
- CI 最少跑:`go test ./...`
## H5
- 关键工具函数单测(Vitest,后置可加)。
- MVP 阶段:手动烟测清单写在 PR 描述(解码、量表、登录态)。
## E2E
- 正式流量前再引入 Playwright;不阻塞脚手架。
## 原则
- 测试与实现同 PR。
- 不追求虚假覆盖率;优先测钱、测档案、测计分。