{"version":"2.1.280","anchor":"new-early-upload-created-empty-recovery-path-for-cloudr","canonical_anchor":"new-early-upload-created-empty-recovery-path-for-cloudr","heading":"New early-upload ('created_empty') recovery path for cloud\/remote-control sessions when dir sync can't seed files","tier":"notice","area":"Cloud Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/new-early-upload-created-empty-recovery-path-for-cloudr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### New early-upload ('created_empty') recovery path for cloud\/remote-control sessions when dir sync can't seed files\n\nCloud sessions can now upload a first-time project snapshot when directory sync isn't ready yet\n\n**What**\n\nWhen a cloud or remote-control session is created before its usual git-based directory sync can start, Claude Code now builds and uploads a 'first upload' bundle of the local project directory directly, instead of leaving the session without files. This path:\n\n- Falls back to cloning the project from GitHub if needed\n\n- Reports clear refusal reasons when it can't proceed, including an unborn branch, a shallow or partial local clone, an oversized history, timeouts, or files withheld because they're covered by Read rules, sandbox read-deny settings, or look like credentials\n\n- Archives the session and shows a clear message, such as \"File sync was switched off while the session was being created,\" if the upload can't be completed in time\n\nA new environment variable, `CLAUDE_CODE_DIR_SYNC_ENGINE=none`, lets a machine disable directory sync entirely.\n\n**Why**\n\nPreviously, a cloud session created before directory sync was ready could end up with no files and no clear explanation. This gives users an actual snapshot of their project in that situation, or, if that's not possible, a specific reason why instead of a silent failure.\n\n- Area: Cloud Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}