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:
@@ -0,0 +1,34 @@
|
||||
# HANDOFF — ECR-012 Architect → Engineer
|
||||
|
||||
**Date:** 2026-08-12
|
||||
**ECR:** ECR-012(**Approved**)
|
||||
**BD:** BD-2026-012 Approved
|
||||
|
||||
## Task interpretation
|
||||
|
||||
用户自由文字统一合规闸门:后端 `textsafe` 权威;H5 `@yuxingu/utils` 镜像即时提示;错误码 **40060**。
|
||||
|
||||
## Load
|
||||
|
||||
1. `docs/ECR/ECR-012-input-compliance.md`
|
||||
2. `docs/BACKEND_DESIGN/BD-2026-012-input-compliance.md`
|
||||
3. Spec:`.ai/product/feature-spec/input-compliance.md`
|
||||
4. `docs/PROJECT_RULES.md` · `.ai/definition-of-done.md`
|
||||
|
||||
## Ordered plan
|
||||
|
||||
1. 实现 `internal/textsafe` + 单测
|
||||
2. 挂接 auth / profile / ask / companion / growth / synastry(及 mood note 若在 Spec)
|
||||
3. Handler:`ErrRejected` → 40060
|
||||
4. utils + 关键表单即时错误
|
||||
5. OpenAPI 注明 40060 · TEST_REPORT · HANDOFF→reviewer
|
||||
|
||||
## Smoke checklist
|
||||
|
||||
- [ ] 违规昵称 / ask / note → 40060
|
||||
- [ ] 合法中文名通过
|
||||
- [ ] 前端至少昵称/问答/档案名有即时错误
|
||||
|
||||
## Owner
|
||||
|
||||
`STATE.owner = engineer`
|
||||
Reference in New Issue
Block a user