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§
- Artifact
Bundle Row - PSP-5 Phase 8: Record for artifact bundle snapshot persistence
- Branch
Flush Row - PSP-5 Phase 6: Record for branch flush decision persistence
- Branch
Lineage Row - PSP-5 Phase 6: Record for branch lineage persistence
- Budget
Envelope Row - Row type for budget_envelopes table
- Context
Provenance Record - PSP-5 Phase 3: Record for context provenance persistence
- Correction
Attempt Row - PSP-7: Record for a single correction attempt within a convergence loop.
- Energy
Record - Record for energy history
- Escalation
Report Record - PSP-5 Phase 5: Record for escalation report persistence
- Feature
Charter Row - Row type for feature_charters table
- Interface
Seal Row - PSP-5 Phase 6: Record for interface seal persistence
- LlmRequest
Record - Record for LLM request/response logging
- Node
State Record - Record for node state
- Plan
Revision Row - Row type for plan_revisions table
- Provisional
Branch Row - PSP-5 Phase 6: Record for provisional branch persistence
- Repair
Footprint Row - Row type for repair_footprints table
- Review
Outcome Row - PSP-5 Phase 8: Record for review outcome persistence
- Rewrite
Record Row - PSP-5 Phase 5: Record for local graph rewrite persistence
- Session
Record - Record for a session
- Session
Store - Session store for SRBN persistence
- Sheaf
Validation Row - PSP-5 Phase 5: Record for sheaf validation result persistence
- Srbn
Step Record - PSP-7: Record for a single orchestration step transition.
- Structural
Digest Record - PSP-5 Phase 3: Record for structural digest persistence
- Task
Graph Edge Row - PSP-5 Phase 8: Record for task graph edges (DAG reconstruction on resume)
- Verification
Result Row - PSP-5 Phase 8: Record for verification result snapshot persistence
Functions§
- init_
schema - Initialize the DuckDB schema for SRBN persistence