Gateway systemd compatibility fixes for older versions

NousResearch/hermes-agent · cluster 28880 · gateway

Data as of

Nothing open on GitHub. Fix merged in #41651. Check it covers your case.

The short answer

0open issues
0open PRs
6items grouped
Known?
Yes. 6 related items grouped here, 2 issues already closed.
Fix event
A fix was merged to main in PR #41651. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

Multiple fixes addressing gateway service file compatibility with older systemd versions (pre-254), including stale unit detection, unsupported directive handling, and WSL fallbacks. A batch of low-risk fixes is also included but may not share this theme.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #41651 fix: batch salvage of 10 low-risk fixes (@islam666)

    merged to main

    files: agent/context_compressor.py, agent/image_routing.py, agent/model_metadata.py, gateway/platforms/weixin.py, hermes_cli/gateway.py, hermes_cli/profile_distribution.py, hermes_cli/profiles.py, hermes_cli/web_server.py, plugins/google_meet/meet_bot.py, plugins/model-providers/xiaomi/__init__.py, providers/base.py, run_agent.py, scripts/release.py, tests/agent/test_custom_providers_vision.py, tests/agent/test_model_metadata.py, tests/gateway/test_weixin_typing.py, tests/hermes_cli/test_profile_distribution.py, tests/hermes_cli/test_systemd_optional_directives.py, tests/hermes_cli/test_web_server.py, tests/run_agent/test_infinite_compaction_loop.py (+2 more)

3 PRs closed without merging

From the close comments: done elsewhere 2 · merged via another change 1

  • #28895 fix(gateway): omit systemd 254+ Restart keys on older systemd · done elsewhere → 4d18717, #21104, #28880
  • #41124 fix(gateway): avoid false stale units on pre-v254 systemd · done elsewhere → f556edc
  • #41131 fix(gateway): normalize optional systemd directives in unit stale-check (#41119) · merged via another change → #41651
Closed issues · 2
  • Closed#28880gateway.py: add WSL/older systemd fallback for gateway user service hardening
  • Closed#41119[Bug] gateway status falsely reports outdated service on older systemd versions that ignore RestartMaxDelaySec / RestartSteps
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Merged PRs
#41651
Closed issues
2
Attempts
3 PRs closed without merging
Fix link checked
8 Jun 2026

For your agent

The same facts, typed.