System prompt lost during mid-session route commits
NousResearch/hermes-agent · cluster 121840
Data as of
Nothing open on GitHub. Fix merged in #124167. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #124167. 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.
A bug causes the stored system prompt to be nulled out when route commits occur mid-session, triggering a warning and unnecessary rebuild. Several fixes address preserving the system prompt across route commits, plus a related safeguard against deleting git-tracked files.
Open issues0
Open PRs0
Fixes on record
-
#124167 fix(state): route commits keep the stored system prompt
files:
agent/conversation_compression.py,contributors/emails/[redacted:email],hermes_state_sessions.py,hermes_state_usage.py,tests/agent/test_system_prompt_switch_invalidation.py,tests/hermes_cli/test_session_system_prompt_dedup.py -
#124281 fix(disk-cleanup): never delete git-tracked files, even when HERMES_HOME is a checkout
files:
contributors/emails/[redacted:email],hermes_cli/source_check.py,plugins/disk-cleanup/disk_cleanup.py,tests/plugins/test_disk_cleanup_plugin.py
2 PRs closed without merging
From the close comments: done elsewhere 1 · merged via another change 1
Closed issues · 1
- Closed#121840[Bug] Mid-session route commits null the stored system prompt; next turn logs the "is null / investigate update_system_prompt" WARNING for a deliberate DB write, and rebuilds from scratch
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.00means 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