fix(memos-local-plugin): preserve OpenClaw memory context#1686
Merged
hijzy merged 1 commit intoMay 12, 2026
Merged
Conversation
Keep OpenClaw tool observations available for memory capture and strip retrieval metrics from episode prompt injection so recalled context remains answer-focused.
2 tasks
syzsunshine219
added a commit
that referenced
this pull request
May 12, 2026
## Summary Merge `mem-agent-0509` line of work into the new integration branch `mem-agent-0512`. This is part of the 0512 integration: the 0512 branch is freshly cut from `main`, and we are landing the 0509 + 0509-magent work plus the latest bug fix on top of it so we can release `2.0.0-beta.13`. ## What's included from mem-agent-0509 Notable items beyond `main`: - feat: enhance memos-local-plugin Windows installation experience (#1684) - fix(memos-local-plugin): infer embedding dimensions for rebuilds (#1682) - fix(memos-local-plugin): improve Windows bridge launch (#1706) - fix(memos-local-plugin): close v2 ARMS telemetry coverage gaps (#1690) - fix(memos-local-plugin): preserve OpenClaw memory context (#1686) - fix: ghost overview memory (#1707) - fix: fix namespace (#1709) - fix: The reward score is always negative. (#1710) ## Test plan - [ ] CI green on the merge commit - [ ] Downstream regression suite (after PRs #2/#3 land and the 2.0.0-beta.13 deploy) Made with [Cursor](https://cursor.com)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent_endtranscripts omit tool blocks, so memory capture still records tool activity.best Vandgoal-simfrom episode prompt injection.Test plan
npm test -- tests/unit/adapters/openclaw-bridge.test.ts tests/unit/install/install-sh.test.ts tests/unit/retrieval/tier2.test.ts tests/unit/retrieval/injector.test.ts