Skip to content

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

chore: files changed crates/openhuman-core/src/flows/ops.rs,crates/openhuman-core/src/flows/ops_migr

Steven Enamakel7102bfd32913
diff --git a/crates/openhuman-core/src/flows/ops.rs b/crates/openhuman-core/src/flows/ops.rs
index 3941921a79..d10e50a747 100644
--- a/crates/openhuman-core/src/flows/ops.rs
+++ b/crates/openhuman-core/src/flows/ops.rs
@@ -47,11 +47,6 @@ use tinyflows::model::{NodeKind, TriggerKind, WorkflowGraph};
pub(crate) use tinyflows_catalog::graph_policy::{
enforce_side_effect_approval, graph_has_actionable_nodes, trigger_is_automatic,
};
-// Reached only by this module's own tests, which assert the host resolves the
-// predicate the two save rules are built on — `enforce_side_effect_approval`
-// is what production calls.
-#[cfg(test)]
-pub(crate) use tinyflows_catalog::graph_policy::graph_has_outbound_side_effect;
use tokio_util::sync::CancellationToken;
use crate::agent::turn_origin::{with_origin, AgentTurnOrigin, TrustedAutomationSource};
diff --git a/crates/openhuman-core/src/flows/ops_migration_and_side_effect_tests.rs b/crates/openhuman-core/src/flows/ops_migration_and_side_effect_tests.rs
index b60c839e6a..154428d101 100644
--- a/crates/openhuman-core/src/flows/ops_migration_and_side_effect_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_migration_and_side_effect_tests.rs
@@ -325,8 +325,6 @@ async fn flows_update_does_not_force_require_approval_on_readonly_graph() {
);
}
-// ── graph_has_outbound_side_effect / trigger_is_automatic helper tests ────
-
#[tokio::test]
async fn strict_gate_passes_a_valid_graph_and_rejects_a_structurally_invalid_one() {
let config = Config::default();
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/mod.rs b/crates/openhuman-core/src/flows/tinyflows/caps/mod.rs
index ea2367116a..fbc8a71c84 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/mod.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/mod.rs
@@ -32,6 +32,6 @@ pub(crate) use tinyflows::caps::mock_schema_aware::*;
pub(crate) use tinyflows::nodes::integration::agent_prompt::{
build_agent_result, build_harness_run_prompt, clamp_run_timeout_secs, extract_structured_json,
prepend_system_message, resolve_node_model, resolve_run_timeout_secs,
- scale_timeout_for_iteration_cap, structured_output_instruction, structured_output_requested,
+ scale_timeout_for_iteration_cap, structured_output_requested,
};
pub(crate) use tools::NATIVE_TOOL_PREFIX;