v10.2.5

thedotmack/claude-memv10.2.5Feb 18, 2026by thedotmack

AI Summary

This bug fix release introduces a self-healing message queue that automatically resets stale processing messages (>60s) back to pending before claiming, eliminating stuck messages from generator crashes without external timers. The method was renamed from `claimAndDelete` to `claimNextMessage`, and redundant idle-timeout reset logic was removed since the atomic self-healing now handles recovery inline.

Key Highlights

  • Self-healing message queue with atomic stale message recovery (>60s threshold)
  • Method renamed from `claimAndDelete` to `claimNextMessage` for clarity
  • Removed redundant `resetStaleProcessingMessages()` call during idle timeout
  • Added `QUEUE` to logger Component type for TypeScript diagnostics
  • Added 6 new tests covering stuck recovery, active protection, atomicity, empty queue, and session isolation

Breaking Changes

  • Method `claimAndDelete` renamed to `claimNextMessage` - requires updates to any code referencing the old method name

New Features

  • Atomic self-healing message queue that automatically resets stale processing messages before claiming
  • Zombie-prevention integration test for stuck recovery

Full Release Notes

### Bug Fixes

- **Self-healing message queue**: Renamed `claimAndDelete` → `claimNextMessage` with atomic self-healing — automatically resets stale processing messages (>60s) back to pending before claiming, eliminating stuck messages from generator crashes without external timers
- **Removed redundant idle-timeout reset**: The `resetStaleProcessingMessages()` call during idle timeout in worker-service was removed (startup reset kept), since the atomic self-healing in `claimNextMessage` now handles recovery inline
- **TypeScript diagnostic fix**: Added `QUEUE` to logger `Component` type

### Tests

- 5 new tests for self-healing behavior (stuck recovery, active protection, atomicity, empty queue, session isolation)
- 1 new integration test for stuck recovery in zombie-prevention suite
- All existing queue tests updated for renamed method