v13.12.1
thedotmack/claude-memv13.12.1Jul 23, 2026by thedotmack
AI Summary
Critical fix for a worker restart storm triggered by plugin upgrades using mtime sorting, which could exhaust the host machine's process table.
Key Highlights
- Fixes infinite worker restart loop caused by plugin upgrades.
- Resolvers now rank cache directories by version instead of modification time.
- Structurally prevents the restart loop from occurring during upgrades.
Full Release Notes
## Critical fix: worker restart storm Fixes an infinite worker restart loop triggered by plugin upgrades. The worker-script resolver ranked plugin cache directories by **mtime**, so when Claude Code stamped a superseded version dir with `.orphaned_at` (bumping its mtime), every restart respawned the **old** version while hooks on the new version kept demanding a restart — spawning hundreds of processes until the host machine exhausted its process table. All four resolvers (worker successor, MCP launcher, Codex Windows launcher, POSIX hook prelude) now rank cache dirs by **version** — never mtime — skip orphan-stamped dirs, and share one deterministic version oracle with the staleness detector (`checkVersionMatch`), making the restart loop structurally impossible. **Recommended upgrade for all users.** Note: the vulnerable resolver is the one running *during* an upgrade, so machines are protected from the next upgrade onward. Details: #3371