"Claude Code '400: no low surrogate in string' on every turn: repairing a permanently broken session transcript"
A developer identified that Claude Code sessions become permanently bricked with a '400 no low surrogate in string' error when a lone UTF-16 surrogate (U+D800–U+DFFF) is written into the session trans…