Expand description
Resume: remote validation and state reconciliation (PRD §12, §13).
Resume is the normal case, not the exceptional one. Two questions have to be answered before a single byte is reused:
- Is the remote still the same object? —
validate - Is the local file still the file we were writing? —
check_identityandreconcile
Either answer being “no” means we refuse or re-download, never “hope”.
Structs§
Enums§
Functions§
- check_
identity - Is the file at the destination the one we recorded progress against?
- plan_
is_ intact - Does this plan still cover exactly
totalbytes with no gaps? If not the engine must replan rather than patch (PRD Invariant 3). - reconcile
- Bring persisted ranges into line with the file that is actually on disk.
- validate
- Compare what we recorded last time against a fresh probe.