Files
Agent-System/.doc/ops/short-term/2026-09-14-document-reliability-pilot.md
T
weichenandCursor 2269cabf43 docs(arch): archive document reliability pilot plan and claim docgov
Land the revised modular-monolith scheme on the implementation branch so U1–U4 can proceed against a frozen design, and register the docgov mutex without occupying the integration slot.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:43:54 +00:00

2.6 KiB
Raw Blame History

title, status, created, updated, owner, branch, worktree, mutex
title status created updated owner branch worktree mutex
文档可靠性纵向试点 M0–M1 in_progress 2026-09-14 2026-09-14 Cursor refactor/document-reliability-pilot .worktrees/refactor-document-reliability-pilot docgov

文档可靠性纵向试点 M0–M1

目标

在不横向搬包的前提下,完成 U1–U4,使受控文档在并发提交、页面刷新、重登、restart、rebuild 和 projection 缺失后仍从数据库账本返回唯一授权正文。

范围

  • U1 架构基线与 production writer/path 门禁。
  • U2 应用 UnitOfWork 和跨属主事务能力。
  • U3 人工编辑、agent commit、批准/驳回事务化。
  • U4 授权后的文档统一读模型。
  • 项目 143 等价脱敏 hazard 与新项目真实 PI/UI 验收。

非目标

  • 不启用 FAV degraded read。
  • 不拆 chatlog/contextasm/squadrun 包。
  • 不统一错误信封,不修改 PI Runner 协议。
  • 不清理历史 dev 数据。

步骤

  1. 从最新 dev(a8f9451)创建实现分支,登记 CURRENT 并确认 docgov mutex 已释放。
  2. 为当前跨表提交、刷新读取、ETag/idempotency 和权限负例补 characterization。
  3. 实现 U1–U2,验证任意属主写入/commit 故障整体回滚。
  4. 实现 U3,删除提交后 outbox 正确性回调。
  5. 实现 U4,保证 GET 零写入和 projection 缺失不再伪装成 404。
  6. 执行多实例并发、PG、真实 PI、真实浏览器和 restart/rebuild 验收。
  7. 写 test report,更新验收清单、FEATURE-MATRIX、CURRENT 和 gap-matrix。

验收标准

  • 同一 ETag 并发编辑只有一个合法赢家,账本/head/outbox 无孤儿。
  • 任一事务故障点不会留下部分提交。
  • 项目 143 等价 hazard 和新项目刷新/重启目标 404/409/projection missing 为 0。
  • 匿名、非成员、跨用户、跨项目、错误 stage/duty 和授权依赖失败均 fail closed。
  • 1、2、4 个 app 实例的最终状态一致。
  • M1 test report 给出继续 M2 或停止扩面的明确结论。

相关链接

证据 / 备注

只有本任务真实验收通过后,才允许启动 durable event/FAV 与横向模块扩展。