2 people reported

All time, since Sep 23.

Session registry file invalid JSON

“The per-process session registry file ~/.claude/sessions/<pid>.json sometimes stops being valid JSON.”

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/3097/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

Session registry file left with stray trailing brace. ~/.claude/sessions/<pid>.json ends with an extra } after a valid object, so standard JSON readers fail to parse it.

Is this your bug?

File my report
Where
Session registry file
Error text
json.decoder.JSONDecodeError: Extra data: line 1 column 549 (char 548)
Versions
2.1.280
Platforms
macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. claude.exe pins one CPU core after watched directory is deleted5 people
  2. Config file reset to empty2 people

Original reports2, newest first

  1. ~/.claude/sessions/<pid>.json keeps the previous write's tail after a shorter rewrite (not truncated)#104810
  2. Session registry file gets an extra trailing }, breaks JSON parsing#96438

Do you work on Claude Code?

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