hermes - 💡(How to fix) Fix Feature request: option to disable/customize gateway shutdown notification

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Bug Description

When Hermes Gateway restarts (e.g. during an automatic update via cron job), users receive a system notification message:

⚠️ Gateway shutting down — Your current task will be interrupted.

This message is sent automatically and cannot be disabled via configuration.

Steps to Reproduce

  1. Set up automatic updates via a cron job that runs git pull && pip install -e . && hermes gateway restart periodically
  2. Wait for an update to be applied
  3. Observe the "Gateway shutting down" notification arriving on Telegram (or other platforms)

Expected Behavior

Either:

  • A config option (e.g. gateway.notify_on_shutdown: false) to suppress the shutdown notification, or
  • The shutdown message should include context about why the gateway is restarting (e.g. "Restarting to apply update X")

Actual Behavior

Users receive a generic "⚠️ Gateway shutting down" message with no context, no way to disable it, and no information about what triggered the restart.

Impact

With automatic updates every 30 minutes, users can receive many of these uninformative messages per day — pure noise with no actionable content.

Proposed Solution

Add a gateway.notify_on_shutdown config option (default: true for backward compatibility) that suppresses the shutdown notification when set to false. Optionally, allow passing a custom shutdown message so cron jobs can set context before restarting.

Environment

  • OS: Linux (Proxmox LXC)
  • Hermes: git install (~/.hermes/hermes-agent)
  • Platform: Telegram

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Feature request: option to disable/customize gateway shutdown notification