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>
2.3 KiB
2.3 KiB
title, status, created, updated, owner, branch, worktree, mutex
| title | status | created | updated | owner | branch | worktree | mutex |
|---|---|---|---|---|---|---|---|
| 可靠事件与 FAV 集成 M2–M3 | planned | 2026-09-14 | 2026-09-14 | TBD | refactor/durable-event-fav-integration | - | event-delivery |
可靠事件与 FAV 集成 M2–M3
目标
完成 U5–U9,使投影、通知、RunManifest 和最终成果在多 worker、崩溃、重放和 workspace 清理后仍可恢复且不越权。
范围
- opaque workspace capability、lease 和 fencing。
- durable outbox、逐消费者 delivery/inbox、重试和 dead letter。
- 审计并集成
feature/final-artifact-vault的适用实现。 - taskrun finalize、RunManifest 持久化、FAV coverage 和迁移 corpus。
非目标
- 不盲目整分支 cherry-pick FAV。
- 不启用跨授权图的 vault 读取。
- 不自动销毁 dev/main 数据。
- 不执行 U10–U12。
步骤
- 读取 M1 test report,确认继续 M2 的 go/no-go 已通过。
- 重新分配 Goose 序号并审计 U6/FAV schema 组合。
- 实现 U5–U6,多 app/worker 和 crash matrix 先通过。
- 逐文件审计 FAV 分支,按 U7 边界迁移合格实现。
- 实现 U8,收敛 taskrun terminal finalize 与 RunManifest。
- 实现 U9 的 checkpoint backfill、corpus、quarantine 和 cleanup gates。
- 完成真实 PI、浏览器、workspace 清理、scratch recovery 和 rebuild 演练。
验收标准
- 多订阅者有独立 delivery,失败者不阻塞其他订阅者。
- worker crash/retry/replay 不造成重复可见副作用。
- workspace 清空后,verified 最终文档/回复仍可定位并校验。
- 授权图缺失、跨项目、tombstone、坏 digest 和 stale fencing 全部拒绝。
- clean/oldest/previous/hazard/import/reload/rollback/artifact recovery 八轨有独立证据。
- 任何数据销毁仍需完整备份、corpus、FAV coverage 和用户批准。
相关链接
- Checklist: ../checklists/2026-09-14-module-decoupling-refactor-acceptance.md
- Handoff: 实施时创建
- Test report: 实施后按 M2、M3 分开创建
- Plan: ../../remediation/2026-09-14-module-decoupling-refactor-plan.md
证据 / 备注
本任务依赖 M1,不得与 M1 同时修改 docgov/docrevision 的事务主链。