{"version":"2.1.333","anchor":"sandboxdiff-rootid-now-persists-across-restarts","canonical_anchor":"sandboxdiff-rootid-now-persists-across-restarts","heading":"Workspace root IDs now stay the same across restarts","tier":"internal","area":"SDK","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/sandboxdiff-rootid-now-persists-across-restarts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Workspace root IDs now stay the same across restarts\n\nA folder's root ID is now described as keeping its value across Claude Code restarts, and IDs from 2.1.327 are refused with stale_root_id\n\n**Unclear.** Only the written description of the root ID changed, so it is not clear whether the behaviour changed with it.\n\n**What**\n\nA workspace root ID now keeps its value when Claude Code restarts. Before, it was described as accepted only by the same running copy of Claude Code that created it. Root IDs issued by version 2.1.327 are now refused with `stale_root_id`.\n\n**Why**\n\nApps built on Claude Code can keep using a root ID after Claude Code restarts instead of fetching a new one. Any IDs saved from 2.1.327 need to be fetched again.\n\n- Area: SDK\n- Names: `stale_root_id`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}