Files
workinf_Blender_Wasm/docs/corrective/C2-003-undo-redo-save-invariants.md
mes123456 a081c68c87
Some checks are pending
M6 deployable RC / quick (push) Waiting to run
M6 deployable RC / chromium (push) Blocked by required conditions
M6 deployable RC / release (push) Blocked by required conditions
Reorganize Blender Web execution around capabilities
2026-08-24 18:37:46 -04:00

1.1 KiB
Raw Blame History

C2-003 undo_redo_save_invariants

状态done 计划:BLENDER_WASM_CORRECTIVE_TASK_PLAN 阶段P2 GateG2 依赖:C2-002 lifecycleStatusdone blockedBynone writeScopeproduction_pilot queueMutationAllowedfalse

目标

为 atomic Main mutations 增加 bounded undo/redo history、dirty tracking 和 save/reopen invariant。undo/redo 必须恢复完整 snapshot 与 revisionsave 清除 dirty 状态reopen 必须恢复最后保存的 snapshot失败命令不得创建 history entry。

输入

  • web/protocol/corrective-main-transaction.ts
  • web/protocol/corrective-command-registry.ts
  • tests/golden/corrective/C2-002/manifest.json
  • tests/golden/corrective/C1-002/result-schema.json
  • tests/golden/corrective/C1-002/error-status-table.json

交付

  • bounded history store with undo/redo/save/reopen operations。
  • focused positive/negative/persistence tests and deterministic receipts。
  • protected-hash, typecheck, governance, manifest and status evidence。
  • 不修改旧 M16 queue、manifest、registry、catalog、index 或历史 evidence。