{"version":"2.1.321","anchor":"transcript-appends-now-flush-and-repair-torn-lines","canonical_anchor":"transcript-appends-now-flush-and-repair-torn-lines","heading":"Session transcripts are saved more safely and repair half-written lines","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/transcript-appends-now-flush-and-repair-torn-lines","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Session transcripts are saved more safely and repair half-written lines\n\nClaude Code now forces the transcript onto disk before adding to it, and starts a fresh line if the file ends partway through one\n\n**What**\n\nClaude Code saves each session as a transcript file, adding one line at a time. It now:\n\n- Forces what has been written onto the disk before adding more, instead of leaving it waiting in memory.\n\n- Keeps track of lines not yet safely on disk.\n\n- Starts a new line when the file ends partway through a line, so a half-written line does not damage the next one.\n\n- Logs an error when forcing the file onto disk fails.\n\n**Why**\n\nTranscripts are more likely to survive a crash or a full disk intact.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}