Files
Agent-System/.doc/archive/ops/handoffs/2026-09-13-document-revision-pg-id-remap.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, created, updated, from, to, status
title created updated from to status
PG ID 重映射:Round20 后关闭 2026-09-13 2026-09-14 Cursor-Auto next-agent done

交接:PG ID 重映射(已合入并经 Round20 验证)

目标(下一位 Agent 应完成什么)

  • 不要重开本缺陷,除非新现场再次出现 CommitAgentVersion not found
  • 不要改删 Round19 失败归档
  • 全仓焦点已离开文档运行时 UI;勿占用已释放的 DOCREV-RT 集成槽,除非新任务登记

已完成

  • 统一 advanceID / nextFreeID / adopt*ID
  • 隔离 PG 高序列首次生成:baseline 不丢、重启 hydration
  • 合入 dev@b258ab8
  • Round20 真实 UI-03:项目 6159 首次生成 V2/r0,不再 docrevision: not found

未完成

  • 无(本缺陷)。PI 叙事 fallback 与 CHAT-INTENT 属其他条目

认领 / 槽位状态

项 值
mutex 已释放 yes
集成槽位 holder idle(运行时 UI 收口后释放)
branch 已合入 dev(merge: fix/document-revision-pg-id-remap)
worktree -

关键文件

路径 说明
internal/docrevision/ids.go counter / adopt
internal/docrevision/pg_mutate.go PG 写入后 adopt
internal/docrevision/pg_id_remap_test.go 隔离 PG 碰撞

如何验证

见 ../../test-reports/2026-09-14-document-revision-runtime-ui-test-report.md。不要把 output snapshot 250 写成 candidate 250(6158 现场:candidate id=175、output snapshot id=250、report id=175)。

风险 / Blocker

  • 不得把 ErrNotFound 改成忽略

相关链接