Skip to content

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

docs(channels): add host channel README

Steven Enamakel4a1956c27328
diff --git a/crates/openhuman-core/src/channels/host/README.md b/crates/openhuman-core/src/channels/host/README.md
new file mode 100644
index 0000000000..47f8bcf06b
--- /dev/null
+++ b/crates/openhuman-core/src/channels/host/README.md
@@ -0,0 +1,18 @@
+# Channel host callbacks
+
+This directory contains OpenHuman-owned operations exposed to the
+TinyChannels module, plus host event subscribers. Production startup registers
+the typed callback implementation with a private module runtime lease. The
+callbacks use the configuration and session captured when that lease opens;
+they do not construct providers or serve as a fallback when module loading
+fails.
+
+`channel_events.rs` prepares inbound context and publishes turn-state and
+approval events. `remote_control.rs` answers module requests using OpenHuman's
+thread store and runtime context. `adapters.rs` implements host-owned voice,
+allowlist, and event operations. Its legacy portable provider-trait adapters
+and `build_channel_host` compatibility helper are compiled only for tests.
+
+Module callbacks must not serve or unserve TinyBus objects while handling a
+request. Runtime startup owns lease creation and shutdown, and closes the
+module before releasing the captured callback state.