Skip to content

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

refactor(flows): drop unused graph policy re-export

Steven Enamakel028a5e4ba090
diff --git a/crates/openhuman-core/src/flows/ops.rs b/crates/openhuman-core/src/flows/ops.rs
index 6a7bfed089..eb0a5a04aa 100644
--- a/crates/openhuman-core/src/flows/ops.rs
+++ b/crates/openhuman-core/src/flows/ops.rs
@@ -36,19 +36,14 @@ use std::sync::{Arc, LazyLock};
use serde_json::{Value, json};
use tinyflows::model::{NodeKind, TriggerKind, WorkflowGraph};
-// The save/run safety predicates are `tinyflows-catalog`'s: whether a graph
-// fires unattended, whether it can act on the world, whether it has anything to
-// do at all are properties of the graph, not of this host. Re-exported at
-// `ops::` scope because the agent tools and this module's tests already name
-// them there.
+// Generic graph analysis used for UI notes and authoring summaries comes from
+// the TinyFlows bus. OpenHuman-specific save and dispatch policy stays here.
use crate::config::Config;
use crate::core::Outcome;
use crate::flows::bus;
use crate::flows::draft_store;
use crate::flows::store;
use tinyflows_catalog::build_registry;
-#[cfg(test)]
-pub(crate) use tinyflows_catalog::graph_policy::graph_has_actionable_nodes;
pub(crate) use tinyflows_catalog::graph_policy::{
enforce_side_effect_approval, trigger_is_automatic,
};