Files
openclaw/extensions/memory-core
wangmiao0668000666andPeter Steinberger ebf07e56e8 fix(memory): apply temporal decay to dated files in memory subdirectories (#121103)
* 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>
2026-08-25 00:36:10 -07:00
..
…
…