openclaw - 💡(How to fix) Fix MemOS stopped capturing after 4.26 upgrade - fix: hooks.allowConversationAccess [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#73748Fetched 2026-04-29 06:15:37
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Author
Timeline (top)
closed ×1commented ×1

Root Cause

Root Cause · 根因

Code Example

openclaw config set plugins.entries.memos-local-openclaw-plugin.hooks.allowConversationAccess true
openclaw gateway restart

---

{
  "plugins": {
    "entries": {
      "memos-local-openclaw-plugin": {
        "hooks": { "allowConversationAccess": true }
      }
    }
  }
}
RAW_BUFFERClick to expand / collapse

Symptom · 症状

After upgrading to OpenClaw 4.26, memos-local-openclaw-plugin silently stopped indexing new conversations. No errors, no warnings.

升级 OpenClaw 4.26 后,memos-local 插件静默停止收录新对话。无报错、无警告。

Root Cause · 根因

OpenClaw 4.26 added a security policy (see docs/plugins/hooks.md line ~200):

4.26 新增了插件安全策略:

Non-bundled plugins that need llm_input, llm_output, before_agent_finalize, or agent_end must set hooks.allowConversationAccess = true

memos-local relies on agent_end and before_prompt_build hooks for auto-capture and auto-recall. These hooks are silently blocked without explicit allowConversationAccess.

memos-local 依赖 agent_endbefore_prompt_build hooks 实现自动记忆收录和回忆注入。未声明 allowConversationAccess 时这些 hooks 被静默拦截。

Fix · 修复

openclaw config set plugins.entries.memos-local-openclaw-plugin.hooks.allowConversationAccess true
openclaw gateway restart

Or in openclaw.json:

{
  "plugins": {
    "entries": {
      "memos-local-openclaw-plugin": {
        "hooks": { "allowConversationAccess": true }
      }
    }
  }
}

How we diagnosed · 排查过程

  1. memory_search only returned pre-4.26 results → 记忆搜索只返回升级前结果
  2. SQLite: last chunk timestamp stopped at upgrade date → 数据库最后 chunk 停在升级日期
  3. LM Studio embedding API verified working (2560 dims) → Embedding 模型正常工作
  4. Diffed 1.0.9 vs 1.0.10-beta.1 source → identical core, ruled out version bug → 源码相同,排除版本问题
  5. Found docs/plugins/hooks.md line ~200 → discovered the requirement → 翻文档找到这条规则
  6. Added config + restart → ✅ confirmed working → 加配置+重启,验证通过

Affected · 影响范围

Any non-bundled plugin subscribing to agent_end, before_agent_finalize, llm_input, or llm_output hooks. Same fix applies.

任何依赖对话 hooks 的外部插件同样受影响,修复方法相同。

Environment · 环境

  • OpenClaw: 2026.4.26 (stable)
  • memos-local: 1.0.9
  • OS: Windows 10 x64
  • Embedding: text-embedding-qwen3-embedding-4b (LM Studio local)

排查到凌晨 1:30,希望能帮你少踩一个坑 🌟 Debugged until 1:30 AM — hope this saves you a headache 🌟

extent analysis

TL;DR

To fix the issue with memos-local-openclaw-plugin not indexing new conversations after upgrading to OpenClaw 4.26, set hooks.allowConversationAccess to true in the plugin configuration.

Guidance

  • Verify that the memos-local-openclaw-plugin is indeed relying on the agent_end and before_prompt_build hooks for auto-capture and auto-recall.
  • Check the OpenClaw documentation (docs/plugins/hooks.md) to understand the new security policy and its implications for non-bundled plugins.
  • Apply the fix by running the command openclaw config set plugins.entries.memos-local-openclaw-plugin.hooks.allowConversationAccess true followed by openclaw gateway restart, or by updating the openclaw.json configuration file.
  • Confirm that the fix is working by checking if new conversations are being indexed correctly.

Example

{
  "plugins": {
    "entries": {
      "memos-local-openclaw-plugin": {
        "hooks": { "allowConversationAccess": true }
      }
    }
  }
}

Notes

This fix applies to any non-bundled plugin subscribing to agent_end, before_agent_finalize, llm_input, or llm_output hooks.

Recommendation

Apply the workaround by setting hooks.allowConversationAccess to true in the plugin configuration, as this is a required change due to the new security policy in OpenClaw 4.26.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix MemOS stopped capturing after 4.26 upgrade - fix: hooks.allowConversationAccess [1 comments, 2 participants]