trpc-query-procedure-with-write-side-effects-breaks-reminder-delivery

A tRPC query procedure (reminders.checkDueTomorrow) that writes notification records violates the idempotent-read contract and means reminder delivery only happens when a client manually calls the endpoint. Without a cron job driving the query, reminders are silently never sent. Reminder/scheduled-notification logic must live in a mutation or server-side cron, never in a query.