Claude Code cross-session messaging in parallel worktrees: two limits and a hardening config
Independent-Sir3234 · reddit · 2026-11-09
With Claude Code v2.1.224+, parallel sessions in git worktrees communicate via per-session Unix domain sockets under /tmp/cc-socks-<uid> (use @session-name or /list-agents). Two documented limits: messages are plain text only (@file mentions attach nothing), and container↔host or WSL2↔Windows sessions can't reach each other. Security-wise, without crossSessionInbound, inbound delivery depends on bypassPermissions mode, and remote sessions can message off-machine. The author's hardening config: isolatePeerMachines: true forces approval before any off-machine SendMessage (even in bypassPermissions), while crossSessionInbound: "hold" + dialogExpiry: "never" queues inbound peer messages for review instead of dropping them after the default 5 minutes.
More from coding & agent
- S-Agent 2.0 gives coding agents spatial investigation tools, lifting ReVSI by 20.5 points — jiqizhixin · 2026-11-09
- Jane Street's socratic-tutor agent skill teaches by asking questions, not lecturing — intellectronica · 2026-11-09
- Dev building FOSS FL Studio clone: 11-year-old tester finds it intuitive — CtrlAltDwayne · 2026-11-09
- Deep-dive talk on Kamal deployment mechanics, from SSH to proxy handling — js_craft_hq · 2026-11-09
- Harness adds +5.3 points to DeepSeek V4.1 Flash on F1 pit-stop test, at ~19x the cost — AccBalanced · 2026-11-09
- Engineers are the bottleneck: the case for cross-engineer agent-to-agent communication — thomasahle · 2026-11-09