LearnNewsExamplesServices
Frontmatter
id9740
titleFeature: Vector Apoptosis (True Algorithmic Forgetting) in Memory Core
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 6, 2026, 8:12 PM
updatedAtApr 6, 2026, 8:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/9740
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 6, 2026, 8:20 PM

Feature: Vector Apoptosis (True Algorithmic Forgetting) in Memory Core

Closedenhancementai
tobiu
tobiu commented on Apr 6, 2026, 8:12 PM

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 CONCEPT or EPISODE) decays to the point where it loses all inbound and outbound structural edges (weight 0), the runGarbageCollection phase should permanently delete the underlying Vector embedding from the .neo-ai-data/neo.db.

Objective

  • Expand GraphService or SQLiteVectorManager with a hard-delete API (deleteNode).
  • Enhance DreamService garbage collection to query for orphaned nodes post-edge-decay and delete them.
  • Ensure orphaned nodes are completely wiped from both structural tables and vector embeddings to keep semantic search extremely fast and hallucination-free.
tobiu added the enhancement label on Apr 6, 2026, 8:12 PM
tobiu added the ai label on Apr 6, 2026, 8:12 PM
tobiu referenced in commit 80d82c9 - "feat(ai): Implement automated Vector Apoptosis for Graph Garbage Collection (#9740)" on Apr 6, 2026, 8:20 PM
tobiu referenced in commit 73df78c - "docs(ai): Add sandman_handoff.md to the AI Agent boot sequence (#9740)" on Apr 6, 2026, 8:20 PM
tobiu
tobiu Apr 6, 2026, 8:20 PM

Vector Apoptosis has been implemented. Orphan nodes are now automatically hard-deleted during the REM Garbage Collection phase. Changes merged to dev.

tobiu assigned to @tobiu on Apr 6, 2026, 8:20 PM
tobiu closed this issue on Apr 6, 2026, 8:20 PM