The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(cron): document tenant-aware proactive delivery
Steven Enamakelefd96c6f4e67
diff --git a/crates/openhuman-core/src/cron/README.md b/crates/openhuman-core/src/cron/README.mdindex 5977bc4eb6..1add7ab31a 100644--- a/crates/openhuman-core/src/cron/README.md+++ b/crates/openhuman-core/src/cron/README.md@@ -146,7 +146,7 @@ alerts tab and run history.| Mode | What happens || --- | --- || `none` | Silent. Output lives in the job's `last_output` only. This is `DeliveryConfig::default()`. |-| `proactive` | Publishes `ProactiveMessageRequested`. `channels::proactive::ProactiveMessageSubscriber` pushes to the in-app web stream and mirrors to `channels_config.active_channel` when set. Used for briefings and other desktop-first output. |+| `proactive` | Publishes `ProactiveMessageRequested` with the originating tenant. `web_chat::proactive::WebProactiveSubscriber` publishes to that tenant's in-app web stream; when configured, `channels::proactive::ProactiveMessageSubscriber` also sends to `channels_config.active_channel`. Used for briefings and other user-facing proactive output. || `announce` | Requires `channel` and `to`. Publishes `CronDeliveryRequested`; `cron::bus::CronDeliverySubscriber` (`cron::delivery`) sends it through the named `tinychannels_bus::Channel`. The `cron_add` tool checks `to` against the channel's `allowed_users`. || `origin` | Sends the reply back into the conversation that created the job ([`scheduler/origin_delivery.rs`](./scheduler/origin_delivery.rs)). Requires `CronJob.origin`. |@@ -340,8 +340,9 @@ Cron publishes, through [`core/bus.rs`](../core/bus.rs), these `DomainEvent` var- `SystemStartup` and `HealthChanged` for component `scheduler`.- `CronJobTriggered` and `CronJobCompleted` around each scheduled execution(output truncated to 512 characters).-- `ProactiveMessageRequested` (`proactive` delivery), consumed by- `channels::proactive`.+- `ProactiveMessageRequested` (`proactive` delivery), consumed by the+ always-registered `web_chat::proactive` subscriber and, when the channels+ runtime is enabled, `channels::proactive` for external delivery.- `CronDeliveryRequested` (`announce` delivery), consumed by`cron::bus::CronDeliverySubscriber`.- `CronSystemJobDue`, consumed by `memory::bus`.