Isn't there a way to react to a silent push notification when a Mac app isn't running?

It's documented that application(_:didReceiveRemoteNotification:) is only called when the app is running in AppKit.

https://developer.apple.com/documentation/appkit/nsapplicationdelegate/application(_:didreceiveremotenotification:)

application(_:didReceiveRemoteNotification:) | Apple Developer Documentation

Tells the delegate when the app receives a remote notification.

Apple Developer Documentation
@simonbs I’d check the notification extension
@gklka Notification extensions are very broken on macOS. I'm not sure they'd work for my case, either, as they require 'mutable-content: 1’ to be set in the notification and I'm hoping to detect a CloudKit notification.
@simonbs I don’t think so. There’s no background state for Mac apps. If your app isn’t running the system will not start it to handle a notification.