It was previously handled in prospector but this meant reading the state file multiple times. This is in main go file so it only reads it once.

It also holds for prospectors to finish checking and pruning the resume information before allowing registrar to start, to ensure the new initial state can be recorded FIRST before any pipeline events get persisted.