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/host/channel_events_tests.rs,crates/openhuma
Steven Enamakel9c1043897ea7
diff --git a/crates/openhuman-core/src/channels/host/channel_events_tests.rs b/crates/openhuman-core/src/channels/host/channel_events_tests.rsindex eaa2ae8276..2c2c7de2a5 100644--- a/crates/openhuman-core/src/channels/host/channel_events_tests.rs+++ b/crates/openhuman-core/src/channels/host/channel_events_tests.rs@@ -2,6 +2,7 @@use super::*;use crate::channels::traits::{ChannelMessage, SendMessage};+use std::path::Path;use std::sync::Mutex as StdMutex;use tempfile::tempdir;use tinychannels::remote::session_store::with_store_read;@@ -44,7 +45,7 @@ fn received(channel: &str,reply_target: &str,thread_ts: Option<&str>,- ws: &PathBuf,+ ws: &Path,) -> DomainEvent {DomainEvent::ChannelMessageReceived {channel: channel.into(),@@ -58,7 +59,7 @@ fn received(}}-fn processed(channel: &str, reply_target: &str, ws: &PathBuf) -> DomainEvent {+fn processed(channel: &str, reply_target: &str, ws: &Path) -> DomainEvent {DomainEvent::ChannelMessageProcessed {channel: channel.into(),message_id: "m1".into(),diff --git a/crates/openhuman-core/src/core/all_tests.rs b/crates/openhuman-core/src/core/all_tests.rsindex 31480a13ac..c31daee2b7 100644--- a/crates/openhuman-core/src/core/all_tests.rs+++ b/crates/openhuman-core/src/core/all_tests.rs@@ -202,7 +202,10 @@ fn all_controller_schemas_matches_registered_count() {.iter().filter(|g| group_allowed(g.group) && capability_allowed_in(caps, g.capability)).collect();- let schemas = visible.iter().map(|g| &g.controller.schema).count();+ let schemas = visible+ .iter()+ .filter(|g| !g.controller.schema.function.is_empty())+ .count();let controllers = visible.len();assert_eq!(schemas, controllers);}diff --git a/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs b/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rsindex 0a8de68dd3..f72a4c6543 100644--- a/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs+++ b/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs@@ -75,7 +75,6 @@ fn integrations_filter_keeps_non_transient_failures() {/// `SKILL.md`) is expected user-input state — the before_send net must drop/// it, while a genuine 5xx remote failure and unrelated domains stay/// reportable.-#[cfg(feature = "crash-reporting")]#[test]fn skills_install_client_error_filter_drops_4xx_keeps_5xx() {diff --git a/crates/openhuman-core/src/cron/scheduler_tests.rs b/crates/openhuman-core/src/cron/scheduler_tests.rsindex 9ad3f95c14..4f4f1f769f 100644--- a/crates/openhuman-core/src/cron/scheduler_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_tests.rs@@ -6,8 +6,6 @@ use crate::cron::SessionTarget;use crate::cron::{self, ActiveHours, DeliveryConfig};use crate::security::SecurityPolicy;use chrono::{Duration as ChronoDuration, Timelike, Utc};-#[cfg(not(windows))]-use std::os::unix::fs::PermissionsExt;use std::sync::Arc;use tempfile::TempDir;diff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs b/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rsindex c8bf5365ca..7d0a45cf0c 100644--- a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs+++ b/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs@@ -1,7 +1,6 @@/// `list_agent_definitions`'s own tool description used to discourage-/// `agent_ref` with stale "follow-up"/"for now" wording (issue B37, Gap-/// 1) — pin that it now correctly describes the harness's full tool-/// loop instead.+/// `agent_ref` with stale "follow-up"/"for now" wording (issue B37, Gap 1) —+/// pin that it now correctly describes the harness's full tool loop instead.#[test]fn list_agent_definitions_tool_description_has_no_stale_followup_language() {use crate::flows::builder_tools::ListAgentDefinitionsTool;diff --git a/crates/openhuman-core/src/integrations/composio/ops/pass_budget_tests.rs b/crates/openhuman-core/src/integrations/composio/ops/pass_budget_tests.rsindex 00b9b4e67a..e2a8037a44 100644--- a/crates/openhuman-core/src/integrations/composio/ops/pass_budget_tests.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/pass_budget_tests.rs@@ -72,7 +72,7 @@ async fn stops_when_the_budget_is_spent_and_says_more_is_pending() {.await;let out = out.expect("all passes succeed");assert_eq!(asked, vec![SYNC_PASS_MAX_ITEMS, SYNC_PASS_MAX_ITEMS, 100]);- assert_eq!(out.written, u32::try_from(SINGLE_CALL_ITEM_BUDGET).unwrap());+ assert_eq!(out.written, SINGLE_CALL_ITEM_BUDGET);assert!(out.more_pending,"the caller must learn the account is not drained"diff --git a/crates/openhuman-core/src/mcp/host_tests.rs b/crates/openhuman-core/src/mcp/host_tests.rsindex 7ff3077160..3a767da944 100644--- a/crates/openhuman-core/src/mcp/host_tests.rs+++ b/crates/openhuman-core/src/mcp/host_tests.rs@@ -32,7 +32,6 @@ fn populated_server() -> HostServer {disallowed_tools: vec!["debug".into()],timeout_secs: 9,auth: McpAuthConfig::BearerToken { token: "t".into() },- ..Default::default()},expose: Default::default(),direct_tools: Vec::new(),diff --git a/crates/openhuman-core/src/memory/tool_memory/capture_tests.rs b/crates/openhuman-core/src/memory/tool_memory/capture_tests.rsindex aa6087c640..f2aa66a09d 100644--- a/crates/openhuman-core/src/memory/tool_memory/capture_tests.rs+++ b/crates/openhuman-core/src/memory/tool_memory/capture_tests.rs@@ -167,7 +167,7 @@ async fn safety_case_never_email_sarah_pins_into_prompt_block() {// verbatim — the exact bytes the safety pipeline puts in// front of the agent on every subsequent turn.let mut flat: Vec<_> = prompt.into_values().flatten().collect();- flat.sort_by(|a, b| b.priority.cmp(&a.priority));+ flat.sort_by_key(|entry| std::cmp::Reverse(entry.priority));let rendered = crate::memory::tool_memory::prompt::ToolMemoryRulesSection::new(flat).rendered().to_string();diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rsindex 63720830d8..983e2ae9de 100644--- a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs+++ b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs@@ -28,7 +28,6 @@ fn registry_with(endpoint: &str, auth: crate::config::McpAuthConfig) -> Arc<McpSdisallowed_tools: Vec::new(),timeout_secs: 30,auth,- ..Default::default()},..Default::default()});diff --git a/crates/openhuman-core/src/web_chat/reply_persistence_tests.rs b/crates/openhuman-core/src/web_chat/reply_persistence_tests.rsindex 639ae0387e..e6b3488e19 100644--- a/crates/openhuman-core/src/web_chat/reply_persistence_tests.rs+++ b/crates/openhuman-core/src/web_chat/reply_persistence_tests.rs@@ -10,7 +10,7 @@ fn temp_ws() -> PathBuf {dir}-fn seed_thread(ws: &PathBuf, thread_id: &str) {+fn seed_thread(ws: &Path, thread_id: &str) {conversations::ensure_thread(ws.clone(),CreateConversationThread {