namespace EventSubscriber.Application; /// /// Projects inbound NRC notifications into the read projection. Tolerates duplicate and /// out-of-order deliveries (CLAUDE.md §8.6): the notification log dedups, and the projection /// upsert is idempotent on the zaak id. Rebuilds the projection by replaying the log. /// public sealed class NotificationProjector(INotificationLog log, IProjectionStore store) { /// Handle one inbound notification. Ignores anything that is not a zaak-created event. public Task HandleAsync(Notification notification, CancellationToken ct = default) // RED: not yet implemented — the smallest change to make the tests pass comes next. => Task.CompletedTask; /// Rebuild the projection from the durable notification log (PRD §8.4). public Task RebuildAsync(CancellationToken ct = default) // RED: not yet implemented. => Task.CompletedTask; }