Frontmatter
| id | 9912 |
| title | bug(ai): Prevent Vector Apoptosis from eradicating structural entities |
| state | Closed |
| labels | bugaicore |
| assignees | tobiu |
| createdAt | Apr 12, 2026, 1:37 PM |
| updatedAt | Apr 12, 2026, 9:25 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9912 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [x] 9914 Epic: Native Edge Graph Auditing and Deduplication Pipeline |
| closedAt | Apr 12, 2026, 9:20 PM |
bug(ai): Prevent Vector Apoptosis from eradicating structural entities
tobiu marked this issue as blocking #9914 on Apr 12, 2026, 1:40 PM
tobiu cross-referenced by PR #9941 on Apr 12, 2026, 9:20 PM
tobiu closed this issue on Apr 12, 2026, 9:20 PM
tobiu changed title from bug(ai): Debug sqlite-vec metadata schema to restore DreamService Hash Bypass to bug(ai): Prevent Vector Apoptosis from eradicating structural entities on Apr 12, 2026, 9:24 PM
tobiu assigned to @tobiu on Apr 12, 2026, 9:25 PM
Context
runSandman.mjsis unnecessarily re-embedding every OPEN issue and discussion during the REM extraction pipeline. We originally suspectedsqlite-vecmetadata formatting, but the root cause is thatGraphService.getOrphanedNodes()considers any node without edges to be "orphaned" and permanently deletes it via Vector Apoptosis.Objective
Update
GraphService.getOrphanedNodes()to explicitly protect structural entities likeISSUE,DISCUSSION, andPULL_REQUESTfrom apoptosis, so they remain in the Native Edge Graph and ChromaDB, successfully passing the hash equality bypass on subsequent runs.