Expand description
The steps S1–S8, each as three parts: the before-image it records in the
journal’s intent, the change it makes, and its undo. Every change is
idempotent (it rewrites only what still holds the old value, so a second
run changes nothing), and both a change and its undo work from the
recorded before-image, never from a fresh look, so a step interrupted
halfway is finished or reversed the same way. Database steps are in
steps_db.rs, file steps in steps_files.rs.