Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
ollama, python
领域
ai, backend

调研方向

Start by reading ADR 0022 and tracing the memory-save CUD decision to see which model role it uses and where the “defaulting to ADD” log is produced. Check the role configuration described in #449 and #448. Run the reported scenario with chat on claude-code/sonnet and the background role on qwen3:8b; done means “I moved to Mumbai” updates the existing Pune memory in a real run.

由索引模型根据 Issue 内容生成。

描述

area: memory bug priority: P2 size: S

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.

主要语言
Python
星标
702
派生
113
平均合并
5 小时 6 分钟
30 天内合并 PR
172

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

existence-master/Sentient 的其他 Issue

查看 existence-master/Sentient 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。