{"version":"2.1.318","anchor":"version-lock-maintenance-timer","canonical_anchor":"version-lock-maintenance-timer","heading":"The running version keeps its lock fresh while Claude Code is open","tier":"internal","area":"Auto-Updater","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/version-lock-maintenance-timer","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### The running version keeps its lock fresh while Claude Code is open\n\nClaude Code now regularly renews the lock on the version it is running, so another install or update is less likely to remove it\n\n**What**\n\nClaude Code keeps a lock file marking the version it is running. It now rewrites that file at regular intervals, and takes the lock back if another process holds it or the lock has gone stale. If this fails, the failure is logged and Claude Code carries on.\n\n**Why**\n\nThis stops another install or update from deleting the version you are currently running.\n\n- Area: Auto-Updater\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}