1.4 KiB
1.4 KiB
1. Notification API Migration
- 1.1 Add the documented
BoundNotificationService,AddressedNotificationService, andNotificationDestinationAPI undercom.r35157.service.notification. - 1.2 Remove the old API package, marker interface, notifier contracts, and all compatibility aliases.
2. Transport Implementations
- 2.1 Migrate and rename Pushover to
PushoverNotificationService, accept and validateΩNotificationMessageΩ, and preserve the existing delivery flow. - 2.2 Migrate and rename Discord to
DiscordNotificationService, validate direct messages, and preserve its unimplemented delivery status. - 2.3 Migrate SMTP to
SMTPNotificationServicewith a validated address-and-subjectSMTPDestination, direct binding convenience, direct message validation, and unimplemented delivery status. - 2.4 Update every production call site and inline example, then confirm the old package and removed types have no remaining production references.
3. Verification
- 3.1 Compile main and test source sets and complete the repository's normal assembly/build without changing tests.
- 3.2 Strictly validate the OpenSpec change and run whitespace/diff checks.
- 3.3 Review the complete diff for scope, generated-source changes, test changes, transport-independent consumer dependencies, and preservation of excluded services.