NousResearch/hermes-agent

Prevent session switching during active agent turns

Cluster 112137 · agent. Data as of

2 open items. Fix merged in #113210 on 17 Sep 2026. Check it covers your case.

The short answer

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

These issues and fixes address a race condition where using /branch (and related session commands) mid-turn causes in-flight messages or writes to flush onto the wrong session. The work focuses on refusing or guarding session switches while a turn is still running.

Open issues0

No open issues.

Open PRs2

  • PR#112138fix(cli): refuse /branch mid-turn — an in-flight run flushes onto the branch
  • PR#112531fix(session): keep in-flight turn writes on the parent across /branch

Fixes on record

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

  • #113210 fix(cli): /branch, /resume and /sessions <id> refuse to switch sessions mid-turn (#112137, salvage #112138, #112930)

    merged to main

    files: hermes_cli/cli_commands_mixin.py, tests/hermes_cli/test_branch_command.py, tests/hermes_cli/test_session_switch_mid_turn_guard.py, website/docs/reference/slash-commands.md

Closed issues · 1
  • Closed#112137/branch mid-turn races the in-flight agent run: remaining messages flush onto the branched session
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

Subsystem
agent
Merged PRs
#113210
Closed issues
1
Attempts
0 PRs closed without merging
Fix link checked
17 Sep 2026

For your agent

The same facts, typed.