Design a Workspace Notification Policy Domain
Evaluate notifications for direct messages, groups, channels, threads, mentions, reactions, and mute preferences.
For this exercise, assume a collaboration workspace emits direct-message, group-message, channel-message, thread-reply, reaction, and mention events. Each member has workspace defaults plus conversation, thread, and mute overrides.
The policy engine decides whether to create a notification and records the rule and preference versions behind the decision. A direct mention may override ordinary channel quieting, but a hard mute always suppresses delivery. Duplicate events must not create duplicate notifications.
Design objects, rule composition, interfaces, interactions, and extension points. Exclude transport delivery and message storage.