1.4 KiB
1.4 KiB
上线四缺陷修复 + E2E 全功能测试与视觉复核 - 任务拆解
使用规则
- boundary/verify 齐备;verify 只读断言
阶段一:实现
-
T1 四缺陷修复
- claim: orchestrator
- boundary: Header 委托/ArtalkComments site/tokens 字体/GalleryPage display
- verify:
pnpm astro build && node tests/e2e.mjs 2>&1 | grep -q "30/30 PASS"
-
T2 图库打磨
- claim: orchestrator
- boundary: GalleryPage 灯箱控件与 caption;content/photos sidecar 标题清空
- verify:
test $(grep -L '"title": ""' content/photos/*.json | wc -l) -eq 0
-
T3 E2E 套件
- claim: orchestrator
- boundary: 只新增 tests/e2e.mjs
- verify:
node tests/e2e.mjs 2>&1 | grep -q "30/30 PASS"
-
T4 视觉复核
- claim: lane-vision(glm-5.3-flash 子代理)
- boundary: 只读截图分析;产物 /tmp/e2e-shots/
- verify:
test $(ls /tmp/e2e-shots/*.png | wc -l) -ge 14
-
T5 视觉问题修复
- depends-on: task_0004
- claim: orchestrator
- boundary: 网格高度源/Header i18n/热力图缓存与末列/en 首页重写
- verify:
pnpm astro build && node tests/e2e.mjs 2>&1 | grep -q "30/30 PASS"
-
T6 收官
- depends-on: task_0005
- claim: orchestrator
- boundary: en 列表英文标题 + 归档推送上线
- verify:
grep -q "Waiting for Godot" ~/docker_apps/blog/www-staging/en/index.html
当前进度:由脚本计算,无需手动维护