Ai
Claude Mem v12.4.4 Fixes Observation Queue Abandonment on Session Clear

Claude Mem v12.4.4 Fixes Observation Queue Abandonment on Session Clear

Claude Mem v12.4.4 Fixes Observation Queue Abandonment on Session Clear

Claude Mem v12.4.4 delivers a focused reliability fix that stops pending observations from being incorrectly abandoned when a user clears a session, logs out, exits, or triggers other benign session-end signals. The release removes the session-end completion hook that had been draining worker queues across Claude Code, Gemini CLI, the transcripts processor, the OpenCode plugin, and OpenClaw. With that external completion path gone, queued observations can now finish processing naturally through the worker’s own lifecycle handling.

What Changed

This version removes the SessionEnd → session-complete hook entirely, which had been incorrectly treating non-destructive session exits as final completion events. Instead of forcing pending observations into an abandoned state, the worker now relies on its SDK-agent generator’s finally block to complete cleanly without an external API call.

The update includes several code-level removals tied to that behavior. The release removes the SessionEnd hook block from plugin/hooks/hooks.json, deletes the POST /api/sessions/complete route and its Zod schema in SessionRoutes.ts, and removes the CLI session-complete handler and registry entry. It also strips the same completion call from the transcripts processor, the OpenCode plugin’s session.deleted handler, the Gemini CLI installer mapping, and OpenClaw-specific completion scheduling logic.

Why It Matters

This fix is important because it addresses a subtle queue-handling bug that had been affecting five separate surfaces since November 7. In practical terms, users could lose still-pending observation work simply by clearing a session or ending a prompt flow in normal ways. For teams relying on transcript capture, AI workflow continuity, or agent-driven processing, that kind of silent abandonment can create hidden reliability gaps and incomplete records.

By narrowing queue draining to explicit user-initiated session deletion through DELETE /api/sessions/:id, v12.4.4 restores a cleaner separation between routine session exits and true deletion events. That change reduces unintended data loss, improves consistency across integrations, and makes the system’s behavior easier for developers and operators to reason about.

Official Source: https://github.com/thedotmack/claude-mem/releases/tag/v12.4.4

What's your reaction?

0
AWESOME!
AWESOME!
0
LOVED
LOVED
0
NICE
NICE
0
LOL
LOL
0
FUNNY
FUNNY
0
EW!
EW!
0
OMG!
OMG!
0
FAIL!
FAIL!