NousResearch/hermes-agent

Log rotation breaks cross-uid profile worker access

Cluster 120151 · other. Data as of

1 open item. Fix merged in #126145 on 28 Sep 2026. Check it covers your case.

The short answer

0open issues
1open PR
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #126145. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #126145. That is separate from the fix event.
Still open
0 issues and 1 PR.

These issues and fixes concern log rotation causing ownership and inheritance problems for served profiles, where rotated log files are recreated under the rotating process's uid, locking out workers running under a different uid. Related gaps include loss of log ownership, TTS credentials, and other settings across profile boundaries.

Open issues0

No open issues.

Open PRs1

  • PR#120173fix(logging): keep cross-uid profile workers able to start after log rotation

Fixes on record

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

  • #126145 Served profiles no longer inherit the launch profile's logs, log ownership, slash gating, TTS credentials or skipped .env (#125974 #120151 #121705 #120481 #125530)

    merged to main

    files: agent/agent_init.py, gateway/run_busy.py, gateway/slash_access.py, gateway/slash_commands.py, gateway/slash_commands_login.py, gateway/slash_commands_session.py, hermes_cli/env_loader.py, hermes_logging.py, tests/agent/test_setup_logging_profile_scope.py, tests/agent/test_skip_background_review.py, tests/gateway/test_multiplex_credential_isolation.py, tests/gateway/test_slash_access_dispatch.py, tests/hermes_cli/test_local_runtime.py, tests/test_hermes_logging.py, tests/tools/test_tts_command_providers.py, tests/tools/test_tts_lifecycle_leases.py, tools/tts_command_provider.py, tools/tts_tool_lifecycle.py, website/docs/user-guide/multi-profile-gateways.md

1 PR closed without merging

From the close comments: done elsewhere 1

  • #124764 fix(logging): preserve log ownership across a rollover · done elsewhere → #120151
Closed issues · 1
  • Closed#120151Per-profile log rotation recreates agent.log as the rotating process's uid, locking out workers on another uid (regression of #34107 via a 0.21.3 path)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: 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
other
Merged PRs
#126145
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
28 Sep 2026

For your agent

The same facts, typed.