Notifications
The notify capability lets an App post a typed request for a user-visible notification. The Host and account preferences control the delivery. Apps must tolerate that notifications are maybe suppressed.
Manifest and preferences
The App manifest declares notification categories with stable ids and localized labels. It may suggest an importance of low, normal, or high. Account preferences take precedence over App suggestions and can mute or downgrade notifications.
Delivery
As first implementation, delivery uses the Shell inbox and in-Shell surfaces. Apps post notifications on a fire-and-forget basis. Rate limits and inbox caps constrain volume. Push delivery may be added later through a Host-owned path. Apps do not send email or own FCM, APNs, or SMTP delivery.
Host system notifications, such as stale Dataset alerts, do not require the notify capability.
Research and decision
The design draws on several notification systems:
| Pattern | Lesson applied |
|---|---|
| Android notification channels | Apps declare categories and may suggest importance; users control interruption policy |
| Apple UserNotifications | Platform authorization and interruption levels take precedence |
| Nextcloud | Activity preferences and Host-owned push; Apps do not own FCM delivery |
| Matrix | Push gateways can wake clients while notification content stays Host-side |
Decision: Apps post typed notification requests. The Host and account preferences choose the delivery. First step is the Shell inbox. Apps must tolerate suppressed notifications and cannot bypass user preferences or control delivery.
See the user notification research.