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
ContextProvenanceRecord
PSP-5 Phase 3: Record for context provenance persistence
EnergyRecord
Record for energy history
EscalationReportRecord
PSP-5 Phase 5: Record for escalation report persistence
InterfaceSealRow
PSP-5 Phase 6: Record for interface seal persistence
LlmRequestRecord
Record for LLM request/response logging
NodeStateRecord
Record for node state
ProvisionalBranchRow
PSP-5 Phase 6: Record for provisional branch persistence
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
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