{"version":"2.1.300","anchor":"session-metadata-re-append-can-seal-a-torn-tail","canonical_anchor":"session-metadata-re-append-can-seal-a-torn-tail","heading":"Session log can repair a half-written last line","tier":"internal","area":"Session Transcripts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/session-metadata-re-append-can-seal-a-torn-tail","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Session log can repair a half-written last line\n\nWhen writing session details again, Claude Code can now first close off a session log that ends mid-line\n\n**What**\n\nClaude Code keeps each session's conversation in a log file, one record per line. The step that writes session details back to that file has a new option. When it is used and the file does not end with a line break, the next write first closes off the broken last line.\n\n**Why**\n\nThis guards against a damaged log, for example after a crash cut a write short.\n\n- Area: Session Transcripts\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}