feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点

落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-13 01:27:58 +08:00
co-authored by Cursor
parent 13860bf1ef
commit 89756f65b4
227 changed files with 7405 additions and 1407 deletions
@@ -0,0 +1,20 @@
# ENGINEERING_SPEC — ECR-013 Scale bank explore
**ECR:** ECR-013
**BD:** BD-2026-013
## Layers
Handler → Service →(scalebank embed \| ScaleRepo
## Constraints
- Function ≤50 · File ≤400(页面/composable 已接近上限,禁止再堆逻辑)
- 题目仅 embedDB 仅 stub scale + results
- Lexicon:非诊断 disclaimer
## Frontend
- `ExplorePage` / `ExploreBankCategoryPage` 共用图标 allowlist helper
- `useScalePage`slug 响应式;有结果直接 `phase=result`
- `AppHeader``/explore` 显示 BackButton
@@ -0,0 +1,14 @@
# ENGINEERING_SPEC — ECR-014 Temporal refresh
**ECR:** ECR-014
**BD:** BD-2026-014
## Layers
Handler → Service(home|report) → Repository → DB
## Constraints
- 换日**禁止**新报告 id(深度权益)
- 时辰贴士禁止同步阻塞 LLM
- Retro:仅收口 Scope freeze 内已实现契约,不扩功能
@@ -0,0 +1,14 @@
# ENGINEERING_SPEC — ECR-015 Account avatar
**ECR:** ECR-015
**BD:** BD-2026-015
## Layers
Handler(auth|media) → Service(auth) → avatar store + AuthRepo → DB/FS
## Constraints
- 本地目录相对进程 CWD`data/avatars/`gitignore
- `avatar_url` 存 API 相对路径,H5 经 `apiAssetURL` 拼 base
- Retro:收口 Scope freeze,不扩存储后端
@@ -0,0 +1,3 @@
# ENGINEERING_SPEC — ECR-016
Handler → scale.Service → Repo + jungian scorembti-full MembershipChecker.