Expand description
Unified persistence coordinator for kernel state.
Provides a single entry point to save and restore all kernel subsystems (CausalGraph, HNSW index, ExoChain) to a data directory. Uses file-based JSON persistence — no external database required.
Structs§
- Persistence
Config - Configuration for the persistence coordinator.
Functions§
- load_
all - Restore all kernel state from the configured data directory.
- load_
causal_ graph - Load a causal graph from the configured data directory.
- load_
hnsw - Load an HNSW service from the configured data directory.
- save_
all - Save all kernel state to the configured data directory.
- save_
causal_ graph - Save the causal graph to the configured data directory.
- save_
hnsw - Save the HNSW service state to the configured data directory.