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
test: reorganize ops test files into separate modules
Steven Enamakel91c53eeb6492
diff --git a/crates/openhuman-core/src/tools/ops_tests.rs b/crates/openhuman-core/src/tools/ops_tests.rsindex e0d3f39836..ad32412ff1 100644--- a/crates/openhuman-core/src/tools/ops_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests.rs@@ -162,30 +162,10 @@ const KNOWLEDGE_TOOLS: &[&str] = &["create_skill","install_workflow_from_url","uninstall_workflow",- "learning_list_facets",- "learning_get_facet",- "learning_cache_stats",- "learning_update_facet",- "learning_pin_facet",- "learning_unpin_facet",- "learning_forget_facet",- "learning_rebuild_cache",- "learning_reset_cache",- "learning_save_profile",- "learning_enrich_profile",];fn knowledge_default_off() -> Vec<&'static str> {- let mut tools = vec![- "learning_update_facet",- "learning_pin_facet",- "learning_unpin_facet",- "learning_forget_facet",- "learning_rebuild_cache",- "learning_reset_cache",- "learning_save_profile",- "learning_enrich_profile",- ];+ let mut tools: Vec<&'static str> = Vec::new();// These tools exist only when their feature gates are on. All of// create_skill / install_workflow_from_url / uninstall_workflow are// registered under `#[cfg(feature = "skills")]` in ops.rs — none ofdiff --git a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rsindex 1fe7a91b35..f17eb6b4c5 100644--- a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs@@ -452,10 +452,6 @@ fn all_tools_default_registry_contains_expected_baseline_surface() {"cron_update","cron_run","cron_runs",- "memory_store",- "memory_recall",- "memory_forget",- "memory_tree","schedule","proxy_config","update_check",diff --git a/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs b/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rsindex 4f58688021..49d363106c 100644--- a/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs@@ -210,20 +210,7 @@ fn knowledge_tools_are_registered() {let tmp = TempDir::new().unwrap();let names = tool_names(&expansion_tools_for(&tmp));- // Base knowledge tools that are always present- let mut expected_tools = vec![- "learning_list_facets",- "learning_get_facet",- "learning_cache_stats",- "learning_update_facet",- "learning_pin_facet",- "learning_unpin_facet",- "learning_forget_facet",- "learning_rebuild_cache",- "learning_reset_cache",- "learning_save_profile",- "learning_enrich_profile",- ];+ let mut expected_tools: Vec<&str> = Vec::new();// Add gated tools only when their feature is enabled. All of these —// list/describe/read_resource/recent_runs/read_run_log,diff --git a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rsindex 8a1c2e432e..9a2323d303 100644--- a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs@@ -268,10 +268,10 @@ fn all_tools_registers_integration_families_when_enabled_and_signed_in() {}#[test]-fn all_tools_registers_brave_engine_lsp_and_tool_stats_when_enabled() {+fn all_tools_registers_brave_engine_and_lsp_when_enabled() {// Search registers one tool per capability role from the TinySearch// catalog; a usable BYOK Brave key yields the `search` role tool- // alongside lsp + tool_stats.+ // alongside lsp.let tmp = TempDir::new().unwrap();let security = Arc::new(SecurityPolicy::default());let browser = BrowserConfig::default();@@ -307,7 +307,6 @@ fn all_tools_registers_brave_engine_lsp_and_tool_stats_when_enabled() {#[cfg(feature = "modules")]"web_search_tool","lsp",- "tool_stats",],);