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
chore(cron): remove proactive agent job seeding on boot
Steven Enamakel13486b45ccc3
diff --git a/src/core/runtime/services.rs b/src/core/runtime/services.rsindex 70d9e0e365..3ec849d5cf 100644--- a/src/core/runtime/services.rs+++ b/src/core/runtime/services.rs@@ -131,14 +131,6 @@ pub fn spawn_cron_service() {return;}log::info!("[cron] spawning scheduler polling loop");- // Ensure proactive agent jobs (e.g. the autonomous bounty job)- // exist for already-onboarded users upgrading from a build that- // predates them — otherwise their Settings toggle stays hidden.- // Idempotent; no-op until onboarding is complete.- if let Err(e) = crate::openhuman::cron::seed::seed_proactive_agents_on_boot(&config)- {- log::warn!("[cron] boot seed of proactive agent jobs failed: {e}");- }// Re-register the cron job for every enabled, schedule-trigger// flow (issue B2) — idempotent, so a flow whose binding// predates this feature (or was otherwise lost) gets itsdiff --git a/src/openhuman/cron/seed.rs b/src/openhuman/cron/seed.rsindex dfd8f75c95..c6bd007a5e 100644--- a/src/openhuman/cron/seed.rs+++ b/src/openhuman/cron/seed.rs@@ -27,11 +27,6 @@ use anyhow::Result;/// Well-known job names used to detect whether seeding has already run.const MORNING_BRIEFING_JOB_NAME: &str = "morning_briefing";-/// Well-known name of the opt-in autonomous tiny.place agent job ("autopilot").-/// Generic on purpose: it runs `tinyplace_agent`, which can do anything on-/// tiny.place — bounties are just its default activity, not its limit.-const TINYPLACE_AUTOPILOT_JOB_NAME: &str = "tinyplace_autopilot";-/// Legacy name of the one-shot welcome cron job created by earlier/// builds of `seed_proactive_agents`. Kept as a constant (rather than/// a string literal inline) so a grep for `WELCOME_JOB_NAME` still@@ -80,15 +75,6 @@ pub fn seed_proactive_agents(config: &Config) -> Result<()> {tracing::debug!("[cron::seed] morning_briefing job already exists — skipping");}- if !has(TINYPLACE_AUTOPILOT_JOB_NAME) {- tracing::info!(- "[cron::seed] creating autonomous tiny.place autopilot job (tinyplace_agent, disabled — opt-in)"- );- seed_tinyplace_autopilot(config)?;- } else {- tracing::debug!("[cron::seed] tinyplace_autopilot job already exists — skipping");- }-Ok(())}