# claude-mem v13.12.3 - Product: claude-mem (https://whatsnew.fyi/product/claude-mem) - Vendor: claude-mem - Date: 2026-07-23 - Version: v13.12.3 - Original notes: https://github.com/thedotmack/claude-mem/releases/tag/v13.12.3 - Permalink: https://whatsnew.fyi/product/claude-mem/releases/v13.12.3 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix self-perpetuating stale-worker recycle loop where hooks now directly kill stale workers with SIGKILL instead of delegating restart to the dying worker, preventing version mismatch loops that caused thousands of recycles per day - **changed** — Worker restart behavior now distinguishes between hook-initiated restarts (which kill and respawn the stale worker) and CLI-initiated restarts (which use the dying-worker successor handoff) ##### Hotfix: self-perpetuating stale-worker recycle loop (#3378) **The bug.** On a version mismatch, hooks asked the running (stale) worker to restart itself — and the dying worker spawned its successor using its *own install's* code and resolver. A ≤13.11.0 worker would respawn its own version, re-bind the worker port before the hook's correctly-resolved lazy-spawn could, and the mismatch recurred on every prompt, forever. One report measured **2,424 recycles in a single day**, with every `UserPromptSubmit` ending in a ~40s hook timeout. Because the buggy handoff ran inside the *old* install's process, fixing the new version's resolver alone could never break the loop. **The fix.** Hooks no longer delegate the recycle to the corpse. On version mismatch the hook now: 1. reads the owner-verified worker PID file, 2. `SIGKILL`s the stale worker — the only teardown guaranteed to execute zero stale-version code, 3. waits for the port to actually close, and 4. spawns the resolved installed version itself, via the existing lazy-spawn path and the single version oracle. The dying-worker successor handoff now serves only CLI-initiated `claude-mem restart`, where the running install *is* the resolved install. **If you're currently stuck in the loop:** just update. The first hook that runs after this version installs will kill the resident stale worker and take over — no manual cleanup needed. **Not addressed in this release** (still open): the `FOREIGN KEY constraint failed` background-init error also reported in #3378, and the Windows stale-socket port hold in #3380.