Frontmatter
| id | 9740 |
| title | Feature: Vector Apoptosis (True Algorithmic Forgetting) in Memory Core |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Apr 6, 2026, 8:12 PM |
| updatedAt | Apr 6, 2026, 8:20 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9740 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 6, 2026, 8:20 PM |
Feature: Vector Apoptosis (True Algorithmic Forgetting) in Memory Core
Closedenhancementai

Description
Currently, the
DreamService.runGarbageCollection()pipeline successfully decays topological edges (relationships) to maintain structural integrity. However, the exact underlying vector data (the nodes) inside the SQLite engine remains permanently stored even when isolated.We need to implement "Memory Apoptosis" (cellular cleanup). When a node (such as an old
CONCEPTorEPISODE) decays to the point where it loses all inbound and outbound structural edges (weight 0), therunGarbageCollectionphase should permanently delete the underlying Vector embedding from the.neo-ai-data/neo.db.Objective
GraphServiceorSQLiteVectorManagerwith a hard-delete API (deleteNode).DreamServicegarbage collection to query for orphaned nodes post-edge-decay and delete them.