Skip to content

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

docs(channels): clarify host adapter comments

Steven Enamakel286511810b94
diff --git a/crates/openhuman-core/src/channels/host/adapters.rs b/crates/openhuman-core/src/channels/host/adapters.rs
index e51e52a3e7..e0fd050e7f 100644
--- a/crates/openhuman-core/src/channels/host/adapters.rs
+++ b/crates/openhuman-core/src/channels/host/adapters.rs
@@ -9,7 +9,7 @@ use std::sync::Arc;
const LOG_PREFIX: &str = "[channels_host]";
// ---------------------------------------------------------------------------
-// AllowlistStore → config.toml channel allowlist
+// Host allowlist persistence → config.toml channel allowlist
// ---------------------------------------------------------------------------
/// Persists newly-authorized identities into the on-disk channel allowlist,
@@ -63,7 +63,7 @@ impl ConfigAllowlistStore {
}
// ---------------------------------------------------------------------------
-// EventSink → routes provider events to the right OpenHuman bus
+// Host callback → routes provider events to the right OpenHuman bus
// ---------------------------------------------------------------------------
/// Routes provider events by `domain`:
@@ -73,7 +73,7 @@ impl ConfigAllowlistStore {
/// Typed `channel_event` payloads use `publish_host_in` so trusted scope can
/// resolve and persist their exact OpenHuman message target first.
///
-/// One capability, two backends — providers don't know which bus they hit.
+/// One host callback, two backends — the module does not know which bus it hits.
pub struct OpenHumanEventSink;
impl OpenHumanEventSink {
diff --git a/crates/openhuman-core/src/channels/host/host_tests.rs b/crates/openhuman-core/src/channels/host/host_tests.rs
index 64945c922d..788613a0ec 100644
--- a/crates/openhuman-core/src/channels/host/host_tests.rs
+++ b/crates/openhuman-core/src/channels/host/host_tests.rs
@@ -1,4 +1,4 @@
-//! Unit tests for the OpenHuman ChannelHost capability adapters.
+//! Unit tests for host-owned channel event projection.
use super::*;
#[test]