oxidized-state 0.3.1

SurrealDB backend for AIVCS state persistence (Layer 0)
Documentation

Oxidized-State: SurrealDB Backend for AIVCS

This crate provides the persistence layer for the Agent Version Control System. It handles all I/O with SurrealDB, providing a clean persistence layer for graph states, runs, and memory.

Layer 0 - Data/Persistence

Focus: Data integrity, transactionality, and graph traversal.

Key Components

  • SurrealHandle: Manages connection and transactions
  • SnapshotRecord: Schema mapping to the Document Layer (State + Memory)
  • GraphEdge: Schema mapping to the Graph Layer (Commit -> Parent)
  • RunRecord, RunEventRecord: Schema for execution run ledger
  • ReleaseRecordSchema: Schema for release management
  • init_schema: Initialize all tables with constraints and indexes