refactor(ECR-001): 接入 ESS 并完成结构对齐 Phase A–E

绑定 ESS 双轨治理,拆分超大 H5 页与 Go 引擎,抽出 membership 服务,
并将 star/fortune 重命名为 outlook(JSON 双写兼容);同时修复 /psy API 代理与首页 + 菜单层级。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-05 17:51:40 +08:00
co-authored by Cursor
parent 583133dd09
commit 19d3cd5945
75 changed files with 4199 additions and 2505 deletions
+32
View File
@@ -0,0 +1,32 @@
# Test Report — ECR-001 Phase B
## ECR
ECR-001 (Phase B — H5 page decomposition)
## Change Level
L2(结构重构 · 无行为变更)
## Cases
- [x] `HomePage.vue` ≤400 行(实测 133
- [x] `SynastryPage.vue` ≤400 行(实测 187
- [x] 子组件/composable 拆分后 `npm run build:h5` 通过
- [x] `homeCatalog.spec.ts` 宫格/推荐数据不变
- [ ] 手工冒烟:首页入口点击 / 合盘生成(待 Reviewer 或本地人工)
## Result
自动化:build PASS · vitest 2/2 PASS
行为回归:依赖人工冒烟(无 e2e 专测本 Phase)
## Command
```bash
npm run build:h5
npm run test -w @yuxingu/user-h5 -- src/lib/homeCatalog.spec.ts
```
## Residual Risk
- Synastry 交互面大,拆分后 props/emits 面宽,建议人工点一遍落地→合盘→结果 tabs
- 其他超标页(StarProfile/Report/Profile/Ask)未纳入本 Phase
## Gate
- [x] Phase B Acceptance(两页 ≤400 + build 绿)mapped and green
- [ ] Ready for Reviewer sign-off