{"version":"2.1.269","anchor":"installed-pluginsjson-sync-can-now-heal-stale-managed-plugi","canonical_anchor":"installed-pluginsjson-sync-can-now-heal-stale-managed-plugi","heading":"Stale plugin records can now be automatically healed","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/installed-pluginsjson-sync-can-now-heal-stale-managed-plugi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Stale plugin records can now be automatically healed\n\nManaged plugin entries in installed_plugins.json that drift out of sync with the marketplace or cache are now automatically repaired\n\n**What**\n\nDuring the sync between settings and `installed_plugins.json`, managed plugin entries that no longer match what the marketplace or cache actually contains are now automatically \"healed\": their install path, version, and git commit hash are refreshed instead of being left inconsistent. New internal functions check a plugin's install path and version, build a versioned cache for it, and perform this healing. A log line records when healing happens, or when it isn't possible (\"Cannot heal ... managed record\").\n\n**Why**\n\nThis prevents plugin metadata from silently going stale or inconsistent, which could otherwise cause a plugin to be tracked incorrectly.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}