Files
blog/.spec/specs/archive/2026-11-04_blog-5k-about-designs/tasks.md
T
wait4xandGLM-5.3 b72ecccc80 chore(spec): 归档 blog-5k——两任务收敛(关于页定稿方案 A)
Spec: 2026-11-04_blog-5k-about-designs

Co-authored-by: GLM-5.3
2026-11-04 23:30:15 +08:00

1.2 KiB
Raw Blame History

Phase 5k:关于页形态探索 - 任务拆解

使用规则

  • E2E 口径:pnpm astro build → cp -a dist /tmp/dist-e2e-5k → gz-server.py 18925 /tmp/dist-e2e-5k → E2E_BASE=… node tests/e2e.mjs(基线 56 项)
  • 预览路由一次性:选定后删除路由与 lint 白名单

阶段一:实现

  • T1 预览页五案

    • claim: orchestrator
    • boundary: src/pages/about-preview.astro(新)、scripts/build-perf/content-lint.mjs(SKIP_ALL 加该路由)、content/site/about.yaml(若某案需要演示字段则补,双语)
    • verify: ! test -f src/pages/about-preview.astro && grep -q "doc:" content/site/about.yaml && E2E_BASE=http://127.0.0.1:18925 node tests/e2e.mjs 2>&1 | grep -qE "汇总: [0-9]+/[0-9]+ PASS"(终态:预览路由已删、doc 已落地)
  • T2 选型落地(manual: 等用户在预览页点选)

    • claim: orchestrator
    • boundary: src/components/pages/AboutPage.astro、content/site/about.yaml、删除预览路由与 lint 白名单
    • verify: manual: 落地后人工核验 /about 渲染正确且预览路由 404

阶段二:验收

  • 视觉复核:glm-5.3-flash:max 看五案截图(≤5 图/轮)
  • 用户在预览页点选后执行 T2