Four trigger sources
The one architectural decision that matters
Triggers are just another way of “reaching the scheduled time”. Execution still goes through the samePersistentTaskScheduler (separate scheduler
process) — concurrency gates, run history, catch-up and the single-instance
lock come for free. Triggers add no second execution path, hence no second
set of semantics to maintain.
Headless (tray-resident)
Closing the window ≠ quitting: while tray-resident, the scheduler and triggers keep working, and an arriving webhook still fires. Two explicit boundaries:- No login autostart — like VS Code: it runs when you open it and stays resident while running;
- No separate daemon — it depends on the Electron main process being alive (a standalone process is a v2 discussion).
Managing triggers
Triggers attach to automation tasks: each task can carry multiple triggers (webhook | file | git | im), enabling/disabling takes effect immediately.