chore(spec): T1/T3/T4/T5 勾选——媒体支持四任务闭环

Spec: 2026-10-25_add-media-and-polish

Co-authored-by: GLM-5.3
This commit is contained in:
wait4xandGLM-5.3 committed 2026-10-25 11:54:30 +08:00
1 parent a4388df35e
commit bbbd4ef11c
1 file changed
+4 -4
@@ -5,7 +5,7 @@
## 阶段一:实现 ## 阶段一:实现
- [ ] T1 灯箱原图/下载按钮美化 - [x] T1 灯箱原图/下载按钮美化
- claim: orchestrator - claim: orchestrator
- boundary: 只改 GalleryPage.astro 灯箱 lb-orig 区(升级为与 lbnav 同语言的胶囊按钮:图标+文字+悬停态) - boundary: 只改 GalleryPage.astro 灯箱 lb-orig 区(升级为与 lbnav 同语言的胶囊按钮:图标+文字+悬停态)
- verify: `pnpm astro build && grep -q "lb-orig" dist/gallery/index.html` - verify: `pnpm astro build && grep -q "lb-orig" dist/gallery/index.html`
@@ -15,17 +15,17 @@
- boundary: ArtalkComments.astro 内注入页面级覆盖样式(.atk-* 选择器,用 tokens 变量,明暗双态随 [data-theme]);可调研 Artalk darkMode 配置项并在 init 传参;不改 Artalk 服务端 - boundary: ArtalkComments.astro 内注入页面级覆盖样式(.atk-* 选择器,用 tokens 变量,明暗双态随 [data-theme]);可调研 Artalk darkMode 配置项并在 init 传参;不改 Artalk 服务端
- verify: `pnpm astro build && grep -q "atk-" src/components/ArtalkComments.astro` - verify: `pnpm astro build && grep -q "atk-" src/components/ArtalkComments.astro`
- [ ] T3 markdown 媒体支持 - [x] T3 markdown 媒体支持
- claim: orchestrator - claim: orchestrator
- boundary: src/styles/global.css 增媒体样式段(.prose-reading/.prose-tech 内 img/figure/video/audio:宽度/圆角/居中/图注样式);验证 raw HTML 透传与图片优化 - boundary: src/styles/global.css 增媒体样式段(.prose-reading/.prose-tech 内 img/figure/video/audio:宽度/圆角/居中/图注样式);验证 raw HTML 透传与图片优化
- verify: `pnpm astro build` - verify: `pnpm astro build`
- [ ] T4 三媒样张 - [x] T4 三媒样张
- claim: op-artalk(mesh 车道,预约 content/posts/media-sample.md 与其资产目录) - claim: op-artalk(mesh 车道,预约 content/posts/media-sample.md 与其资产目录)
- boundary: ffmpeg 生成 3s 测试视频(<1MB)与 3s 音频;一张测试图;写一篇 draft:true 的样例文章(category: tech, draft 置 true 不上线仅构建验证)三媒齐用;不碰既有六篇 - boundary: ffmpeg 生成 3s 测试视频(<1MB)与 3s 音频;一张测试图;写一篇 draft:true 的样例文章(category: tech, draft 置 true 不上线仅构建验证)三媒齐用;不碰既有六篇
- verify: `pnpm astro build && grep -q "<video" dist/archives/*/index.html -r | head -1` - verify: `pnpm astro build && grep -q "<video" dist/archives/*/index.html -r | head -1`
- [ ] T5 写作指南 - [x] T5 写作指南
- depends-on: task_0003 - depends-on: task_0003
- claim: orchestrator - claim: orchestrator
- boundary: 新建 docs/写作指南.md(三媒插入语法/资产目录约定 content/posts/assets/{slug}/)/体积纪律(图≤1MB 压缩后、音≤5MB、视频>5MB 走仓外 store+绝对 /media/ 路径待 build.sh 同步) - boundary: 新建 docs/写作指南.md(三媒插入语法/资产目录约定 content/posts/assets/{slug}/)/体积纪律(图≤1MB 压缩后、音≤5MB、视频>5MB 走仓外 store+绝对 /media/ 路径待 build.sh 同步)