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
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 内容生成。
描述
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
existence-master/Sentient 的其他 Issue
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancel可能已有人在做 @bernalalexis-try 今天认领。 未关闭area: channels enhancement good first issue priority: P2 size: S
难度 2/5 1-3 小时 新手友好度 78/100
existence-master/Sentient#457 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
area: desktop bug good first issue priority: P2 size: S
难度 2/5 1-3 小时 新手友好度 82/100
existence-master/Sentient#454 ·
维护者通常 1 天内回复
-
area: desktop bug priority: P2 size: S
难度 2/5 1-3 小时 新手友好度 82/100
existence-master/Sentient#440 ·
维护者通常 1 天内回复
-
area: desktop bug
难度 2/5 1-3 小时 新手友好度 78/100
existence-master/Sentient#426 ·
维护者通常 1 天内回复
-
area: memory bug flaky
难度 2/5 1-3 小时 新手友好度 76/100
existence-master/Sentient#422 ·
维护者通常 1 天内回复
查看 existence-master/Sentient 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
mohitmishra786/readprism#322 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
API-key credentials accept a blank key: empty via the API, spaces-only via the builder's Add API key dialog可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
Significant-Gravitas/AutoGPT#15727 ·
维护者通常 1 天内回复