Files
ElyOffice/tasks/reviews/R6.7-r1.md
T
ZacharyZhang-NYandClaude Opus 5.5 afe3ade415 R6.7 round 1 fix: a drawn CRLF reads back to its start
Pins component c31d092.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 13:05:54 -04:00

1.2 KiB

FAIL

  • C:/Users/zhang/Documents/Github/Ely-GPUI-Components/src/documents/tree/mod.rs:166:软换行改画为 \n 后,CRLF 的点击位置没有同步修正。打开 one\r\ntwo\r\n,在可视模式点击第一行 one 的末尾,输入 X 后按 Esc,实际写回 one\rX\ntwo\r\n,而非 oneX\r\ntwo\r\n,把原来的两行拆成三行。GPUI 点击、输入、提交探针已复现,插入点为字节 4,落在 CRLF 中间;旧的 joined 读法映射到字节 3。原因是 tree/sources.rs:322 的字符相等分支先匹配 LF,绕过下方合并 CRLF 的逻辑。修复源字节映射,将画出的换行映射到整个 CRLF 的起点,并补上行末点击后输入的回归测试。证据:.work/R6.7-r1-review/component-probes-final.log、reproduction.log。

  • C:/Users/zhang/Documents/Github/Ely-GPUI-Components/src/documents/tree/mod.rs:183:本次新增的文档注释 A reader of root, parsed from source, as the screen draws it. 有 12 个词,违反本轮明确要求的注释最多十词规则;按仓库注释检查采用的空白分词方式即可复现。缩短该注释至十词以内。证据:.work/R6.7-r1-review/scope-audit.log。