refactor(ECR-001): Phase F types/sdk 对齐并拆分超标 H5 页

抽出 OpenAPI DTO;将 Ask/Report/Profile/Star 等 8 页拆到 ≤400 行,并修 ScaleSummary、fortuneKey、Scale 选答与单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-05 18:19:34 +08:00
co-authored by Cursor
parent 19d3cd5945
commit e735aa43e3
64 changed files with 6198 additions and 4157 deletions
@@ -0,0 +1,31 @@
# docs/TASKS/TASK-20260805-ECR001-phaseF-h5.yaml
task_id: ECR-001-phaseF-h5
role: engineer
phase: coding
tool: cursor
input:
- docs/ECR/ECR-001-structural-realignment.md
- docs/ENGINEERING_SPEC/ECR-001-structural-realignment.md
- proto/openapi.yaml
- .ai/coding.md
output:
- packages/types/**
- packages/sdk/**
- apps/user-h5/src/pages/*
- apps/user-h5/src/composables/*
- apps/user-h5/src/components/**
- docs/TEST_REPORT/ECR-001-phaseF-h5.md
forbidden:
- redesign_scope
- behavior_change
- api_url_change
next_agent: reviewer
status: coded
notes: >
Phase F packages align + continue H5 page splits for pages >400 lines.
No product behavior change. build:h5 + test:h5 PASS. See TEST_REPORT/ECR-001-phaseF-h5.md.