{"version":"2.1.334","anchor":"background-job-file-updates-serialised","canonical_anchor":"background-job-file-updates-serialised","heading":"Background sessions no longer risk clashing writes to their job file","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/background-job-file-updates-serialised","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Background sessions no longer risk clashing writes to their job file\n\nBackground sessions now update their job state file one change at a time, so two updates can no longer overwrite each other\n\n**What**\n\nA background session is one Claude Code runs without you watching it. It keeps a small state file. Two updates to that file now run one after the other:\n\n- Recording a new working folder for the session.\n\n- Recording the session id used to resume it.\n\nBefore, each update read the file, changed it and wrote it back separately, so two at once could clash.\n\n**Why**\n\nThis makes background sessions more reliable, because one update can no longer silently undo another.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}