Skip to content

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

chore: remove stale live-voice references from docs and registry

Steven Enamakelba8bc6a8bff4
diff --git a/crates/openhuman-core/src/modules/registry/records_voice.rs b/crates/openhuman-core/src/modules/registry/records_voice.rs
index a9f51e1f78..79490bad13 100644
--- a/crates/openhuman-core/src/modules/registry/records_voice.rs
+++ b/crates/openhuman-core/src/modules/registry/records_voice.rs
@@ -8,11 +8,8 @@ use crate::modules::types::{LoadPolicy, ModuleRecord, PlatformAsset, SourceSpec}
///
/// STT hallucination detection used by the voice transcription pipeline.
///
-/// Lazy: voice dictation is opt-in, so a session that never records should not
-/// pay a download or a `dlopen`.
-///
-/// Devices and audio processing live in the compiled module. Hosts poll bounded
-/// capture batches and apply product permission, privacy and transcription policy.
+/// Lazy: transcript screening loads the module only when voice transcription
+/// needs it.
pub(crate) const TINYVOICE: ModuleRecord = ModuleRecord {
id: "tinyvoice",
description: "Voice transcript hallucination detection",
diff --git a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
index 2c7a54af74..ff1f8155a2 100644
--- a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs
@@ -44,7 +44,7 @@ pub(super) fn spawn_integrations_cache_warm(config: &Config) {
/// from the initial boot path (when an existing
/// session is detected) and from `set_credential()` when a credential is installed.
pub async fn start_credential_gated_services(
- ctx: &crate::core::runtime::DispatchCtx,
+ _ctx: &crate::core::runtime::DispatchCtx,
config: &Config,
) {
// Unit tests must not launch the real login-gated background services: they
diff --git a/crates/openhuman-core/src/security/credentials/ops_provider_oauth_tests.rs b/crates/openhuman-core/src/security/credentials/ops_provider_oauth_tests.rs
index 836cd4f6be..34d0bea144 100644
--- a/crates/openhuman-core/src/security/credentials/ops_provider_oauth_tests.rs
+++ b/crates/openhuman-core/src/security/credentials/ops_provider_oauth_tests.rs
@@ -513,9 +513,17 @@ async fn start_credential_gated_services_completes_with_all_services_disabled()
#[tokio::test]
async fn logout_stops_remaining_services_without_voice_listeners() {
+ let _inference = crate::inference::host_runtime::inference_test_guard_async().await;
let tmp = TempDir::new().expect("private workspace");
- let config = test_config(&tmp);
- let ctx = DispatchCtx::default();
+ let mut config = test_config(&tmp);
+ config.local_ai.runtime_enabled = true;
+ let core = crate::core::runtime::CoreContext::for_test_with_config(
+ crate::core::runtime::DomainSet::full(),
+ config.clone(),
+ );
+ let service = crate::inference::host_runtime::global(&config);
+ service.replace_status_state("ready");
+ let ctx = DispatchCtx::new(core);
tokio::time::timeout(
std::time::Duration::from_secs(5),
@@ -523,4 +531,5 @@ async fn logout_stops_remaining_services_without_voice_listeners() {
)
.await
.expect("logout cleanup must finish when no voice listener exists");
+ assert_eq!(service.status().state, "idle");
}
diff --git a/crates/openhuman-rpc/src/server/README.md b/crates/openhuman-rpc/src/server/README.md
index 0ebabbcf97..a31407cdac 100644
--- a/crates/openhuman-rpc/src/server/README.md
+++ b/crates/openhuman-rpc/src/server/README.md
@@ -181,8 +181,7 @@ event.
Server to client, `spawn_web_channel_bridge` spawns one forwarding task per
source: web-chat events (`web_chat::subscribe_web_channel_events`, sent to
the initiating client's room and the `thread:<id>` room, not broadcast),
-live voice session events,
-core notifications (`desktop::notifications`), and companion state. It also
+core notifications (`desktop::notifications`) and companion state. It also
forwards a set of `DomainEvent`s read off `BUS`: session expiry, MCP setup
secret requests, memory sync and tree-build progress, channel listener
health, and active-workspace changes. Everything except web chat is
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rs
index 54ce68500b..c0cd542510 100644
--- a/crates/openhuman-rpc/src/server/socketio.rs
+++ b/crates/openhuman-rpc/src/server/socketio.rs
@@ -1,9 +1,8 @@
//! Socket.IO live-event bridge to the desktop shell.
//!
//! `spawn_web_channel_bridge` spawns one forwarding task per source. Domain
-//! broadcast channels: web-chat events (`openhuman::web_chat`), dictation hotkeys
-//! and transcription results (the live-voice transport), core notifications
-//! (`openhuman::desktop::notifications`), and shell companion state
+//! broadcast channels: web-chat events (`openhuman::web_chat`), core
+//! notifications (`openhuman::desktop::notifications`), and shell companion state
//! (`COMPANION_STATE_BUS`). `DomainEvent`s read off `openhuman::core::bus::BUS`:
//! session expiry, MCP setup secret requests, memory sync and tree-build
//! progress, channel listener health, and active-workspace changes. Web-chat