[Bug] Session management: /exit lists sessions instead of terminating, duplicate session forks unmanageable
Status Open
Reported on v2.1.241
Maintainer reply None cached
Activity 4 comments · opened Aug 25, 2026
Submitted via /feedback; adding here so I can track (and I alreadiy have an update):
Bug Description
Did something recently change (2nd half of Aug 2026) regarding how Claude manages sessions? Three new behaviors I see:
- sometimes when I /exit it now lists a bunch of other running sessions, started in other shell windows, rather than terminating the CLI.
- I asked one agent if it wanted to brief another one, meaning via a doc, but it went ahead and just talked to the other session (once it was running). That feature is cool!
- However it failed, because the sending session (the one I was interacting with) had somehow forked so now there are two with the same name. But I can't find this mysterious other session to shut it down.
I know you are constantly innovating and many of these innovations are superb -- see item 2 once I get it working. But 1 and 3 are frustrating
Environment Info
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.241
- Feedback ID: d672ea0f-f7ba-416a-8f11-9ed84287b768
Errors
[]
4 Comments
After some time -- My supposed two BACKFILL07 sessions are one background and one interactive. The one I was interacting with told me it's in fact a background session, and I can't find the supposed "interactive" one at all.
An unrelated third session (the one supposed to receive the messages) told me that the mystery interactive session is running in the same Zellij environment where I'm running all of these, and it even found a tab "
BACKFILL" and activated it as where it thought the interactive session would be. And that is where the other, "background" session, the one I'm interacting with, is running!At this point I shared my inference:
Claude's response:
When I
exited the BACKFILL07 that I can interact with, the one that tells me it's background, I get this:This sort of exit menu has only started showing up for me in recent days. I assume it's a new feature, but it seems to be connecting with all kinds of running sessions, even from completely different projects/started in different repos. And in the case of BACKFILL07 I wonder if it somehow represents that the session got forked into two, or at least two IDs.
Now that I've closed down the one I'm interacting with, the other session still sees the running one and confirms they were the same process:
What a nightmare. Claude researched its own docs and thinks this is what happened:
I can see how cross-session messaging (XSM) could be a great feature but the way you've introduced it is disastrous for my workflow. I don't intentionally run the same session twice but it seems like something that could happen. Maybe this same mess would have happened pre-XSM if I had tried to access the same session but it's certainly expanding the blast radius.
Why not get the harness to detect the second access of the same session, and warn me?