@@ -23,9 +23,9 @@ This document tracks the implementation status of each major module in CORTEX. I
2323| Core Types | ✅ Complete | ` core/types.ts ` | All entity interfaces defined (Page, Book, Volume, Shelf, Edge, MetroidNeighbor, storage interfaces) |
2424| Model Profiles | ✅ Complete | ` core/ModelProfile.ts ` , ` core/ModelDefaults.ts ` , ` core/ModelProfileResolver.ts ` , ` core/BuiltInModelProfiles.ts ` | Source-of-truth for model-derived numerics; guard script enforces compliance |
2525| Numeric Constants | ✅ Complete | ` core/NumericConstants.ts ` | Runtime constants (byte sizes, workgroup limits) centralized |
26- | Crypto Helpers | ❌ Missing | ` core/crypto/* ` (planned) | Hash, sign, verify utilities not yet implemented |
26+ | Crypto Helpers | ✅ Complete | ` core/crypto/hash.ts ` , ` core/crypto/ sign.ts ` , ` core/crypto/ verify.ts ` | SHA-256 hashing; Ed25519 sign/verify; 26 tests passing |
2727
28- ** Foundation Status:** 3 /4 complete (75 %)
28+ ** Foundation Status:** 4 /4 complete (100 %)
2929
3030---
3131
@@ -148,7 +148,7 @@ This document tracks the implementation status of each major module in CORTEX. I
148148
149149| Module | Status | Files | Notes |
150150| --------| --------| -------| -------|
151- | Unit Tests | ✅ Complete | ` tests/*.test.ts ` , ` tests/**/*.test.ts ` | 89 tests across 10 files; all passing |
151+ | Unit Tests | ✅ Complete | ` tests/*.test.ts ` , ` tests/**/*.test.ts ` | 115 tests across 13 files; all passing |
152152| Persistence Tests | ✅ Complete | ` tests/Persistence.test.ts ` | Full storage layer coverage (OPFS, IndexedDB, Metroid neighbors) |
153153| Model Tests | ✅ Complete | ` tests/model/*.test.ts ` | Profile resolution, defaults, routing policy |
154154| Embedding Tests | ✅ Complete | ` tests/embeddings/*.test.ts ` | Provider resolver, runner, real/dummy backends |
@@ -180,7 +180,7 @@ This document tracks the implementation status of each major module in CORTEX. I
180180
181181| Layer | Completion | Critical Gap |
182182| -------| -----------| --------------|
183- | Foundation | 75 % | Crypto helpers |
183+ | Foundation | 100 % | — |
184184| Storage | 100% | — |
185185| Vector Compute | 100% | — |
186186| Embedding | 83% | WebGL provider (low priority) |
@@ -203,14 +203,14 @@ This document tracks the implementation status of each major module in CORTEX. I
203203- ✅ Generate real embeddings via Transformers.js
204204- ✅ Resolve model profiles and derive routing policies
205205- ✅ Run browser/Electron runtime harness
206- - ✅ Pass 89 unit tests
206+ - ✅ Pass 115 unit tests
207+ - ✅ Hash text/binary content (SHA-256) and sign/verify Ed25519 signatures
207208
208209## What Doesn't Work Today
209210
210211- ❌ ** Cannot ingest text** — No chunking or hierarchy builder
211212- ❌ ** Cannot query memories** — No ranking pipeline or TSP solver
212213- ❌ ** Cannot consolidate** — No Daydreamer loop
213- - ❌ ** Cannot sign/verify** — No crypto helpers
214214
215215---
216216
@@ -220,10 +220,10 @@ This document tracks the implementation status of each major module in CORTEX. I
220220
221221** Goal:** Enable ingest and retrieval for a single user session.
222222
223- 1 . ** Crypto Helpers** (` core/crypto/* ` )
224- - Implement SHA-256 hashing
225- - Implement Ed25519 signing/verification
226- - Test coverage
223+ 1 . ** Crypto Helpers** (` core/crypto/* ` ) ✅ ** Complete **
224+ - SHA-256 hashing for text and binary
225+ - Ed25519 signing/verification
226+ - 26 tests passing
227227
2282282 . ** Text Chunking** (` hippocampus/Chunker.ts ` )
229229 - Token-aware splitting respecting ModelProfile limits
@@ -336,10 +336,6 @@ This document tracks the implementation status of each major module in CORTEX. I
336336** Impact:** Cannot retrieve memories.
337337** Mitigation:** Phase 1 priority; flat ranking acceptable for v0.1.
338338
339- ### Blocker 3: No Crypto Helpers
340- ** Impact:** Cannot sign/verify pages (integrity risk).
341- ** Mitigation:** Phase 1 priority; required for trustworthy storage.
342-
343339### Risk 1: TSP Complexity
344340Open TSP is NP-hard; heuristic may be slow on large subgraphs.
345341** Mitigation:** Bound subgraph size (<30 nodes); defer to Phase 2; use deterministic greedy heuristic.
0 commit comments