Skip to content

feat: memory aging with auto-cleanup policy #44

Closed

Description

@ajianaz

Problem

stats shows Hot (7d) / Warm (30d) / Cold (>30d) labels, but these are display-only. There is no:

  • Automatic cleanup of cold memories
  • Configurable aging thresholds
  • Retention policy per tag or namespace
  • Manual age command to trigger aging sweep

Proposed Solution

# Aging policy (in config)
[aging]
hot_days = 7
warm_days = 30
auto_cleanup = false           # true = auto-forget cold memories
preserve_tags = ["important"] # never auto-delete these tags
# Manual aging
uteke age                       # Run aging sweep (moves hot→warm→cold)
uteke age --cleanup             # Run aging + forget cold memories
uteke age --dry-run             # Preview what would change

Priority

P1 — Core Memory

Impact

Without auto-cleanup, memory store grows unbounded. Cold/stale memories waste index space and slow down recall relevance scoring. This is the difference between a "note app" and a "memory engine".

Activity

  1. added a commit that references this issue on May 30, 2026
    5c0406f
  2. added a commit that references this issue on Aug 13, 2026
    5f919d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions