{"version":"2.1.281","anchor":"cloud-sessions-now-restore-claudes-earlier-work-when-the-co","canonical_anchor":"cloud-sessions-now-restore-claudes-earlier-work-when-the-co","heading":"Cloud sessions now restore Claude's earlier work when the container is replaced","tier":"notice","area":"Cloud Sync","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/cloud-sessions-now-restore-claudes-earlier-work-when-the-co","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Cloud sessions now restore Claude's earlier work when the container is replaced\n\nWhen a cloud session's container is replaced, Claude's commits, staged changes and working files can now be restored instead of starting over\n\n**What**\n\nA cloud session runs Claude Code on a remote machine, inside a container (an isolated computing environment), and directory sync keeps its copy of your files in step with your own machine. When that container was replaced, the checkout (the copy of your project Claude works in) used to start over from the session's starting state and wait for your machine to send files again. Claude's earlier work in the container is now restored where possible, and Claude is told how much came back.\n\nThere are now these outcomes:\n\n- Full restore: Claude's commits, staged changes and working files are back as they were at the end of its last turn.\n\n- `last_turn`: work is restored only up to the end of the last completed turn.\n\n- `partial`: work is restored only up to an earlier turn, and a reason is given.\n\n- Failed restore: Claude is given the reason and what happens next, which is `resends`, `refused`, `taken`, or that your changes have not yet been taken in.\n\nThe report shown to you gets matching lines. A new telemetry event, `dir_sync_git_checkout_restored`, is logged with an `outcome` field, and the existing `dir_sync_git_checkout_recreated` event now carries a `why` field.\n\n**Why**\n\nA replaced container no longer has to mean losing what Claude had done. Claude is told plainly how far back its work was restored, so it knows which of its changes are still there and which it has to redo.\n\n- Area: Cloud Sync\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5"}