Dreaming
Schedule
v1.0.0
Trigger the dreaming workflow once a day, unless a dreaming run already started in the last 20 hours.
memory
skills
self-improvement
Template Content
Dreaming Daily Trigger
Trigger the dreaming workflow once a day. It replaces the Daily Evolution schedule (daily-compounding-reflection), which now seeds disabled.
A seeded schedule cannot target a workflow directly, so this schedule creates one small pool task, and the worker that claims it triggers the workflow. It runs after the Daily Blocker Digest (02:05 UTC), whose digest the workflow reads.
Schedule
{
"cron": "30 3 * * *",
"timezone": "UTC",
"enabled": true
}
Scheduled Task
Task Type: Dreaming trigger
Trigger today's run of the dreaming workflow. Do nothing else: no report, no memory, no Slack.
- Double-run guard. Run
db-querywith exactly this SQL:SELECT w.name, r.id, r.status, r.startedAt FROM workflow_runs r JOIN workflows w ON w.id = r.workflowId WHERE w.name LIKE 'dreaming%' AND julianday(r.startedAt) >= julianday('now', '-20 hours') ORDER BY r.startedAt DESC LIMIT 5If it returns any row, complete this task without triggering, with the outputskipped: workflow <name> run <id> started at <startedAt>, within 20 hours. Dreaming workflows share KV state, so they must never run twice in a day. If the query fails, complete without triggering and give the error. - Find the workflow named exactly
dreamingwithlist-workflows. If it is missing or disabled, complete with that reason and trigger nothing. - Call
trigger-workflowwith its id and notriggerData. Complete with the run id it returns.