Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#474 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ollama, python
Lĩnh vực
ai, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
710
Fork
125
Merge trung bình
5 giờ 15 phút
Pull request đã merge (30 ngày)
173

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của existence-master/Sentient

Tất cả issue của existence-master/Sentient

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.