CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

不具备跨会话记忆

Open jianage opened this issue 6 months ago • 6 comments

Description

Steps to reproduce

1.每次重新启动,会遗忘上一轮会话的记忆 2.如果强制要求写入记忆,重启后不会主动读取记忆 3.总体来说,使用效果不太好,但优点是响应很快

Expected behavior

Actual behavior

Impact

Environment

  • OS:
  • codewhale version:
  • Install method:
  • codewhale doctor summary:
  • Model/provider:
  • Terminal app:
  • Shell:

Logs, screenshots, or recordings

jianage avatar Jun 01 '26 08:06 jianage

/sessions可以查看历史会话,可以进行选择恢复历史会话

Asteria1028 avatar Jun 01 '26 08:06 Asteria1028

@jianage 你试试deepx-code,看看能否解决你的问题

朋友你是写了监控任务吗,有一条新的issue你就来发一次广告

AiurArtanis avatar Jun 01 '26 11:06 AiurArtanis

是什么广告?

---原始邮件--- 发件人: @.> 发送时间: 2026年6月1日(周一) 晚上7:39 收件人: @.>; 抄送: @.@.>; 主题: Re: [Hmbown/CodeWhale] 不具备跨会话记忆 (Issue #2492)

AiurArtanis left a comment (Hmbown/CodeWhale#2492)

@jianage 你试试deepx-code,看看能否解决你的问题

朋友你是写了监控任务吗,有一条新的issue你就来发一次广告

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you were mentioned.Message ID: @.***>

jianage avatar Jun 01 '26 11:06 jianage

Thanks @jianage, and thanks @AccMoment for helping in-thread. There are two separate surfaces here that we should not blur together:

  • /sessions restores prior conversations. If it only shows one item after multiple sessions, that may be a session indexing/visibility bug.
  • Durable memory is different: saved facts need to be loaded into a future session intentionally, and the UX should make that clearer.

I am leaving this open. The next useful details are your CodeWhale version, install method, and the State Root / Storage lines from codewhale doctor with private paths redacted. Also, please avoid third-party product promo threads here; it makes the actual CodeWhale bug harder to triage.

Hmbown avatar Jun 01 '26 12:06 Hmbown

coding cli工具为什么需要专门做跨会话记忆?如果某些knowledge真的需要,直接写进AGENTS.md即可。

encyc avatar Jun 03 '26 04:06 encyc

Thanks for the report and for the discussion here. I am closing this because Codewhale now has both forms of cross-session continuity, while keeping their automatic behavior deliberately opt-in:

  • Conversation continuity: saved sessions can be reopened through /sessions, --resume, or --continue. Workspace-verified launch auto-resume landed in 77119c16f and shipped in v0.9.2. session_auto_resume defaults to off, and explicit resume/fresh choices always win.
  • Durable memory: the native Markdown + SQLite FTS5 store was consolidated in 7b2c9d34a and shipped in v0.9.4. When [memory] enabled = true, bounded global and workspace memory is loaded into future sessions and the remember/search tools are available. Memory defaults to off for privacy and predictability.

So this closure does not mean every restart silently resumes a conversation or that memory is always enabled. Those remain user choices. If a current release loses a session from /sessions, or enabled native memory is not loaded in a later session, please file a new focused bug with codewhale --version, install method, and the relevant codewhale doctor storage lines with private paths redacted.

中文:会话恢复和长期记忆现在是两个独立、可选的能力;为了隐私和可预测性,它们都不会默认静默开启。如果最新版仍丢失会话或启用后的记忆未加载,请带当前版本和脱敏后的 doctor 存储信息开一个新的聚焦 issue。

Hmbown avatar Aug 24 '26 03:08 Hmbown