refactor(ECR-005): 再拆 Ask/Decode/Portrait 与 composable,补强 OpenAPI
压低贴线 SFC/composable;报告/档案/量表/意象卡 path 挂 Envelope $ref;CI ESS 门禁跟到 ECR-005。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,19 +40,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: ESS artifact presence (ECR-004)
|
||||
- name: ESS artifact presence (active ECR)
|
||||
run: |
|
||||
test -f docs/ECR/ECR-004-hygiene-followup.md
|
||||
test -f docs/TASKS/TASK-20260805-ECR004.yaml
|
||||
test -f docs/TEST_REPORT/ECR-004.md
|
||||
test -f docs/STATE/ECR-004.md
|
||||
test -f docs/ECR/ECR-005-h5-openapi-hygiene.md
|
||||
test -f docs/TASKS/TASK-20260805-ECR005.yaml
|
||||
test -f docs/TEST_REPORT/ECR-005.md
|
||||
test -f docs/STATE/ECR-005.md
|
||||
echo "ESS docs gate OK"
|
||||
- name: ess-validate when ESS_ROOT available
|
||||
env:
|
||||
ESS_ROOT: ${{ vars.ESS_ROOT }}
|
||||
run: |
|
||||
if [ -n "$ESS_ROOT" ] && [ -f "$ESS_ROOT/scripts/ess-validate.py" ]; then
|
||||
python scripts/ess-validate.py --phase coding --ecr ECR-004 --task docs/TASKS/TASK-20260805-ECR004.yaml
|
||||
python scripts/ess-validate.py --phase coding --ecr ECR-005 --task docs/TASKS/TASK-20260805-ECR005.yaml
|
||||
else
|
||||
echo "ESS_ROOT not configured in CI — skipped full ess-validate"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user