# 任务清单:Phase 5f(SEO 解封与功能优化批 + 美化首批) 说明:verify 命令均在仓库根执行;车道工作树开发禁 git,收编由 orchestrator 统一提交。 - [ ] T1 - id: task_0001 - title: SEO 仓库侧三件(robots.txt + admin noindex 预案 + 用户操作单) - boundary: public/robots.txt(新建)、docs/上线检查单.md(追加操作单节) - verify: `test -f public/robots.txt && grep -q "Sitemap: https://wait4x.online/sitemap-index.xml" public/robots.txt && grep -q "Disallow: /admin" public/robots.txt && test -f dist/robots.txt` - [ ] T2 - id: task_0002 - title: localePath 双 en 修复 + 自指 canonical + 尾斜杠归一 - boundary: src/lib/locale.ts、src/layouts/BaseLayout.astro(canonical 行)、src/components/Header.astro(nav-lang href 尾斜杠) - verify: `! grep -r "/en/en/" dist/ && grep -q 'rel="canonical"' dist/en/archives/mian-sha/index.html && node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS"` - [ ] T3 - id: task_0003 - title: 构建期内容 lint + 生产冒烟 + build.sh 守卫挂载 - boundary: scripts/build-perf/content-lint.mjs(新)、scripts/build-perf/prod-smoke.sh(新)、infra/deploy/build.sh(守卫行) - verify: `node scripts/build-perf/content-lint.mjs dist && bash -n infra/deploy/build.sh && test -x scripts/build-perf/prod-smoke.sh` - [ ] T4 - id: task_0004 - title: reader 纯文本模式(html.reader + 命令面板 + r 键 + 持久化) - boundary: src/styles/global.css(reader 段)、src/components/CommandPalette.astro、src/components/geek/Keyboard.astro、src/i18n/ui.ts(cmd_reader 键) - verify: `node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS" && grep -q "reader" src/components/CommandPalette.astro && grep -q "html.reader" src/styles/global.css` - [ ] T5 - id: task_0005 - title: 代码块窗条(P 卡:≥4 行灰阶窗+mono 标题+灰阶三点) - boundary: 技术轨正文组件的代码块样式(GalleryPage 之外;具体落点车道自查源码定)+ global.css 如需 - verify: `node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS" && grep -qE "code-win|codewin" src/styles/global.css src/components/ -r` - [ ] T6 - id: task_0006 - title: 书评纸面板(Q 卡:圆角米灰纸卡+暗色暖棕+hairline 边框) - boundary: 书评轨正文容器样式(prose-reading 相关组件/tokens.css 新增 --paper 变量可与 T7 协同由 orchestrator 统一入 tokens) - verify: `node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS" && grep -qE "paper" src/styles/tokens.css src/styles/global.css -r` - [ ] T7 - id: task_0007 - title: 版式基底(K/L/O 卡:流距 token+灰阶补档+暗色 hairline 降档+微交互曲线+focus ring) - boundary: src/styles/tokens.css、src/styles/global.css(本卡为 orchestrator 专属车道,他人不并改动两文件) - verify: `node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS" && grep -q "flow-h2-pre" src/styles/tokens.css && grep -q "focus-ring\|focus-visible" src/styles/global.css` - [ ] T8 - id: task_0008 - title: 首屏 tagline + 图库质感(M/N 卡:身份语+圆角统一+暗色 4% 衬底) - boundary: src/components/IdCard.astro 或首页身份区、src/components/pages/GalleryPage.astro(stage 暗色衬底+radius 统一) - verify: `node tests/e2e.mjs 2>&1 | grep -q "33/33 PASS" && grep -q "tagline\|身份" src/pages/index.astro src/components/ -r | head -1`