Skip to content

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

fix(flows): reduce visibility of trusted_flow_id

Steven Enamakeld5a6e838c5e2
diff --git a/crates/openhuman-core/src/flows/memory_tools.rs b/crates/openhuman-core/src/flows/memory_tools.rs
index f567919c79..413e04aee3 100644
--- a/crates/openhuman-core/src/flows/memory_tools.rs
+++ b/crates/openhuman-core/src/flows/memory_tools.rs
@@ -59,7 +59,7 @@ const FLOW_KEY_INFIX: &str = ":key:";
/// by a prompt-injected caller. Writes refuse when this is `None`; the
/// read-only recall falls back to the argument (cross-flow reads are already
/// open by design, so an argument grants no new read privilege).
-pub(crate) fn trusted_flow_id() -> Option<String> {
+fn trusted_flow_id() -> Option<String> {
match turn_origin::current() {
Some(AgentTurnOrigin::TrustedAutomation {
job_id,