Skip to content

fix(memos-local-plugin): preserve OpenClaw memory context#1686

Merged
hijzy merged 1 commit into
MemTensor:mem-agent-0509from
hijzy:cursor/openclaw-memory-prompt-cleanup
May 12, 2026
Merged

fix(memos-local-plugin): preserve OpenClaw memory context#1686
hijzy merged 1 commit into
MemTensor:mem-agent-0509from
hijzy:cursor/openclaw-memory-prompt-cleanup

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented May 12, 2026

Summary

  • Preserve OpenClaw tool-call observations when agent_end transcripts omit tool blocks, so memory capture still records tool activity.
  • Enable OpenClaw conversation access during install so turns can be captured after recall.
  • Remove retrieval scores such as best V and goal-sim from 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
  • IDE diagnostics: no linter errors in touched TypeScript test/source files.

Keep OpenClaw tool observations available for memory capture and strip retrieval metrics from episode prompt injection so recalled context remains answer-focused.
@hijzy hijzy merged commit e68577e into MemTensor:mem-agent-0509 May 12, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant