{"version":"2.1.178","anchor":"periodic-memory-store-resync","canonical_anchor":"periodic-memory-store-resync","heading":"Periodic Memory Store Resync","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.178\/e\/periodic-memory-store-resync","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.178","markdown":"### Periodic Memory Store Resync\n\n**What**\n\nMemory stores are now periodically resynced in the background instead of relying solely on event-driven pushes.\n\n**Details**\n\n- Controlled by the `tengu_memory_store_resync_interval_minutes` feature flag (minimum interval enforced)\n- Can be disabled entirely with `CLAUDE_CODE_DISABLE_MEMORY_PERIODIC_RESYNC=true`\n- A timer re-arms after each sync to schedule the next one; the mechanism uses `unref()` so it doesn't block process exit\n\n**Evidence**\n\nNew periodic resync logic (search for `\"memory-watcher: stale-store check failed:\"`, `\"CLAUDE_CODE_DISABLE_MEMORY_PERIODIC_RESYNC\"`, `\"tengu_memory_store_resync_interval_minutes\"`)"}