NousResearch/hermes-agent

Fix concurrent first-turn session interleaving bug

Cluster 125124. Data as of

Nothing open on GitHub. Fix merged in #126309 on 28 Sep 2026. Check it covers your case.

The short answer

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

A bug where concurrent API requests on a new session ID caused turns to interleave incorrectly (resulting in lost responses) was identified and addressed by acquiring a turn lease before reading session state.

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.

  • #126309 fix(agent): concurrent API requests on a new session id no longer interleave their turns (#125124, salvage #125125)

    merged to main

    files: agent/turn_facade_lease.py, tests/agent/test_cross_process_turn_lease.py, tests/agent/test_turn_facade_lease.py

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #125125 fix(agent): the first turn on a new session id takes the turn lease too · done elsewhere → f06c354, 29625ef, 4175585, dd3ba4b, e63b6fa, #84235, #125199
  • #125199 fix(agent): acquire first-turn lease before reading session state · done elsewhere → 66a0f47, 057bbb3, 6c1f0bc, d9b456e, #126309, #125125
Closed issues · 1
  • Closed#125124[Bug]: concurrent API requests on a new session id interleave their turns (user, user, assistant, assistant; one answer lost)
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
#126309
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Sep 2026

For your agent

The same facts, typed.