Skip to content

fix: add entity context for memory extraction and skip cron, exec providers#18

Merged
Dhravya merged 1 commit intomainfrom
v2-improvements
Feb 18, 2026
Merged

fix: add entity context for memory extraction and skip cron, exec providers#18
Dhravya merged 1 commit intomainfrom
v2-improvements

Conversation

@Prasanna721
Copy link
Member

@Prasanna721 Prasanna721 commented Feb 18, 2026

Improvements for openclaw-supermemory v2

  • memory.ts — Added ENTITY_CONTEXT that tells Supermemory to only create memories from user messages, treat agent responses as context, and ignore noise
    like greetings/status updates
  • client.ts — Added entityContext parameter to addMemory() so it gets passed through to the Supermemory API
  • hooks/capture.ts — Skip capturing heartbeat, cron-event, and exec-event agent turns. Pass ENTITY_CONTEXT on every capture. Added logging to track what
    gets captured vs skipped
  • hooks/recall.ts — Tightened the memory injection prompt so the agent uses recalled memories silently and only surfaces them when the conversation
    naturally calls for it

…viders

Improvements for openclaw-supermemory v2

- memory.ts — Added ENTITY_CONTEXT that tells Supermemory to only create memories from user messages, treat agent responses as context, and ignore noise
  like greetings/status updates
  - client.ts — Added entityContext parameter to addMemory() so it gets passed through to the Supermemory API
  - hooks/capture.ts — Skip capturing heartbeat, cron-event, and exec-event agent turns. Pass ENTITY_CONTEXT on every capture. Added logging to track what
  gets captured vs skipped
  - hooks/recall.ts — Tightened the memory injection prompt so the agent uses recalled memories silently and only surfaces them when the conversation
  naturally calls for it
@Prasanna721 Prasanna721 self-assigned this Feb 18, 2026
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Prasanna721 Prasanna721 requested a review from Dhravya February 18, 2026 02:00
@Prasanna721 Prasanna721 marked this pull request as ready for review February 18, 2026 02:00
@Dhravya Dhravya merged commit 5f69a7d into main Feb 18, 2026
3 checks passed
Copy link
Member

Dhravya commented Feb 18, 2026

Merge activity

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.

2 participants