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
+41
View File
@@ -0,0 +1,41 @@
# ECR-002
**Title:** 星座引擎包名卫生(fortune → outlook
**Status:** Approved
**Date:** 2026-08-05
**Change Level:** L2
## Change
`internal/star/fortune` 重命名为 `internal/star/outlook`Summary/Detail 双写 `outlook` / `outlook_detail`,并保留旧键 `fortune` / `fortune_detail` 兼容期。
## Motivation
`.ai/architecture/go-services.md` 禁止 `fortune` 包名;与 lexicon 对齐。用户要求纳入 ECR-001 Phase E。
## Scope
### Allowed
- 包重命名、import 更新、双写 JSON 键
- 文档 / TRACEABILITY
### Forbidden
- 删除旧 JSON 键(须另开迁移 ECR)
- 改计分算法 / 文案语义
- 改公共 URL
## Acceptance Criteria
- [x]`internal/star/fortune` 目录
- [x] `go test ./internal/star/...` 绿
- [x] 旧键 `fortune` 仍存在(compat
- [x] 新键 `outlook` 存在
## Rollback
revert 包名与双写 commit
## Risk Review
N/A
## Linked
- Parent: ECR-001 Phase E
- TRACEABILITY: Yes