Skip to content

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

docs(core): clarify proactive message event comments

Steven Enamakel83313d6abe16
diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rs
index 612c3f1c98..150acbc646 100644
--- a/crates/openhuman-core/src/core/events.rs
+++ b/crates/openhuman-core/src/core/events.rs
@@ -393,10 +393,7 @@ pub enum DomainEvent {
output: String,
},
- /// A proactive message (morning briefing, welcome, cron output, etc.)
- /// needs to be delivered to the user. The web subscriber publishes it to
- /// the profile-scoped web stream; when configured, the optional channels
- /// subscriber also routes it to the user's active external channel.
+ /// A proactive message requested for user delivery.
ProactiveMessageRequested {
/// Identifies the source (e.g. `"cron:morning_briefing"`, `"cron:welcome"`).
source: String,
@@ -404,8 +401,7 @@ pub enum DomainEvent {
message: String,
/// Optional job name for display/threading purposes.
job_name: Option<String>,
- /// Tenant whose work produced this delivery; bus subscribers run on a
- /// separate task and cannot inherit the publisher's dispatch context.
+ /// The originating tenant; event subscribers execute outside the publisher task.
#[serde(default, skip_serializing_if = "Option::is_none")]
tenant: Option<crate::core::runtime::Tenant>,
},