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
- Context
Provenance Record - PSP-5 Phase 3: Record for context provenance persistence
- Energy
Record - Record for energy history
- Escalation
Report Record - PSP-5 Phase 5: Record for escalation report persistence
- 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
- Provisional
Branch Row - PSP-5 Phase 6: Record for provisional branch persistence
- 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
- 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