{"version":"2.1.299","anchor":"worktree-name-validation-returns-messages-diskless-sessions","canonical_anchor":"worktree-name-validation-returns-messages-diskless-sessions","heading":"Sessions that do not save to disk skip file writes instead of crashing","tier":"internal","area":"Diskless Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/worktree-name-validation-returns-messages-diskless-sessions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Sessions that do not save to disk skip file writes instead of crashing\n\nSessions that run without saving to disk now skip several file writes, and invalid worktree names produce a message instead of an error\n\n**What**\n\nSome sessions run without saving anything to disk. Claude Code now skips several of the writes these sessions would otherwise attempt, and it records each one it skips.\n\nA worktree is a separate working copy of a git repository. The check on worktree names now returns a message explaining what is wrong with a name. Before, it raised an error.\n\n**Why**\n\nRuns that have no storage no longer crash when Claude Code tries to save something.\n\n- Area: Diskless Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}