Skip to content

With Claude Code as the chat model, saving a memory never updates or skips: the add-or-update decision is refused and defaults to ADD #474

Closed

Description

@itsskofficial

Seen while testing #471 (#463). When a chat runs on claude-code/sonnet, the memory save's add-or-update decision (CUD) is refused as background work (ADR 0022). The log says "defaulting to ADD". So on that setup, saving a memory never UPDATEs or SKIPs through the model, and duplicates and stale facts pile up.

Fix: run the CUD decision on the fast/background role (which #449 keeps on a non-Claude-Code model unless claude_code_everywhere is on, #448), not on the chat's model. If no model can decide, say so plainly instead of silently adding.

Done when: with chat on claude-code/sonnet and the background role on qwen3:8b, saying "I moved to Mumbai" after "I live in Pune" updates the memory. Check in a real run.

Activity

  1. added
    bug
    area: memory
    priority: P2
    size: S
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: memorybugpriority: P2size: S

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions