Skip to main content

Crate perspt_store

Crate perspt_store 

Source
Expand description

perspt-store: DuckDB-based persistence layer for SRBN sessions

Provides session persistence, node state tracking, and energy history with Merkle tree support for state verification and rollback.

Structs§

ArtifactBundleRow
PSP-5 Phase 8: Record for artifact bundle snapshot persistence
BranchFlushRow
PSP-5 Phase 6: Record for branch flush decision persistence
BranchLineageRow
PSP-5 Phase 6: Record for branch lineage persistence
BudgetEnvelopeRow
Row type for budget_envelopes table
ContextProvenanceRecord
PSP-5 Phase 3: Record for context provenance persistence
CorrectionAttemptRow
PSP-7: Record for a single correction attempt within a convergence loop.
EnergyRecord
Record for energy history
EscalationReportRecord
PSP-5 Phase 5: Record for escalation report persistence
FeatureCharterRow
Row type for feature_charters table
InterfaceSealRow
PSP-5 Phase 6: Record for interface seal persistence
LlmRequestRecord
Record for LLM request/response logging
NodeStateRecord
Record for node state
PlanRevisionRow
Row type for plan_revisions table
ProvisionalBranchRow
PSP-5 Phase 6: Record for provisional branch persistence
RepairFootprintRow
Row type for repair_footprints table
ReviewOutcomeRow
PSP-5 Phase 8: Record for review outcome persistence
RewriteRecordRow
PSP-5 Phase 5: Record for local graph rewrite persistence
SessionRecord
Record for a session
SessionStore
Session store for SRBN persistence
SheafValidationRow
PSP-5 Phase 5: Record for sheaf validation result persistence
SrbnStepRecord
PSP-7: Record for a single orchestration step transition.
StructuralDigestRecord
PSP-5 Phase 3: Record for structural digest persistence
TaskGraphEdgeRow
PSP-5 Phase 8: Record for task graph edges (DAG reconstruction on resume)
VerificationResultRow
PSP-5 Phase 8: Record for verification result snapshot persistence

Functions§

init_schema
Initialize the DuckDB schema for SRBN persistence