Rank, 14 days: 78 on the Claude Code sheet
2 people reported

All time, since Oct 31.

Session file PID collisions

“Concurrent sessions then overwrite each other's file, and the first to exit deletes it, so a running session disappears from the session list.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/23738/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

PID-namespaced sessions collide on shared ~/.claude state. Sessions sharing ~/.claude write sessions/<pid>.json, so same-PID instances in bubblewrap or containers overwrite files, drop from the list, and can't reach peers.

Is this your bug?

File my report
Where
Session registry
Error text
No agent named '…' is reachable
Versions
2.1.316 to 2.1.319. Still reported on the newest version, 2.1.319.
Platforms
Linux
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Session registry file invalid JSON2 people

Original reports2, newest first

  1. Peer messaging (ListAgents/SendMessage) assumes a shared PID namespace and /tmp, so it fails between PID-namespaced sessions#108495
  2. Session files in ~/.claude/sessions are named by process ID, which collides across PID namespaces#106466

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.