Axiom Core: Traits and types for the axiom storage subsystem
This crate defines the core abstractions for a TEE-safe, high-performance storage layer with:
- Canonical store (LMDB): Transactional KV + append-only event log
- Projection store (SQLite): Queryable SQL tables derived from events
- Projector: Consumes events and updates SQL projections
- Backup/restore: Deterministic snapshotting with manifest
Key features:
- Three-phase transactions: Async preflight → Fast sync commit → Async projection
- Stripe locking: Parallel preflight validation for non-conflicting keys
- Pausable ingestion: Safe backups with no partial state
- Deterministic replay: Any projection can be rebuilt from events