Expand description
EML model persistence — save/load all 12+ EML models to .weftos/eml-models/.
Provides save_all and load_all functions used during kernel
shutdown and boot respectively. Models are stored as JSON files for
portability and debuggability.
§Model Inventory
| File | Source Crate | Model |
|---|---|---|
coherence.json | clawft-kernel | EmlCoherenceModel |
governance_scorer.json | clawft-kernel | GovernanceScorerModel |
restart_strategy.json | clawft-kernel | RestartStrategyModel |
health_threshold.json | clawft-kernel | HealthThresholdModel |
dead_letter.json | clawft-kernel | DeadLetterModel |
gossip_timing.json | clawft-kernel | GossipTimingModel |
complexity.json | clawft-kernel | ComplexityModel |
hnsw_distance.json | clawft-kernel | HnswEmlManager (distance) |
hnsw_ef.json | clawft-kernel | HnswEmlManager (ef) |
hnsw_path.json | clawft-kernel | HnswEmlManager (path) |
hnsw_rebuild.json | clawft-kernel | HnswEmlManager (rebuild) |
Structs§
- Kernel
EmlModels - Bundle of all kernel-level EML models for save/load.
Functions§
- eml_
models_ dir - Default persistence directory:
.weftos/eml-models/ - load_
all - Load all kernel EML models from
dir. - save_
all - Save all kernel EML models to
dir.