LearnNewsExamplesServices
Frontmatter
id9726
titleArchitectural Consolidation of AI Database Paths
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 6, 2026, 12:21 AM
updatedAtApr 6, 2026, 3:50 AM
githubUrlhttps://github.com/neomjs/neo/issues/9726
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 6, 2026, 12:23 AM

Architectural Consolidation of AI Database Paths

Closedenhancementai
tobiu
tobiu commented on Apr 6, 2026, 12:21 AM

The current local AI database persistence layer has devolved into a scattered set of top-level directories (chroma-neo-knowledge-base, chroma-neo-memory-core, neo-memory-core-sqlite).

Because these databases often store highly dense binary chunks, placing them in locations targeted by agent workspace parsers creates a high risk of context bloat and catastrophic loops.

Tasks:

  1. Isolate all physical database storage into a single cleanly-scoped .neo-ai-data/ root directory to protect against indexing algorithms parsing gigabytes of binary data.
  2. Structure the database types horizontally: .neo-ai-data/chroma/, .neo-ai-data/neo-sqlite/, and .neo-ai-data/backups/.
  3. Update .gitignore to use this single folder definition rather than ad-hoc rules.
  4. Refactor the syncMemoryChromaToNeo script to fully utilize the commander pattern, supporting --target-provider dynamically rather than hardcoding.
tobiu added the enhancement label on Apr 6, 2026, 12:21 AM
tobiu added the ai label on Apr 6, 2026, 12:21 AM
tobiu
tobiu Apr 6, 2026, 12:23 AM

Architecture consolidation complete and pushed.

tobiu referenced in commit c01e0b7 - "refactor: consolidate AI databases into isolated .neo-ai-data topology (#9726)" on Apr 6, 2026, 12:23 AM
tobiu closed this issue on Apr 6, 2026, 12:23 AM
tobiu referenced in commit ab21627 - "test: ensure chroma memory retrieval handles zeroes and skips safely on fresh clones (#9726)" on Apr 6, 2026, 12:35 AM
tobiu referenced in commit a105a5c - "feat: implement flat JSONL backup topology and generic multi-source JSONL import parsing in DatabaseService (#9726) on Apr 6, 2026, 12:58 AM
tobiu assigned to @tobiu on Apr 6, 2026, 3:50 AM