21 lines
778 B
Markdown
21 lines
778 B
Markdown
# C2-003 Status
|
|
|
|
status: done
|
|
task: undo_redo_save_invariants
|
|
gate: G2
|
|
updated: 2026-08-23 America/New_York
|
|
|
|
C2-003 adds a bounded corrective history store over the atomic Main store.
|
|
Commits create one undo snapshot and clear redo; undo/redo restore value,
|
|
revision, and dirty state; save records a clean snapshot; reopen restores that
|
|
snapshot and clears transient history. No-op commits do not create history
|
|
entries.
|
|
|
|
The focused history test passed 5/5 assertions. Desktop and WASM save/reopen
|
|
snapshots matched exactly. Deterministic receipt generation, protected legacy
|
|
hash comparison, typecheck, context/corrective governance, task-context, and
|
|
`git diff --check` all exited 0.
|
|
|
|
Evidence and manifest: `tests/golden/corrective/C2-003/`.
|
|
Next corrective task: `C3-001`.
|