Keep a plain-text stage log next to the release record with one completed stage name per line.

After a stage succeeds, append its name to the log before starting the next stage; write through a temporary file plus rename so a crash mid-write cannot corrupt the list.

On resume, read the log and skip every stage already listed; run only the first unlisted stage onward.

Clear the log only after the final stage closes, so a finished release starts clean next time.