Skip to main content

Trigger Task Groups

Trigger.dev tasks live in sable-agents-demo/trigger/*.ts and are the production scheduler for connector refreshes, reports, document lifecycle, and health watchdogs. This page indexes every task; four groups get their own deeper page.

Connector refresh — see Connector Tasks

Task idCadence
sable.fathom.reconcile15 */4 * * *
sable.granola.poll5,35 * * * *
sable.asana.sync25 */2 * * *
sable.toggl.hours55 */4 * * *
sable.calendar.freebusy40 * * * *
sable.drive.refresh (+ .continue)not scheduled — retired (#217); kept invokable by hand
sable.email.ingest*/10 * * * *
sable.email.drain35 */2 * * *

Reports and boards — see Reports and Boards Tasks

Task idCadence
sable.report.morningweekdays, 06:00 America/New_York
sable.report.eodweekdays, 16:30 America/New_York
sable.learning.dailyweekdays, 17:00 America/New_York
sable.report.deliverinvoked by the above, not independently scheduled

Documents and cleanup — see Documents and Cleanup Tasks

Task idCadence
sable.document.reconcile-ingest-jobs*/15 * * * *
sable.document.storage-purge-sweep*/10 * * * *
sable.document.storage-purgeinvoked per tombstone, not on a schedule
sable.document.backfill-index-batchinvoked, not scheduled
sable.feedback.retentiondaily, 15 3 * * *

Watchdogs — see Watchdogs

Task idCadence
sable.report.watchdog.morningweekdays, 06:45 America/New_York
sable.report.watchdog.eodweekdays, 17:15 America/New_York

Approvals, chat, portfolio, and smoke

Not scheduled — invoked on demand:

TaskPurpose
sable.approval.executeClaims and executes an approved Asana/Calendar write, replacing the emergency-fallback direct asana-act call path
sable.chatThe durable Trigger chat agent (chat.agent), using a Trigger-managed prompt (sableChatSystemPrompt) rather than an inline string
sable.portfolio.ingest-baseline, sable.portfolio.dailyPortfolio workbook import and daily reconciliation
sable.smokeThe minimal live-environment check described in Observability

Where the code lives

  • sable-agents-demo/trigger/*.ts — one file roughly per task group.
  • sable-agents-demo/trigger/queues.ts — the two shared queues (sable-connectors, sable-connector-writes) most connector and write tasks run through, controlling concurrency independently of scheduling.
  • sable-agents-demo/trigger/lib/ — shared helpers (supabase.ts, edge.ts, env.ts, document-runtime-deps, portfolio-workbook, etc.).