Normative protocol:
../wal.md. This page is a file map only. Complete-frame blobs,StorageDocgraphs,runtime-machine-graph, and snapshot+diff recovery are non-canonical.
This folder implements RuntimeStore: one commitFrame that syncs a thin
Runtime WAL record, and recover / rotateEpoch over the same typed Patricia
graph that live execution uses.
sync:true (header + input records + outbox refs)set/delete ops and materializes every 100 frameslocalhost:8080 uses the daemon Runtime and this LevelDB store. An in-browser
Runtime is an explicit ephemeral mode until the same RuntimeStore exists on IndexedDB.
index.ts — commitFrame orchestrationtypes.ts — RuntimeFrame and storage recordscodec/ — exact encode/decode; the only LevelDB write pathwal/ — frame hash, outbox CAS payloads, checkpoint headersread/ — recover/hydrate from typed nodescommit/ — batch assembly and safetydatabase/ — epoch handles, lifecycle, LevelDBhistory/ — rebuildable certified-frame indexesqueries/ — inspection APIs over history/WALOverlays and the Patricia engine live in core/protocol/state/, not here.
runtime.tsradapter/ read pathsprotocol/state/persistent-radix-value-map.tsprotocol/state/radix-overlay.ts