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(docs): remove WhatsApp agent retrieval row from coverage matrix
Steven Enamakel219bf63ae8af
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex 7766bddb6e..452d6415ae 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -432,7 +432,6 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| ------ | ------------------------- | ----- | ------------------------------------------------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || 10.3.1 | Incoming Message Sync | RU+WD | `src/openhuman/channels/tests/`, `gmail-flow.spec.ts` | ✅ | || 10.3.2 | Message Deduplication | RU | `src/openhuman/channels/tests/` | ✅ | |-| 10.3.3 | WhatsApp Agent Retrieval | RU | `src/openhuman/channels/whatsapp_data/tools/`, `tests/json_rpc_e2e.rs::whatsapp_data_agent_tools_e2e_1341` | ✅ | Three read-only agent tools wrap the local SQLite store; ingest stays internal-only. See [`src/openhuman/channels/whatsapp_data/README.md`](../src/openhuman/channels/whatsapp_data/README.md). || 10.3.4 | Real-Time vs Delayed Sync | RU | `src/openhuman/channels/tests/runtime_dispatch.rs` | ✅ | |### 10.4 Messaging Operationsdiff --git a/src/openhuman/mcp/registry/boot.rs b/src/openhuman/mcp/registry/boot.rsnew file mode 100644index 0000000000..a814ae3068--- /dev/null+++ b/src/openhuman/mcp/registry/boot.rs@@ -0,0 +1,56 @@+//! Boot-time spawn of installed local MCP servers.++use futures::stream::StreamExt;++use crate::openhuman::config::Config;++use super::types::InstalledServer;+use super::{connections, store};++pub const BOOT_SPAWN_CONCURRENCY: usize = 8;++pub async fn spawn_installed_servers(config: &Config) {+ let servers = match store::list_servers(config) {+ Ok(servers) => servers,+ Err(error) => {+ tracing::warn!("[mcp-registry] boot: list_servers failed: {error}");+ return;+ }+ };+ if servers.is_empty() {+ tracing::debug!("[mcp-registry] boot: no installed servers to spawn");+ return;+ }+ tracing::info!("[mcp-registry] boot: spawning {} installed server(s)", servers.len());+ spawn_servers_concurrently(servers, |server| async move {+ connections::connect(config, &server).await.map(|tools| tools.len())+ }).await;+}++pub(crate) async fn spawn_servers_concurrently<F, Fut>(servers: Vec<InstalledServer>, connect_fn: F)+where+ F: Fn(InstalledServer) -> Fut,+ Fut: std::future::Future<Output = anyhow::Result<usize>>,+{+ futures::stream::iter(servers.into_iter().filter(|server| {+ if !server.enabled {+ tracing::info!("[mcp-registry] boot: skipping disabled server_id={} qualified={}", server.server_id, server.qualified_name);+ }+ server.enabled+ }))+ .for_each_concurrent(BOOT_SPAWN_CONCURRENCY, |server| {+ let server_id = server.server_id.clone();+ let qualified = server.qualified_name.clone();+ let connect_fn = &connect_fn;+ async move {+ match connect_fn(server).await {+ Ok(tool_count) => tracing::info!("[mcp-registry] boot: connected server_id={} qualified={} tools={}", server_id, qualified, tool_count),+ Err(error) => tracing::warn!("[mcp-registry] boot: connect failed server_id={} qualified={} err={error}", server_id, qualified),+ }+ }+ }).await;+}++#[cfg(test)]+#[path = "boot_tests.rs"]+mod tests;