The background-session list tracks which sessions another window is already sitting in.
What's wrong with this entry?
The background-session list now tracks, for each job, whether some other Claude Code window is currently sitting in that session, and uses it to block opening it.
- The live-session poll builds a second map of interactive sessions belonging to other processes (kind
interactive, a different process id, no parked job), stored asterminalHoldersand read throughterminalHolderOf(job). - Skipped for peer and remote backends.
- No flag; always on.
terminalHolders
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Background task notifications arrive inside a system-reminder
Both mention background task
-
v2.1.235
Several finished background tasks now report as one line
Both mention background task
-
v2.1.236
Background-task notices no longer look like user approval
Both mention background task