Notification TTL cleanup: deletes terminal agent-inbox
rows from mastra_notifications once their updatedAt is older than the TTL,
at the storage layer so alarm maintenance reaps them without a live agent —
the same posture as the other purges (raw D1 binding, failure-isolated duty).
A missing table reads as zero (notifications may never have been sent).
Scheduling stays with the caller.
Notification TTL cleanup: deletes terminal agent-inbox rows from
mastra_notificationsonce theirupdatedAtis older than the TTL, at the storage layer so alarm maintenance reaps them without a live agent — the same posture as the other purges (raw D1 binding, failure-isolated duty). A missing table reads as zero (notifications may never have been sent). Scheduling stays with the caller.