hermes - 💡(How to fix) Fix Profile切换后session历史未隔离 — default profile会话泄漏到named profile

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 描述

切换 Profile 后,session 历史未被隔离。default profile 中的会话历史会泄漏到新创建的 named profile 中,导致跨 profile 的串话(crosstalk)问题。

复现步骤

  1. 在 default profile 下进行多轮会话,积累对话历史
  2. 切换到某个 named profile(例如 maintenance)
  3. 在新的 profile 下发起对话
  4. 观察到 default profile 的历史会话被带到了 named profile 中

预期行为

每个 profile 的 session 历史应该完全隔离,切换 profile 后不应看到其他 profile 的会话记录。

实际行为

Profile 切换后,之前的 session 历史仍然可见,导致消息串扰(串话),不同 profile 的上下文相互污染。

环境信息

  • Hermes Agent 版本:latest
  • 运行方式:CLI
  • Profile 数量:2+(default + named profiles)

影响

  • 不同 profile 之间的上下文相互污染
  • 群聊/多 agent 场景下消息串扰(消息A的上下文出现在消息B的回复中)
  • 用户隐私隔离失效

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