Files
digital-psychology/docs/TEST_REPORT/ECR-001-phaseB.md
T
jackyu66gitandCursor 19d3cd5945 refactor(ECR-001): 接入 ESS 并完成结构对齐 Phase A–E
绑定 ESS 双轨治理,拆分超大 H5 页与 Go 引擎,抽出 membership 服务,
并将 star/fortune 重命名为 outlook(JSON 双写兼容);同时修复 /psy API 代理与首页 + 菜单层级。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 17:51:40 +08:00

995 B
Raw Blame History

Test Report — ECR-001 Phase B

ECR

ECR-001 (Phase B — H5 page decomposition)

Change Level

L2(结构重构 · 无行为变更)

Cases

  • HomePage.vue ≤400 行(实测 133
  • SynastryPage.vue ≤400 行(实测 187
  • 子组件/composable 拆分后 npm run build:h5 通过
  • homeCatalog.spec.ts 宫格/推荐数据不变
  • 手工冒烟:首页入口点击 / 合盘生成(待 Reviewer 或本地人工)

Result

自动化:build PASS · vitest 2/2 PASS
行为回归:依赖人工冒烟(无 e2e 专测本 Phase)

Command

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

  • Phase B Acceptance(两页 ≤400 + build 绿)mapped and green
  • Ready for Reviewer sign-off