{"version":"2.1.248","anchor":"sessions-resumed-with-directory-sync-disabled-now-say-so","canonical_anchor":"sessions-resumed-with-directory-sync-disabled-now-say-so","heading":"Sessions resumed with directory sync disabled now say so","tier":"use","area":"File Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/sessions-resumed-with-directory-sync-disabled-now-say-so","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Sessions resumed with directory sync disabled now say so\n\nResuming with directory sync turned off now says so instead of quietly doing nothing.\n\n**What**\n\nWhen `CLAUDE_CODE_DIR_SYNC_ENGINE` is set to none, off, 0, false or no, resuming a git or folder session attaches a visibly stopped sync engine and explains the situation in words instead of silently doing nothing. Before this, the git path just returned with no engine and no message. Sync is treated as on unless that variable holds one of those values.\n\n**Details**\n\n- The stopped engine reports the line \"sync is switched off on this machine\" and carries `reason: \"engine_declined\"`, with the decline recorded in telemetry as `attach_engine_declined`.\n- The full explanation reads \"File sync is switched off on this machine by CLAUDE_CODE_DIR_SYNC_ENGINE, so this session does not sync here now; unset it and open the session again to resume.\"\n- A companion message warns that the cloud copy will be emptied so the local and remote sides do not drift apart.\n- A shared phrasing helper generates the wording for each of the reasons sync can stop, so the messages stay consistent across cases.\n- Attachment now checks whether the engine is permitted before doing any other setup work.\n- Resumed folder and git records also carry `endedEarlier` when the stored record shows a previous run ended.\n\n**Evidence**\n\n`y(\"ccr_dir_sync_pull\", \"attach_engine_declined\")`, `attach_engine_declined`, `File sync is switched off on this machine by CLAUDE_CODE_DIR_SYNC_ENGINE, so this session does not sync here now; unset it and open the session again to resume.`\n\n- Area: File Sync\n- Names: `CLAUDE_CODE_DIR_SYNC_ENGINE`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}