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

0open issues
0open PRs
5items grouped
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

No open issues.

Open PRs0

No open pull requests.

Fixes on record

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

  • #124167 fix(state): route commits keep the stored system prompt

    merged to main

    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

    merged to main

    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

  • #121843 fix(state): stop nulling the stored system prompt on route commits · done elsewhere → f146262, #124281
  • #121907 fix(state): preserve system prompts across route commits · merged via another change → #121843, #124167
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.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

Merged PRs
#124167, #124281
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
26 Sep 2026

For your agent

The same facts, typed.