Serious · Error handling
Rollback and pre-switch recovery replace the old receipt even when it already matches the verified executable.
Impact
A reader that denies delete sharing makes recovery abort before clearing the journal, blocking installer retries while the handle remains open.
Recommended action
Reuse the `passed` branch’s matching-receipt check in both old-version recovery paths and skip replacement when the version and hash match.