{"version":"2.1.275","anchor":"git-diff-helpers-gain-worktreegitdir-awareness","canonical_anchor":"git-diff-helpers-gain-worktreegitdir-awareness","heading":"Git diff helpers gain worktree\/gitDir awareness","tier":"internal","area":"Memory Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/git-diff-helpers-gain-worktreegitdir-awareness","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### Git diff helpers gain worktree\/gitDir awareness\n\nMemory sync gains a slower 'off' retry mode with random delay when its data store is unusable\n\n**What**\n\nThe background process that keeps memory in sync now checks whether any of its data stores has become unusable. When that happens, it switches into a new 'off' retry state: it counts the number of retries, computes a randomized delay before trying again (to avoid retries all happening at once), and records the reason as `off_retry` instead of the usual `periodic` sync reason. The interval between resync attempts is now computed by a new helper function.\n\n**Why**\n\nThis prevents memory sync from hammering a broken data store on a fixed schedule; instead it backs off with increasing, randomized delays until the store becomes usable again.\n\n- Area: Memory Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}