Updates a freshly-generated task grid with terminal status values from a checkpoint. Pending tasks remain pending; only tasks that were completed (success/failed/skipped) in the checkpoint are updated.
Arguments
- fresh_grid
Task grid tibble from
create_task_grid().- checkpoint_grid
Task grid tibble from checkpoint.
Details
The function preserves the deterministic task ordering and RNG seeds
from the fresh grid, only updating status (and any recorded
stop_reason) for tasks that were terminal in the checkpoint. This
ensures resumed runs maintain identical reproducibility guarantees.
Policy-stopped rows return to pending with no stop reason; a resumed
run that stops before executing them re-marks them in
execute_tasks().