Files
Agent-System/.doc/audit/2026-09-13-document-revision-post-restart-final-snippet.md
T
weichenandCursor 9345109dca docs(ops): archive completed document-revision session files
Move done DOCREV short-terms, checklists, and handoffs into archive/ops and retarget relative links after Round20 close-out.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 00:27:18 +00:00

1.8 KiB
Raw Blame History

title, status, created, updated, severity
title status created updated severity
post-restart 断言了已过期的 UI-06 正文 marker done 2026-09-13 2026-09-14 high

post-restart 断言了已过期的 UI-06 正文 marker

现象

第二次真实 post-restart(schema 31):login、项目、受控文档、revision-state 200、V3/r2、正文均已恢复。失败只因:

getByText('UI06-mu0eq020') → element(s) not found

phase-state.json 仍写 bodySnippet=UI06-mu0eq020,而 UI-13b A1 成功保存后最终持久正文是 A1-win-*。

根因分析

层 问题
UI-06 硬刷新后把当时 marker 写入 phase-state.bodySnippet
UI-13b A1 2xx 保存并断言 markerA1 可见;A2 409 冲突稿留在编辑器。未回写最终持久正文
UI-15-pre 更新了 versionText/revisionText,但 ...st 原样带上过期 snippet
post-restart 正确坚持断言 st.bodySnippet 可见,于是用旧 marker 对照新正文 FAIL

产品恢复链已成立;这是 测试状态链过期,不是账本丢失。

严重度

high

关联整改

证据

  • 失败归档(只读):.doc/test-reports/assets/2026-09-13-document-revision-runtime-ui/schema31-postrestart-stale-body-snippet-failure/
  • phase-state.json:controlledDocId=doc_proj6157_intake,V3/r2,bodySnippet=UI06-mu0eq020

开放问题

  • 无(本缺陷)。Round20 bodySnippet=A1-win-mu0gwiez,post-restart PASS。失败归档不删。

关闭记录

../test-reports/2026-09-14-document-revision-runtime-ui-test-report.md