060c0cd0f8
The resume token only recorded `cold_start_if_installed: bool` and execution re-read the mutable one-shot start-attestation marker to decide whether a Desktop-owned install still owed a cold-start. A concurrent `hermes gateway status`/`start` (`check_start_attestation`) consumes that marker between plan and execution, so the spawn was skipped and the token cleared with no gateway running. The marker now carries a `generation` nonce. The plan records the generation whose unclean death authorized the cold-start on the token (`attested_generation`); execution authorizes the spawn from the token, still re-checks live gateway PIDs, and consumes the marker only while it is still that generation — a newer marker written by a concurrent start keeps its own report. `attested_gateway_died` becomes `attested_death_generation` (`None` = undecidable, fail closed). Follow-up to #110020 review thread (a).