1.1 KiB
1.1 KiB
C2-002 atomic_main_mutation
状态:done
计划:BLENDER_WASM_CORRECTIVE_TASK_PLAN
阶段:P2
Gate:G2
依赖:C2-001
lifecycleStatus:done
blockedBy:none
writeScope:production_pilot
queueMutationAllowed:false
目标
为 registry dispatch 增加 atomic Main mutation boundary。成功命令只能提交 一次 revision/dirty 变化;adapter 抛错、返回 malformed result、revision conflict 或取消时必须回滚 provisional state,保持 Main snapshot、revision 和 dirty 状态不变。
输入
web/protocol/corrective-case-runner.tsweb/protocol/corrective-command-registry.tstests/golden/corrective/C2-001/manifest.jsontests/golden/corrective/C1-002/result-schema.jsontests/golden/corrective/C1-002/error-status-table.json
交付
- 可测试的 atomic Main mutation transaction boundary。
- success、adapter throw、malformed result、cancel 和 revision conflict 的 focused tests 与 normalized receipts。
- evidence、determinism、protected-hash、typecheck 和 governance manifest/status。
- 不修改旧 M16 queue、manifest、registry、catalog、index 或历史 evidence。