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
fix(ops): classify the collapsed cron tool as automation
Steven Enamakelcee0aa3b022f
diff --git a/src/openhuman/tools/ops.rs b/src/openhuman/tools/ops.rsindex d020af3d16..51f8d16454 100644--- a/src/openhuman/tools/ops.rs+++ b/src/openhuman/tools/ops.rs@@ -1384,9 +1384,20 @@ fn tool_group(name: &str) -> crate::core::all::DomainGroup {// leak the #4808 review flagged. Keep these in// lockstep with the `push(...)` tags in `core::all`.//- // Automation: scheduled jobs (`cron_*`) plus the subconscious monitor ++ // Automation: scheduled jobs plus the subconscious monitor +// proactive-notify surface.- if name.starts_with("cron_") || name == "schedule" || MONITORS.contains(&name) {+ //+ // The bare `cron` name is matched explicitly. The collapsed tool does not+ // carry the `cron_` prefix its members do, so prefix matching alone would+ // drop it into `Platform` below and leave the whole scheduler callable+ // under a `DomainSet { platform: true, automation: false }` — exactly the+ // leak #4808 added prefix matching to prevent, reintroduced by the+ // collapse rather than by a new tool.+ if name == crate::openhuman::cron::tools::CRON_TOOL_NAME+ || name.starts_with("cron_")+ || name == "schedule"+ || MONITORS.contains(&name)+ {return DomainGroup::Automation;}// Integrations: every external connector reached on the user's behalf.