{"version":"2.1.332","anchor":"compaction-not-saved-notice-after-a-result","canonical_anchor":"compaction-not-saved-notice-after-a-result","heading":"Warning when part of a session could not be saved","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/compaction-not-saved-notice-after-a-result","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Warning when part of a session could not be saved\n\nClaude Code now warns when part of a session couldn't be saved, tells you to run \/compact again, and that resuming may lose earlier messages\n\n**Unclear.** It is not clear which sessions show the notice; it may only appear when Claude Code runs non-interactively or through the SDK.\n\n**What**\n\nClaude Code now shows a notice when part of a session could not be saved to disk. The causes it names are:\n\n- the disk is full\n\n- a storage quota was hit\n\n- the file can't be written\n\n- the file is in use\n\nThe notice tells you to run `\/compact` again (the command that frees up room by summarizing the conversation so far). It also warns: \"If the session closes first, even on its own, \/compact can't save it, and resuming can leave out earlier messages.\" The notice is not shown when `DISABLE_COMPACT` is set, and it is tied to a remote switch.\n\n**Why**\n\nIf saving fails, you hear about it in time to act instead of finding later that a resumed session is missing earlier messages.\n\n- Flag `tengu_woolly_sundial`: Not enough to say (read for one account on one subscription tier against v2.1.332; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}