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
chore: files changed crates/openhuman-core/src/channels/proactive.rs,crates/openhuman-core/src/chann
Steven Enamakel436175dd7d9f
diff --git a/crates/openhuman-core/src/channels/proactive.rs b/crates/openhuman-core/src/channels/proactive.rsindex f179906779..6fe07310aa 100644--- a/crates/openhuman-core/src/channels/proactive.rs+++ b/crates/openhuman-core/src/channels/proactive.rs@@ -151,9 +151,9 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {);// Deliver to the active external channel when configured. The web- // destination is handled independently by `web_chat::proactive`.- // The `channels_set_default` RPC mutates this handle in place (issue- // #3712), so reading it here picks up a live default-channel switch.+ // destination is handled independently by `web_chat::proactive`. The+ // `channels_set_default` RPC mutates this handle in place (issue #3712),+ // so reading it here picks up a live default-channel switch.let active = self.active_channel.read()@@ -196,8 +196,8 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {// Proactive sends to Telegram/Discord/Slack/etc.// are outbound writes — route through the gate// before handing off to the channel implementation.- // Web delivery above is internal and exempt. When- // the gate persists an approval row, we keep its+ // The web subscriber is an internal destination and exempt.+ // When the gate persists an approval row, we keep its// request id so we can record the delivery// outcome after `ch.send` returns (issue #2135).let mut approval_request_id: Option<String> = None;diff --git a/crates/openhuman-core/src/channels/proactive_tests.rs b/crates/openhuman-core/src/channels/proactive_tests.rsindex 2ea0f7b3e0..623dd5ca41 100644--- a/crates/openhuman-core/src/channels/proactive_tests.rs+++ b/crates/openhuman-core/src/channels/proactive_tests.rs@@ -78,13 +78,6 @@ fn proactive_event() -> DomainEvent {}}-#[tokio::test]-async fn web_only_does_not_panic() {- let sub = ProactiveMessageSubscriber::web_only();- // Should publish to web channel and not panic.- sub.handle(&proactive_event()).await;-}-#[tokio::test]async fn routes_to_active_external_channel() {let send_count = Arc::new(AtomicUsize::new(0));diff --git a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs b/crates/openhuman-core/src/core/runtime/subscribers_tests.rsindex 8d1a5f45ed..5d7480fa1b 100644--- a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs+++ b/crates/openhuman-core/src/core/runtime/subscribers_tests.rs@@ -75,7 +75,7 @@ fn domain_subscriber_plan_harness_gates_by_owning_group() {assert!(!plan.platform, "harness excludes the platform domain");assert!(!plan.channels,- "harness must skip channel-inbound + web-only proactive"+ "harness must skip channel-inbound subscriber");assert!(!plan.flows, "harness must skip flows trigger dispatch");assert!(