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
+22 -1
View File
@@ -20,6 +20,27 @@
| `apps/mini-program` | Mini-program scaffold |
| `packages/*` | sdk / types / utils / ui |
| `apps/docs/` | Human PRD / business docs (not a substitute for `.ai/`) |
| `docs/` | ESS process artifactsECR / TASK / HANDOFF / PROFILE |
## ESSprocess overlay
Bound to **engineering-spec-system v1.0**. Product rules stay in `.ai/`; change control uses ESS roles + `docs/`.
```text
Load Agent Profile: ARCHITECT | ENGINEER | REVIEWER | RELEASE_MANAGER
```
1. `$ESS_ROOT/SKILL.md` + `$ESS_ROOT/agents/<PROFILE>.md`
2. `docs/PROJECT_PROFILE.md` · `PROJECT_RULES.md` · `TECH_STACK.md`
3. Active `docs/TASKS/` · `docs/ECR/` · `docs/HANDOFF/` · `docs/STATE/`
4. Still obey [AGENTS.md](AGENTS.md) `.ai/` load order for domain / Feature Spec / DoD
```bash
python scripts/ess-validate.py --phase design --ecr ECR-xxx
python scripts/ess-gate-check.py --ecr ECR-xxx
```
Do **not** copy the ESS tree into this repo. Architect must not edit `apps/` / `packages/`.
## Commands
@@ -31,7 +52,7 @@ npm install && npm run dev:h5
## Legacy
Root `yuxingu.html`, `pages/`, `server.py` = prototype. Do not extend. See [LEGACY.md](LEGACY.md).
Static prototype (`yuxingu.html` / `pages/` / `css/` / `js/`) **removed** from tree — do not recreate. `server.py` must not grow product APIs. See [LEGACY.md](LEGACY.md).
## Skill routing