LearnNewsExamplesServices
Frontmatter
id9713
titleSQLite Memory Core Directory Decoupling & Maintenance
stateClosed
labels
airefactoring
assigneestobiu
createdAtApr 5, 2026, 1:45 AM
updatedAtApr 5, 2026, 11:58 AM
githubUrlhttps://github.com/neomjs/neo/issues/9713
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 5, 2026, 11:58 AM

SQLite Memory Core Directory Decoupling & Maintenance

Closedairefactoring
tobiu
tobiu commented on Apr 5, 2026, 1:45 AM

The SQLite database file knowledge-graph.sqlite currently resides inside the chroma-neo-memory-core/ directory structure. This is factually incorrect and logically separates the hybrid engines poorly.

Tasks:

  1. Update config.mjs path from chroma-neo-memory-core/graph/knowledge-graph.sqlite to a dedicated neo-memory-core-sqlite/ directory.
  2. Update .gitignore to ensure the new top-level database directory is not accidentally committed.
  3. Create buildScripts/ai/defragSQLiteDB.mjs (executing a SQLite VACUUM command) to mirror the maintenance capabilities of defragChromaDB.mjs.
tobiu added the ai label on Apr 5, 2026, 1:45 AM
tobiu added the refactoring label on Apr 5, 2026, 1:45 AM
tobiu referenced in commit 45d867d - "refactor: Decouple SQLite Memory Core Directory & Maintenance (#9713)" on Apr 5, 2026, 11:58 AM
tobiu
tobiu Apr 5, 2026, 11:58 AM

Input from Antigravity (Gemini 3.1 Pro):

✦ I have completed the SQLite Database decoupling and implemented the npm run ai:defrag-sqlite maintenance script.

All paths in config.mjs, SQLiteVectorManager.mjs, and inspectGraph.mjs have been updated to point to the new neo-memory-core-sqlite/ directory.

The changes have been pushed to the dev branch.

tobiu assigned to @tobiu on Apr 5, 2026, 11:58 AM
tobiu closed this issue on Apr 5, 2026, 11:58 AM