You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- core/types.ts: canonical entity types (Page, Book, Volume, Shelf, Edge,
MetroidNeighbor, MetroidSubgraph) and VectorStore / MetadataStore interfaces
- storage/OPFSVectorStore.ts: append-only OPFS binary vector file with
serialised write queue and byte-offset semantics
- storage/MemoryVectorStore.ts: in-memory VectorStore (identical semantics,
used in tests and as a safe fallback)
- storage/IndexedDbMetadataStore.ts: full MetadataStore backed by IndexedDB –
CRUD for all entities, reverse-index maintenance (page→book, book→volume,
volume→shelf), Metroid NN neighbour index with bounded BFS subgraph
expansion, and dirty-volume recalc flags
- tests/Persistence.test.ts: 34 round-trip tests covering VectorStore
contract via MemoryVectorStore, OPFSVectorStore with stubbed OPFS, and
IndexedDbMetadataStore via fake-indexeddb
- tsconfig.json: extend include to cover core/** and storage/**
- package.json: add fake-indexeddb devDependency
- CORTEX-DESIGN-PLAN-TODO.md: mark completed P1 items
0 commit comments