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
+47
View File
@@ -0,0 +1,47 @@
# CODE_REVIEW — ECR-015 Account avatar
**Date:** 2026-08-13
**Reviewer:** Agent (ESS REVIEWER)
**Verdict:** **Approve**
**Retrospective:** true
```text
ESS Mode: L2
Phase: REVIEWER
ECR: ECR-015
Forbidden: production edits this turn
```
## Process debt
实现早于 ECR(倒序)。**非**正序样板路径。
## Acceptance ↔ Evidence
| Item | OK |
|------|-----|
| Upload ≤2MB jpeg/png/webp | Store + handler 40114 |
| 超限/坏类型 | store_test PASS |
| media 公开读 · 拒穿越 | ResolveAbs + MediaHandler |
| me.avatar_url · H5 默认图 | types/SDK/MinePage/default-avatar.png |
| OpenAPI | upload/media 已述 |
| go test avatar · ess-validate coding | PASS |
## Backend Review
```text
☑ Design Compliance — BD-2026-015
☑ Layer boundary · Repository · Migration 000018
☑ API contract · Security (size/type/path)
☑ Tests · Rollback · Change Boundary(未吞 OpenLogin/题库)
☑ Trace — TEST_REPORT · 本 Review
```
## Residual(接受)
- 手工 UI 冒烟未在本机浏览器执行(单测覆盖核心安全边界)
- 无对象存储(Spec Out
## Decision
**Approve** → ECR-015 **Closed**