refactor(ECR-005): 再拆 Ask/Decode/Portrait 与 composable,补强 OpenAPI
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s

压低贴线 SFC/composable;报告/档案/量表/意象卡 path 挂 Envelope $ref;CI ESS 门禁跟到 ECR-005。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-05 22:38:32 +08:00
co-authored by Cursor
parent 7034c92de7
commit 00fc7f82b9
31 changed files with 2017 additions and 1251 deletions
+23
View File
@@ -0,0 +1,23 @@
# 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