Fixed in https://github.com/badbundle/vault-app/pull/716 (merged as 391822ed).
- The Mac app's first launch asks for the App Lock Password before anything else, and nothing skips it. Until then the vault is an empty store in memory, so no unencrypted vault is ever written. An erase goes back to the first launch.
- The lock screen and unlock use the shared App Lock services. Vault locks at once when the screen locks, the screen saver starts, the Mac or its displays sleep, or another account takes over. It also locks when another app comes to the front (at once or after the Require Unlock delay), with Lock Vault (⌃⌘L), and on quitting. Other windows only say Vault is locked.
- Signing: the Mac's data protection keychain refuses an app without a provisioning profile, so this Mac (the Mac Studio) was registered in the developer account and a "Vault Mac Development" profile was made for com.badbundle.vault (it expires on 2027-10-05). Debug builds of the Mac app sign with it. docs/mac-app.md (decision 7, Signing) records this.
- Mac snapshots no longer depend on the screen being unlocked, with a channel-tolerance comparison in place of SnapshotTesting's perceptual one, which throws inside Core Image on macOS 27.
- The Mac UI tests launch the app with
-ApplePersistenceIgnoreState YES. Launched by a test, the app opens no window at all if macOS has saved state for it. - docs/security-model.md: G84 updated, G85 and G86 added.