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
+31
View File
@@ -0,0 +1,31 @@
# Test Report — ECR-001 Phase AE (+ ECR-002)
## ECR
ECR-001 Phase A/C/D/E · ECR-002
## Change Level
L2 / L3(结构 · 无行为变更意图)
## Cases
- [x] Phase ALEGACY / ADR-0007 / go-services 对齐
- [x] Phase B:已完成(先前)
- [x] Phase C`service/membership` 抽出;路由不变;handler 接线
- [x] Phase Drelation/star engine 同包拆分
- [x] Phase E / ECR-002`star/fortune``star/outlook`JSON 双写
- [x] `go test` relation/star/outlook + build server
- [x] integration`go test ./internal/integration/` PASS
## Command
```bash
cd apps/api && go test ./internal/relation/... ./internal/star/... ./internal/service/... -count=1
go build ./cmd/server
go test ./internal/integration/ -count=1
```
## Residual Risk
- JSON 旧键 `fortune` 仍在;彻底删除需客户端迁移 ECR
- Period 结构体字段 `Lucky` json:`lucky` 仍保留兼容
## Gate
- [x] Phase AE 代码落地
- [ ] Reviewer 签核