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

749 B
Raw Blame History

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 挂 $refstar 描述改为 outlook

Acceptance

  • 上述目标文件 ≤250ReportsPage 299 贴线可接受)
  • test:h5 36/36 · build:h5
  • OpenAPI 关键 GrowthReport / Profile / ScaleDetail / ImageCard 信封
  • ESS 工件

Linked

TASK / STATE / TEST_REPORT / CODE_REVIEW under ECR-005