mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 05:44:56 +00:00
Compact promoted short-term memory snippets before writing them into MEMORY.md, while keeping the full rehydrated snippet in recall state for ranking/provenance. Adds the deep-dreaming config surface and docs, with the default promoted snippet cap set to 160 estimated tokens. Verification: - git diff --check - fnm exec --using v24.13.0 node scripts/run-vitest.mjs run extensions/memory-core/src/short-term-promotion.test.ts extensions/memory-core/src/dreaming.test.ts src/memory-host-sdk/dreaming.test.ts - GitHub CI run 26605272497 - CodeQL security run 26605272404 Co-authored-by: AMARA <amara@eyeinthesky.pl>