Skip to main content

perspt_store/
lib.rs

1//! perspt-store: DuckDB-based persistence layer for SRBN sessions
2//!
3//! Provides session persistence, node state tracking, and energy history
4//! with Merkle tree support for state verification and rollback.
5
6mod schema;
7mod store;
8
9pub use schema::init_schema;
10pub use store::{
11    ArtifactBundleRow, BranchFlushRow, BranchLineageRow, BudgetEnvelopeRow,
12    ContextProvenanceRecord, CorrectionAttemptRow, EnergyRecord, EscalationReportRecord,
13    FeatureCharterRow, InterfaceSealRow, LlmRequestRecord, NodeStateRecord, PlanRevisionRow,
14    ProvisionalBranchRow, RepairFootprintRow, ReviewOutcomeRow, RewriteRecordRow, SessionRecord,
15    SessionStore, SheafValidationRow, SrbnStepRecord, StructuralDigestRecord, TaskGraphEdgeRow,
16    VerificationResultRow,
17};