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/cron/scheduler.rs

Steven Enamakel85a3fffbf57c
diff --git a/crates/openhuman-core/src/cron/scheduler.rs b/crates/openhuman-core/src/cron/scheduler.rs
index 42c3833645..d4865793b2 100644
--- a/crates/openhuman-core/src/cron/scheduler.rs
+++ b/crates/openhuman-core/src/cron/scheduler.rs
@@ -132,7 +132,7 @@ impl LiveAgentSchedulers {
return;
}
};
- let Some(security) = crate::security::live_policy::effective() else {
+ let Some(security) = crate::security::live_policy::effective_in(&dispatch) else {
tracing::warn!(agent = %agent_id, "[cron:scheduler] agent has no policy; jobs skipped");
return;
};