Expand description
§orbok-db
The authoritative orbok SQLite catalog (RFC-002): connection management, append-only migrations, and the repository layer.
Design rules implemented here:
- the catalog is authoritative; localcache payloads are elsewhere
(Appendix A §3, separate
orbok-cache.sqlite3); - SQL stays inside repositories — application code sees typed records (RFC-002 §8);
- cleanup is executed only from a validated
orbok_core::CleanupPlan(RFC-001 §14).
Re-exports§
pub use catalog::CACHE_FILE_NAME;pub use catalog::CATALOG_FILE_NAME;pub use catalog::Catalog;
Modules§
- catalog
- Catalog connection management (RFC-002 §5).
- migrations
- Migration runner (RFC-002 §6).
- repo
- Repository layer (RFC-002 §8). Each repository owns the SQL for one table family and exposes application-level types.