91dcca9a9b
The previous commit deleted the 'Hermes Safe Storage' keychain item after every successful re-sign, including the stable certificate-anchored identity path. On that path the designated requirement is stable across rebuilds, so after the first launch under the new identity the keychain ACL already matches; deleting the item on every update permanently orphaned gateway-token and native-OAuth credentials that were working fine (both are safeStorage-backed: electron/main.ts connection config and native-oauth-tokens.json). Addresses review feedback on #90961: - Rename _desktop_macos_update_keychain_acl -> _desktop_macos_reset_keychain_safe_storage (it deletes, it does not update an ACL). - Only invoke it on the legacy ad-hoc fallback path, where every rebuild produces a new cdhash so the ACL can never match and the alternative is a recurring prompt. The trade-off (re-enter credentials once per update) is documented; the durable fix is a stable signing identity. - Add regression tests: stable path must NOT reset, ad-hoc fallback MUST.