Expand description
Embedded edition storage adapters (ADR-009).
One EmbeddedKernelStore opens one data directory
(ADR-012 layout:
FORMAT_VERSION + store/kernel.redb) and implements every persistence
port the kernel needs: graph reads (materialized adjacency per
ADR-010),
node details, the append-only context event log, projection runtime state,
and snapshots. Commits are fsync-durable (redb immediate durability), so
the crash contract is: no data loss beyond the in-flight event, no
duplicate application on replay.
The observable semantics are pinned by kmp-conformance: the same
suite that certifies the in-memory kernel store and the Neo4j/Valkey
adapters runs against this store.
Structs§
- Bundle
Header - First line of a bundle file: integrity metadata for fail-fast import.
- Embedded
Kernel Store - Every kernel persistence port on one local redb file.
- Import
Report - Outcome of an import: events replayed and projections rebuilt.
- Projection
Rebuild Report - Outcome of a projection rebuild from the append-only event log.
- Quality
Telemetry Retention - Bounded-journal policy for local quality observations.
- Redb
Quality Telemetry Reader - Read-only query adapter for the local quality journal.
- Redb
Quality Telemetry Writer - Relaxed-durability writer for
telemetry/quality.redb. - Store
Migration Receipt - What a migration did, kept in the store it produced.
Constants§
- BUNDLE_
FORMAT_ VERSION - SUPPORTED_
FORMAT_ VERSION - Store format version this binary reads and writes.