Files
digital-psychology/docs/ECR/ECR-013-scale-bank-explore.md
T
jackyu66gitandCursor 89756f65b4 feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点
落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 01:27:58 +08:00

42 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ECR-013
**Title:** 探索 curated 题库(A 集)+ 结果回看
**Status:** Approved
**Date:** 2026-08-13
**Approved:** 2026-08-13Human:探索题库非临床 A 集;完成后只看结果/重测;探索返回)
**Change Level:** L2
## Change
1. Active Spec 更新:`.ai/product/feature-spec/explore-test.md`R8/R13/R14 · 路由)
2. `internal/scalebank`embed curated A 集;Catalog / Category / Get / ScoreSum
3. API`GET /scale-bank/catalog` · `GET /scale-bank/categories/:key`bank slug 走 `GET|POST /scales/:slug(/result)`
4. H5:探索题库精选宫格 + 分类列表页;每量表独立图标;R8 结果回看;探索顶栏返回
5. SDK/types · OpenAPI
## Motivation
探索需可运营的非临床题库入口;与产品向 `mbti-lite` 并存;禁止临床筛查进 C 端。
## Scope
### Allowed
- Spec explore-test · scalebank · scale service/handler · Explore* 页 · useScalePage · HomeToolIcon 题库图标 · AppHeader 探索返回 · sdk/types · openapi
### Forbidden
- 临床类量表上架 · 第三方题库实时抓取进生产 · 改支付/Ops CMS 本 ECR
## Acceptance
- [x] catalog 返回精选 + 四分类;无临床类
- [x] bank slug 可 Get / Submit / LatestResult;二次进入只看结果+重测
- [x] 精选图标互不相同
- [x] `/explore` 显示返回
- [x] go test scalebank + integration TestScaleBankResultRoundtrip · vitest ScalePage · ess-validate coding/review
## Trace
Spec `explore-test` · TASK-013 · BD-2026-013 · TEST_REPORT/ECR-013.md