Routines

Background agent runs on a schedule, webhook, or file change.

Stored in routines.json (newest 20 runs each). Created paused. File watches poll every 10s with debounce. See webhooks and docs/FILE_TRIGGERS.md.