Files
digital-psychology/docs/ECR/ECR-005-h5-openapi-hygiene.md
T
jackyu66gitandCursor 00fc7f82b9
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
refactor(ECR-005): 再拆 Ask/Decode/Portrait 与 composable,补强 OpenAPI
压低贴线 SFC/composable;报告/档案/量表/意象卡 path 挂 Envelope $ref;CI ESS 门禁跟到 ECR-005。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 22:38:32 +08:00

24 lines
749 B
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-005
**Title:** H5 二次拆分与 OpenAPI 契约补强
**Status:** Approved
**Date:** 2026-08-05
**Change Level:** L2(结构 / 契约;无产品扩行为)
## Change
1. 拆分 AskAiPane / DecodePanel;抽出 usePortraitPage / useDecodePanel
2. 精简 useReportPage / useStarProfilePage / useProfilePage(纯函数/actions 外提)
3. OpenAPI:报告/档案/探索测试/意象卡关键 path 挂 `$ref`star 描述改为 outlook
## Acceptance
- [x] 上述目标文件 ≤250ReportsPage 299 贴线可接受)
- [x] test:h5 36/36 · build:h5
- [x] OpenAPI 关键 GrowthReport / Profile / ScaleDetail / ImageCard 信封
- [x] ESS 工件
## Linked
TASK / STATE / TEST_REPORT / CODE_REVIEW under ECR-005