mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-24 16:54:43 +00:00
session.branch wrote the child ROW into the parent's profile db but built the live agent with the launch defaults: _make_agent fell back to _get_db() and no HERMES_HOME override was active. The branched agent's own message flushes — and any later compression rotation it performed — therefore landed back on the launch profile, splitting the lineage one turn after the branch. Mirror session.create/resume: open the parent profile's SessionDB for the agent and hold the home override across the build, so config/skills/memory resolve to the profile too. Spotted in #70605's sibling implementation of the same fix. Co-authored-by: HexLab98 <liruixinch@outlook.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _stdin_recovery.py | ||
| compute_host.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| host_supervisor.py | ||
| loop_noise.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| synthetic_turn.py | ||
| transport.py | ||
| ws.py | ||