From 10eaaeb8dc4f0e869847d3874a90793be3dfedf9 Mon Sep 17 00:00:00 2001 From: weichen Date: Mon, 5 Oct 2026 04:03:55 +0000 Subject: [PATCH] Record paper-preview verification on the task card Why: The card still said browser checks and the combined test were pending after both had passed. Evidence: make test exited 0 in this worktree. The harness measured white paper, black ink, preserved document colors, scale 0.496 at 420px, and transform none at 998px. Impact: Task record only. No code or gitlink change. Refs: feature/docx-paper-preview Co-authored-by: Cursor --- .task/feature-docx-paper-preview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.task/feature-docx-paper-preview.md b/.task/feature-docx-paper-preview.md index e33477fe..c80010ba 100644 --- a/.task/feature-docx-paper-preview.md +++ b/.task/feature-docx-paper-preview.md @@ -23,5 +23,5 @@ ## 结果与验证(完成后填写) - 结果:UI `b14c9c0` 增加 `--paper` / `--paper-ink` 并允许预览加载器返回清理函数;Frontend `9badbb1` 把 docx 页画到纸面令牌上并按栏宽缩放。 -- 验证:UI `npx vitest run` 84 通过、`npx tsc --noEmit` 通过;Frontend `npm test` 81 通过、`npx tsc -b` 通过。浏览器三主题与 `make test` 待补。 -- 影响与剩余项:深色主题下 docx 正文恢复可读。合入前需 task-sync、组合测试与浏览器核对。 +- 验证:UI `npx vitest run` 84 通过、`npx tsc --noEmit` 通过;Frontend `npm test` 81 通过、`npx tsc -b` 通过。`make test` 于 2026-10-05 在本 worktree 通过(boundaries、pins、libs、core、backend、frontend 81、ui 84、agent-command)。浏览器核对页:深色窄栏 420px 纸面 `rgb(255,255,255)`、默认墨色 `rgb(0,0,0)`、标题保留文档蓝 `rgb(31,78,121)`、红句保留 `rgb(192,0,0)`,缩放 `matrix(0.496222)`(页宽 794);浅色主题纸面与墨色不变;墨绿主题底座 `rgb(224,224,219)`、纸面仍白;栏宽 998px 时 `transform=none`(100%)。 +- 影响与剩余项:深色主题下 docx 正文恢复可读。mammoth 与伪 docx 文本回退仍走主题化排版。合入权在所有者,合入后才能 task-finish。