Skip to content

πŸ”΄ CRITICAL: aging cleanup_aged missing pinned filter β†’ data lossΒ #974

Closed

Description

@ajianaz

Problem

find_aged (line 79) has AND pinned = 0 but cleanup_aged (line 116-122) does NOT.

This means pinned memories that match age + access_count criteria will be permanently deleted by cleanup_aged.

Fix

Add AND pinned = 0 to cleanup_aged DELETE statement.

Severity: CRITICAL (data loss)

Activity

  1. added
    bug
    scope:core
    on Aug 10, 2026
  2. ajianaz commented on Aug 10, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in #983 (merged to develop)

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

    bugscope:core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions