mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 11:33:46 +01:00
* fix(memory): apply temporal decay to dated files in memory subdirectories DATED_MEMORY_PATH_RE only matched memory/YYYY-MM-DD.md at the root, so dated files in subdirectories (e.g. dreaming phase reports at memory/dreaming/light/2026-05-14.md) were classified as evergreen and kept full ranking weight forever even with temporalDecay enabled. Accept a date-only Markdown basename at any depth below memory/, matching the nested-path shape short-term promotion already recognizes. MEMORY.md, USER.md, and undated files remain evergreen; non-memory sources keep the mtime fallback. Fixes #121046 * refactor(memory): trim issue-specific commentary from dated-path matcher * fix(memory): decay nested and slugged dated memory files Co-authored-by: wangmiao0668000666 <wang.miao86@xydigit.com> --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>