Original Reddit post

I just discovered that Claude Code instances running in completely different directories on my machine automatically discover each other and coordinate. I’m not sure when this was introduced, but it was quite surprising to me. I’m going to have to think through the implications. The full story: I run several simultaneous CC sessions across different work and personal projects. My machine is often saturated, and as I was watching a session work, it suddenly said it was negotiating with another operator for CPU. What? Who now? After a little bit of probing, I realized they had all, without anything from me, searched for and found the PIDs of the other instances. They refer to themselves based on the working directory where I started CC, adding a numbered suffix if I have multiple in the same dir. In this case, the outcome was great: they are working together to optimize the use of my overworked CPU. Definitely something I want. At the same time, I had been assuming everything was isolated. No longer true. FWIW I also run sessions as different users on my Mac, and it confirms it cannot see the sessions from the other users, so that seems like a good boundary if you want isolation. I figured I’d share, since this was quite the surprise for me. Thought people should know. submitted by /u/mrothro

Originally posted by u/mrothro on r/ClaudeCode