seubert-claims/ondeck/src
lorentz 64ea7800ed fix(tasks): skip generating tasks with computed due dates in the past
auto-generate.ts and all three manual task-generation routes computed
due dates purely from a policy/group anchor date plus a template's
daysOffset, with no check against the current date. Surfaced when a
manual backfill for two clients created tasks anchored to an already-
expired policy term, producing due dates back in 2024.

Add isRelevantDueDate() and apply it at every task-creation call site
so no template-generated task is ever born already overdue.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 20:59:02 +00:00
..
app fix(tasks): skip generating tasks with computed due dates in the past 2026-07-17 20:59:02 +00:00
components fix(clients): Show Completed toggle did nothing for tasks older than 7 days 2026-07-17 15:35:45 +00:00
lib fix(tasks): skip generating tasks with computed due dates in the past 2026-07-17 20:59:02 +00:00
types Rename: OnDeck -> Horizon, update URL to horizon.seubert.cloud 2026-03-18 11:43:25 +00:00
middleware.ts Fix: exclude static image files from auth middleware matcher 2026-04-13 02:58:02 +00:00