跳到主內容

Theme / v15.10.0

Claude-Mem

Claude Code 持久化記憶系統

基礎觀念

v15.10.0:Onboarding 探索既有工作與觀察器控制

整理 claude-mem v15.10.0 的重點:Setup 以 Discover My Work, Rules & Focus 開場、CLAUDE_MEM_OBSERVER_ENABLED 關閉記憶擷取、CLAUDE_MEM_PROVIDER_BY_SOURCE 逐工具選 observer、CLAUDE_CODE_OAUTH_TOKEN 維持登入,與可靠性修復。含互動測驗與檢查清單。

概述

claude-mem v15.10.0 於 2026-11-05 19:57 UTC 發布。官方 Onboarding 段落的開場句是:

“Setup now leads with discovering your existing work, rules and focus from your transcripts.”

本版的主軸有三條:Setup 改以探索既有工作開場、觀察器(observer)與記憶擷取獲得更細的控制開關、以及一批可靠性與平台修復。本課逐項對應 release notes 原文;上游沒有寫的細節,這裡也不推測。

Onboarding 探索既有工作(#5270、#5308、#5384)

Release notes 原文:“Setup now leads with discovering your existing work, rules and focus from your transcripts. The main button is “Discover My Work, Rules & Focus”, and “Skip this step” is a smaller action under it.“

重點:

  • Setup 的第一個動作是探索你既有的工作、規則與焦點,來源是你的 transcripts。
  • 主按鈕是 Discover My Work, Rules & Focus;Skip this step 縮小為其下的次要動作。
  • 隱私面向:“The “Share anonymous usage statistics to help improve your Claude-mem experience” box starts checked; unchecking it is kept, and nothing is sent until you press Discover.“ —— 統計勾選框預設勾選,但取消勾選會被保留,且在你按下 Discover 之前不會送出任何東西。
  • 容量面向:“When hosted setup is busy, claude-mem checks capacity before uploading, remembers the cooldown across restarts and lets you finish setup.” —— hosted setup 忙碌時先檢查容量再上傳,cooldown 記憶跨重啟保留,並讓你能完成 setup。

關閉記憶擷取:CLAUDE_MEM_OBSERVER_ENABLED(#5353)

Release notes 原文:“New CLAUDE_MEM_OBSERVER_ENABLED setting and a Memory capture toggle. Set it to "false" to stop new observation and summary model calls while keeping existing memories, search and session-start context.”

新增 CLAUDE_MEM_OBSERVER_ENABLED 設定與 Memory capture toggle。設為 "false" 後:

  • 停止新的 observation 與 summary model calls。
  • 保留既有的 memories、search 與 session-start context。

逐工具選 observer:CLAUDE_MEM_PROVIDER_BY_SOURCE(#5333)

Release notes 原文:“New CLAUDE_MEM_PROVIDER_BY_SOURCE setting picks the observer provider per session source, for example Codex sessions on Codex and Claude Code sessions on Claude.”

CLAUDE_MEM_PROVIDER_BY_SOURCE 依 session source 選擇 observer provider。官方範例:Codex sessions 用 Codex、Claude Code sessions 用 Claude。

長效 Claude 登入:CLAUDE_CODE_OAUTH_TOKEN(#5372、#5383)

Release notes 原文:“~/.claude-mem/.env can now supply CLAUDE_CODE_OAUTH_TOKEN, so capture doesn’t stop when the stored Claude Code login expires. Sessions paused for auth resume once a credential is shown to work.”

  • ~/.claude-mem/.env 現在可以提供 CLAUDE_CODE_OAUTH_TOKEN。
  • 效果:stored Claude Code login 過期時,capture 不會停止。
  • 因驗證(auth)暫停的 sessions,在 credential 被驗證可用後會恢復。

合併模式:mode overrides 鏈結(#5349)

Release notes 原文:“Mode overrides now chain, so a language mode can combine with chill, like code--chill--ko.”

Mode overrides 現在可以鏈結(chain):語言模式可以與 chill 組合,例如 code--chill--ko。

Doctor 解釋缺失的 observer(#5366)

Release notes 原文:“npx claude-mem doctor now reports an unavailable observer provider and the worker’s dependencies, instead of saying all is well.”

npx claude-mem doctor 現在會回報不可用的 observer provider 與 worker 的 dependencies,而不是說一切正常。

Viewer sync 與 My Work(#5410、#5416)

Release notes 原文:“Viewer sync recovery is now on main: faster bounded views, truthful sync status, shared My Work state between devices, and recovery of remote changes. On the cloud viewer, My Work links to Account & billing.”

  • Viewer sync recovery 進入 main:更快的 bounded views、如實的 sync status、跨裝置共享 My Work state、以及遠端變更的恢復。
  • 雲端 viewer 上,My Work 連到 Account & billing。

可靠性修復(節選)

  • Worker 池滿時等待(#5386、#5388):“The worker waits for a free slot instead of failing when the pool of 10 is full, and releases an idle slot when other sessions are waiting.” 池(pool of 10)滿了改為等待空位而非失敗;有其他 sessions 等待時會釋放閒置 slot。
  • 卡住的 context-reader 逾時(#5387):“Hung context-reader requests now time out, so a stuck read no longer stops observations.”
  • Observer 不繼承父 gateway 的模型名稱(#5316、#5317、#5348):“The observer no longer inherits a parent gateway’s model names, and keeps your Claude beta opt-out. A model refusal is reported as a model outage.”

安裝與平台修復(節選)

  • Windows(#5351):“the worker daemon starts without PowerShell.”
  • Copilot CLI(#5305):“the MCP server is registered in ~/.copilot/mcp-config.json, where Copilot CLI reads it.”
  • Devin(#5314):“context is injected again after Devin compacts a session.” Devin 壓縮 session 之後,context 會再次被注入。

隱私與安全(節選)

  • 更多機密在儲存前遮蔽(#5298、#5342、#5345、#5352、#5373、#5327):“More secrets are redacted before they are stored: Groq, xAI, NVIDIA NIM, Runcrate, Google OAuth (ya29.), Linear, Notion, Supabase, Sentry, Databricks and HashiCorp Vault tokens.”
  • Log 偽造防護(#5328):“Log values with line breaks are escaped so they can’t forge a log record.” 含換行的 log 值會被跳脫,無法偽造一筆 log record。
  • 輸入邊界(#5360、#5362、#5361、#5330、#5341、#5336):“Input bounds on batch id arrays, timeline depth, the job listing offset and empty URL modifiers; numeric-string ids are accepted in /api/observations/batch.”

知識檢核

隨堂測驗

把 CLAUDE_MEM_OBSERVER_ENABLED 設為 'false' 之後,哪些功能仍然可用?

💡 想先看個提示?

關鍵詞是「stop new observation」與「keeping existing memories」。

隨堂測驗

v15.10.0 的 Onboarding 中,關於「Share anonymous usage statistics」勾選框,下列何者正確?

💡 想先看個提示?

注意「starts checked」與「nothing is sent until you press Discover」兩個細節。

隨堂測驗

想讓 Codex sessions 用 Codex 當 observer、Claude Code sessions 用 Claude,該設定哪一項?

💡 想先看個提示?

設定名稱裡的 BY_SOURCE 就是「依來源」的意思。

隨堂測驗

`npx claude-mem doctor` 在本版的行為改變是?

💡 想先看個提示?

重點是「instead of saying all is well」。

動手檢查清單

升級 v15.10.0:動手檢查清單

逐項勾選,確認你已完成升級必要的步驟(進度會保存在此瀏覽器)

0 / 4

延伸閱讀