Skip to content

2.18.1: reply alerts follow Hermes' own silence rules (includes #64) - #67

Merged
promptclickrun merged 4 commits into
mainfrom
fix/hermes-silence-rules
Sep 28, 2026
Merged

promptclickrun merged 4 commits into
mainfrom
fix/hermes-silence-rules

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

Includes @altextreme's #64 as its first commit (a scheduled run answering [SILENT] no longer pushes "[SILENT]") and extends it to every way Hermes itself handles silent replies (gateway/response_filters.py):

Turn Hermes' rule Alert
Scheduled task (cron) or webhook Loose: whole reply, [SILENT] prefix, or a marker on its own first/last line None
Other chat, nobody waiting: an off-screen note (display_kind: hidden, e.g. a reaction), an internal_notification, or reply_expected: false Exact marker only None
Other chat answering a person Exact marker only Hermes' own notice ("The model returned only a silence marker…"), as its gateway sends
Hermes before that notice (no silence_allowed) Every bare marker stayed quiet None
Failed run Never silence Unchanged
  • The turn's kind comes from the current user row in conversation_history, which Hermes types at turn start (present in 0.21.1+).
  • If the check itself raises, the alert goes out unchanged, as before this change.
  • Prose that mentions a marker alerts as written.

Tests

  • New tests cover every row above, for Hermes with and without the human-turn notice.
  • test_managed_notifications passes against Hermes 0.21.2 and current Hermes.
  • The full suite on 0.21.2 matches main: the same environment-bound failures, plus two timing flakes that pass on rerun.
  • Hermes' plugin scan: safe, with no new findings.

Version 2.18.1; the app pins it after merge.

🤖 Generated with Claude Code

altextreme and others added 4 commits September 28, 2026 01:34
A cron run that answers with Hermes's silence marker ([SILENT]) is
suppressed on its delivery lane by the scheduler, but the post_llm_call
reply alert (added in 2.17.0) still pushed the raw marker to the phone.

Scheduled sessions now check the reply with Hermes's own
gateway.response_filters.is_autonomous_silence_response, the predicate
the scheduler uses, and keep no reply when it matches. That covers both
the immediate alert and the on_session_end fallback. Failed runs still
alert, and interactive chats are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Builds on the scheduled-run fix before it. A reply alert now carries only
what Hermes itself would deliver (gateway/response_filters.py on the host):

- Scheduled tasks and webhooks use Hermes' loose rule, as the cron scheduler
  and webhook adapter do.
- Other chats use Hermes' exact rule. A bare marker stays silent only when no
  person is waiting: an off-screen note (a reaction), an internal
  notification, or a message not addressed to the agent. A person who got
  only a marker is alerted with Hermes' own notice, as its gateway sends.
- Hermes before that notice kept every bare marker quiet, so on those hosts
  the alert stays quiet too. If the check itself fails, the alert goes out
  unchanged, as before.

Tests cover both kinds of Hermes and pass against 0.21.2 and current Hermes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bighelp is moving reactions to Hermes' built-in reactions, so it no longer
sends hidden reaction notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@promptclickrun
promptclickrun merged commit f545c4b into main Sep 28, 2026
2 checks passed
@promptclickrun
promptclickrun deleted the fix/hermes-silence-rules branch September 28, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants