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
refactor(flows): rename host_gates test module to mod_tests
Steven Enamakel95ad2c3b30f4
diff --git a/crates/openhuman-core/src/flows/host_gates/mod.rs b/crates/openhuman-core/src/flows/host_gates/mod.rsindex edd7e83897..54f7f39f61 100644--- a/crates/openhuman-core/src/flows/host_gates/mod.rs+++ b/crates/openhuman-core/src/flows/host_gates/mod.rs@@ -11,5 +11,5 @@ pub(crate) use tool_contracts::{toolkit_has_curated_catalog, validate_tool_contrpub(crate) use upload_paths::validate_upload_paths;#[cfg(test)]-#[path = "tests.rs"]+#[path = "mod_tests.rs"]mod tests;diff --git a/crates/openhuman-core/src/flows/host_gates/tests.rs b/crates/openhuman-core/src/flows/host_gates/mod_tests.rssimilarity index 99%rename from crates/openhuman-core/src/flows/host_gates/tests.rsrename to crates/openhuman-core/src/flows/host_gates/mod_tests.rsindex d978f5661f..854a0bb91f 100644--- a/crates/openhuman-core/src/flows/host_gates/tests.rs+++ b/crates/openhuman-core/src/flows/host_gates/mod_tests.rs@@ -75,6 +75,16 @@ fn ws3_tool_call_graph(slug: &str, connection_ref: Option<&str>) -> WorkflowGrap}))}+fn upload_graph(path: Value) -> WorkflowGraph {+ graph(json!({+ "nodes": [+ {"id":"t","kind":"trigger","name":"Manual"},+ {"id":"up","kind":"tool_call","name":"Upload","config":{"slug":"oh:storage_upload_file","args":{"path":path}}}+ ],+ "edges": [{"from_node":"t","to_node":"up"}]+ }))+}+#[tokio::test]async fn validate_tool_contracts_rejects_a_hallucinated_slug() {seed_live_catalog_cache("slack", vec![seeded_slack_send_contract()]);