Skip to content

fix: sync memory_update category metadata#701

Open
stanleeyY wants to merge 1 commit intoCortexReach:masterfrom
stanleeyY:fix-memory-update-category-metadata
Open

fix: sync memory_update category metadata#701
stanleeyY wants to merge 1 commit intoCortexReach:masterfrom
stanleeyY:fix-memory-update-category-metadata

Conversation

@stanleeyY
Copy link
Copy Markdown

Summary

  • fetch the existing memory when memory_update changes category without changing text
  • keep metadata.memory_category and temporal fact_key in sync for category-only updates
  • also sync memory_category when text and category are updated together
  • extend metadata refresh regression coverage for category-only and text+category updates

Tests

  • node test/memory-update-metadata-refresh.test.mjs
  • node test/memory-update-supersede.test.mjs
  • node --test test/temporal-awareness.test.mjs
  • npm run test:cli-smoke

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