trpc-query-procedure-used-for-side-effecting-writes

tRPC query procedures must be idempotent reads; using a query for reminder notification dispatch (checkDueTomorrow writing notification rows) violates the GET/query contract and means reminders only fire when a client manually calls the endpoint. Side-effecting notification delivery must be placed in a mutation procedure with a dedicated server-side cron trigger — never inside a query.