Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs: describe flow schedule dispatch via trigger sink

Steven Enamakel7c0af93a1334
diff --git a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
index c57f09fc4a..3fe0d2c23c 100644
--- a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
@@ -397,7 +397,7 @@ async fn an_upgraded_job_with_a_side_table_policy_keeps_firing_with_it() {
}
/// A `flow` schedule row fires through the runtime's trigger sink: the run is
-/// recorded without any `FlowScheduleTick` event in between, and an unknown
+/// recorded without any domain event in between, and an unknown
/// flow is a no-op rather than a failure.
#[tokio::test]
async fn a_flow_schedule_job_fires_through_the_trigger_sink() {
diff --git a/docs/gitbooks/en/developing/architecture/flows-on-tinyagents.md b/docs/gitbooks/en/developing/architecture/flows-on-tinyagents.md
index 9a3a2f4b27..35c038a33a 100644
--- a/docs/gitbooks/en/developing/architecture/flows-on-tinyagents.md
+++ b/docs/gitbooks/en/developing/architecture/flows-on-tinyagents.md
@@ -267,7 +267,7 @@ the trigger → run bridge: it subscribes to the normalized domain events a save
flow's single trigger node can bind to and calls `flows::ops::flows_run` for each
match:
-- `DomainEvent::FlowScheduleTick`: a `flow`-type cron job fired; the one
+- The schedule runtime's `TriggerSink`: a `flow`-type cron job fired; the one
named flow is loaded, re-checked for a still-live `schedule` trigger, and
dispatched with an empty trigger payload.
- `DomainEvent::ComposioTriggerReceived`: every enabled flow with an
diff --git a/gitbooks/developing/architecture/flows-on-tinyagents.md b/gitbooks/developing/architecture/flows-on-tinyagents.md
index ea7c727d7e..a8b4019b82 100644
--- a/gitbooks/developing/architecture/flows-on-tinyagents.md
+++ b/gitbooks/developing/architecture/flows-on-tinyagents.md
@@ -273,7 +273,7 @@ the trigger → run bridge: it subscribes to the normalized domain events a save
flow's single trigger node can bind to and calls `flows::ops::flows_run` for each
match:
-- `DomainEvent::FlowScheduleTick`: a `flow`-type cron job fired; the one
+- The schedule runtime's `TriggerSink`: a `flow`-type cron job fired; the one
named flow is loaded, re-checked for a still-live `schedule` trigger, and
dispatched with an empty trigger payload.
- `DomainEvent::ComposioTriggerReceived`: every enabled flow with an