engram tiered storage M1: on-disk paged store format + round-trip tests

Self-contained paged store (lang/runtime/engram_store.{c,h}): 16KiB slotted pages,
u32 TLV self-describing records (forward-compatible), overflow chains, B+-tree
id-index + from/to adjacency, page free-list, tombstones, double superblock + crc
recovery. Not yet wired to activation (M3). 33/33 tests pass (ASan/UBSan clean);
5k nodes/20k edges round-trip bit-exact incl 768xf32 emb + hebb; store 25MB vs 64MB
JSON. Format is final — see design §2.4.
This commit is contained in:
2026-08-11 22:26:05 -05:00
parent 0a72fced28
commit fa47b98d18
4 changed files with 1671 additions and 0 deletions
File diff suppressed because it is too large Load Diff