Expand description
Writing a run’s checkpoints and reading them back (docs/specs/SPEC_DRONE_GENERAL_AUTOMATION_2026_11_11.md §3.3).
The first checkpoint of a run is stored whole and each later one as the diff
from the one before it (checkpoint::diff), so a run of a thousand steps does
not store a thousand copies of its state. load folds the rows of a run
back into its newest checkpoint.
Structs§
- Persist
- What a run is given to keep its checkpoints: where, and the graph version it started on.
- Recorder
- Writes one run’s checkpoints, a step at a time.
Enums§
Constants§
Traits§
- Checkpoint
Sink - Where a run’s checkpoints are kept: the store beside its run row, or memory in a test.
Functions§
- load
- The newest checkpoint in
rows(a run’s rows, oldest step first): the first is whole and each next one a diff from it. An empty list isOk(None); a list that does not start whole, skips a step, or has a row that is unreadable is an error, never a guess.