trpc-query-used-for-side-effects-reminder-anti-pattern

TaskFlow’s reminders.checkDueTomorrow is a tRPC query that writes notification records as a side effect — violating the idempotent read contract for queries. More critically, reminders only fire when a user manually hits the endpoint; without a cron job, scheduled reminders are silent. Any reminder or scheduled-notification feature requires a server-side cron trigger, not a query endpoint.