Desktop Notification Center
Design a desktop notification center with ordering, dismissal, and per-application state.
For this exercise, assume installed applications publish notifications with a stable application-local key. The notification center shows active items in deterministic newest-first order, supports dismissing one item or all items from one application, and never resurrects a dismissed version during concurrent updates.
Exclude operating-system transport, remote push delivery, and visual rendering details.