Expand description
Minimal Export/Import Planner for SQLiteGraph V2
This module implements a deterministic, rule-based planner for choosing between Snapshot and WAL export strategies based on graph and WAL state analysis.
§Architecture
The planner uses a pure decision table with no heuristics:
- Stable graph state + Clean WAL → Snapshot (preferred)
- Active transactions or dirty WAL → WAL export
- Corrupted state → WAL export (with recovery)
- Always deterministic, side-effect free
Structs§
- Export
Planner - Minimal deterministic planner for export strategy selection
- Planner
Decision - Planner decision result with reasoning
- WalAnalysis
- WAL state analysis
Enums§
- Decision
Reason - Reasoning for planner decision