The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cron): W1 restore per-profile gateway install guidance
yoniebansb2d9cef85efe
diff --git a/hermes_cli/cron.py b/hermes_cli/cron.pyindex bcb4eb524c0..2becfef2cb9 100644--- a/hermes_cli/cron.py+++ b/hermes_cli/cron.py@@ -453,19 +453,17 @@ def cron_status():active = get_active_profile_name() or "default"except Exception:active = "default"+ print("\n To enable automatic execution for this profile:\n"+ " hermes gateway install # Install as a user service\n"+ " sudo hermes gateway install --system # Linux servers: boot-time system service\n"+ " hermes gateway run # Or run in foreground")if active != "default":- print("\n This is a non-default profile. Automatic scheduling requires an awake machine and either:\n"- " 1) The Desktop app open with this profile included in its scheduler, or\n"- " 2) A running default gateway configured to tick this profile:\n"- " hermes --profile default config set gateway.multiplex_profiles true\n"- " hermes --profile default gateway restart\n"+ print("\n Alternatives for this named profile:\n"+ " Keep the Desktop app open with this profile included in its scheduler and the machine awake, or\n"+ " configure a running default gateway to tick this profile:\n"+ " hermes --profile default config set gateway.multiplex_profiles true\n"+ " hermes --profile default gateway restart\n"" Check: hermes cron status from this profile should show its ticker heartbeat.\n")- else:- print("\n To enable automatic execution:\n"- " hermes gateway install # Install as a user service\n"- " sudo hermes gateway install --system "- "# Linux servers: boot-time system service\n"- " hermes gateway # Or run in foreground")print()_print_active_jobs_summary(list_jobs(include_disabled=False))diff --git a/tests/hermes_cli/test_cron_satellite_diagnostics.py b/tests/hermes_cli/test_cron_satellite_diagnostics.pyindex b27a0184a33..a2985c091a7 100644--- a/tests/hermes_cli/test_cron_satellite_diagnostics.py+++ b/tests/hermes_cli/test_cron_satellite_diagnostics.py@@ -64,7 +64,9 @@ def test_status_preserves_profile_health_contract(profile, capsys, monkeypatch,assert "STALLED" in outputif mode in {"disabled", "excluded"}:assert "24/7" not in output- assert "awake" in output+ assert "hermes gateway install" in output+ assert "sudo hermes gateway install --system" in output+ assert "hermes gateway run" in outputassert "hermes --profile default gateway restart" in outputif mode == "external":assert "managed scheduler" in output