NousResearch/hermes-agent

NULL system prompt seeding bug and fixes

Cluster 45499 · agent. Data as of

Nothing open on GitHub. Fix merged in #52616 on 25 Jun 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #52616. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #52616. That is separate from the fix event.
Still open
Nothing open on GitHub.

These members address a bug where NULL system prompts could be persisted or seeded during turn or session setup before a proper prompt restore occurs. The group includes the bug report and related fixes targeting the ordering and persistence of system prompt initialization.

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.

  • #52616 fix: persist non-NULL system prompt on fresh turn setup (#45499)

    merged to main

    files: agent/turn_context.py, tests/agent/test_turn_context.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #45502 fix(agent): defer _ensure_db_session until after system prompt restore · done elsewhere → 2a1e615, #45499, #52616
Closed issues · 1
  • Closed#45499[Bug]: API/gateway turn setup can seed NULL system_prompt before prompt restore
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.67: 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

Subsystem
agent
Merged PRs
#52616
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
25 Jun 2026

For your agent

The same facts, typed.