Warning · State transition
Impact
If the receipt remains locked, recovery can restore the old executable while leaving the new receipt in place.
Recommended action
Validate the existing receipt against the new version and digest; if it matches, retry cleanup without rewriting it.