Conversation
|
Thanks for the focused profile-isolation fix. Current main invokes The changes in Automated hermes-sweeper review. |
SummaryOne PR addresses issue #75684. #75729 scopes Related pull requests
Suggested consolidationKeep #75729 open with a salvage path: preserve its complete profile-isolation fix and focused regression coverage while it proceeds through review. It is the only PR in this complex, so there are no duplicate PRs to close. Complex graphflowchart LR
classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a
classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d
classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937
classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151
classDef best stroke-width:3px,stroke:#b45309
classDef target stroke-width:3px,stroke:#4338ca
I75684(["issue #75684 (open)"])
P75729["PR #75729 (open)"]
P75729 -->|best fix| I75684
class I75684 open
class P75729 open
class P75729 best
class P75729 target
click I75684 "https://github.com/NousResearch/hermes-agent/issues/75684"
click P75729 "https://github.com/NousResearch/hermes-agent/pull/75729"
Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed (state tag in the node label). Cross-PR triage: Reviewed 1 pull request and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 10 kB of PR diffs, 5 kB of issue/PR text, 2 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch. |
e353151 to
e27c98c
Compare
What does this PR do?
Fixes a profile-isolation bug in multiplexed gateway slash commands. When
/memoryor/skillswas dispatched for a routed profile, the command handlers could read/write the gateway process's defaultHERMES_HOMEinstead of the routed profile home. This could expose pending writes across profiles or persist approval changes to the wrong config.Related Issue
Fixes #75684
Type of Change
Changes Made
/memoryand/skillsdispatch through_profile_runtime_scope()when multiplexing is active.get_hermes_home()context rather than the module-level gateway home.How to Test
main: 4 failures demonstrating default-home dispatch/config leakage.uv run --extra dev --extra messaging python -m pytest ...): 36 passed.git diff --check: passed.tests/gateway: 4,421 passed, 24 skipped, 18 unrelated baseline/environment failures in API/Discord/Telegram/WeCom/readiness/systemd/session-prune tests. No failures were in the changed files or Multiplex /memory and /skills use default profile home instead of routed profile #75684 tests.Tested on macOS with Python 3.13.11.
Checklist