[Phase 6.4.1] Document Library Core Schema #92

Closed
opened 2026-04-07 04:19:44 +00:00 by Mark · 0 comments
Owner

Parent: Global Document Library

Overview

Create the core database schema and DocumentIndex class for the global document library system.

Details

Add to substrate/ledger.py:

  • document_index table - Main index with doc_id, doc_type, content, chunks, embeddings
  • document_sources table - Track configured sources (directories, artifact store, templates)

Create substrate/document_index.py:

  • DocumentIndex class with index_document(), search(), get_document()
  • Basic CRUD operations
  • Integration with existing ledger

Acceptance Criteria

  • Database tables created
  • DocumentIndex class implemented
  • Basic indexing works
  • Tests pass
## Parent: Global Document Library ## Overview Create the core database schema and DocumentIndex class for the global document library system. ## Details Add to `substrate/ledger.py`: - `document_index` table - Main index with doc_id, doc_type, content, chunks, embeddings - `document_sources` table - Track configured sources (directories, artifact store, templates) Create `substrate/document_index.py`: - DocumentIndex class with index_document(), search(), get_document() - Basic CRUD operations - Integration with existing ledger ## Acceptance Criteria - [ ] Database tables created - [ ] DocumentIndex class implemented - [ ] Basic indexing works - [ ] Tests pass
Mark 2026-05-27 19:59:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/mesh-seed#92
No description provided.