Skip to content

The agent that grows with you

fix(cron): blocked-config notice no longer conditions the retry on the user fixing something

teknium17ad51527d464
diff --git a/cron/scheduler_failure_copy.py b/cron/scheduler_failure_copy.py
index 82d6c2b6953..5612ee659b9 100644
--- a/cron/scheduler_failure_copy.py
+++ b/cron/scheduler_failure_copy.py
@@ -130,6 +130,6 @@ def blocked_config_notice(job_name: str, reason: str) -> str:
reason += "."
return (
f"⛔ Cron '{job_name}' did not run: {reason} Nothing was charged. Hermes will try again at "
- "the next scheduled time once this is fixed and will not repeat this alert; check with "
+ "the next scheduled time and will not repeat this alert; check with "
"`hermes cron doctor`."
)
diff --git a/tests/cron/test_cron_failure_notice_copy.py b/tests/cron/test_cron_failure_notice_copy.py
index ee83d8e2b1f..670101d2fb2 100644
--- a/tests/cron/test_cron_failure_notice_copy.py
+++ b/tests/cron/test_cron_failure_notice_copy.py
@@ -84,6 +84,9 @@ def test_blocked_config_notice_says_it_did_not_run_and_will_self_heal():
assert "did not run" in text
assert "provider credential missing: no key" in text
assert "Nothing was charged" in text
+ # Some blocks (MCP server temporarily down) clear on their own, so the retry
+ # line must not condition the retry on the user fixing something.
+ assert "once this is fixed" not in text
assert "`hermes cron doctor`" in text
for jargon in ("configuration validation", "LLM call", "pre-dispatch"):
assert jargon not in text