-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
Description
Problem Statement
Timers and webhooks fire directly on the worker runtime, bypassing the queen. The queen has no awareness or control over when the worker runs.
Proposed Solution
Move all triggers (timers, webhooks) to the queen level. When a timer ticks or webhook fires, the queen receives a [TRIGGER: ...] message and decides whether to start the worker. The worker only runs when the queen calls run_agent_with_input().
Alternatives Considered
Keep triggers on the worker and notify the queen after the fact. Rejected -- the worker would still execute before the queen could intervene.
Reactions are currently unavailable