Skip to main content

Crate arbiter_storage

Crate arbiter_storage 

Source
Expand description

Storage abstraction layer for Arbiter.

Provides async traits (AgentStore, SessionStore, DelegationStore) with pluggable backends. The default backend is in-memory; the sqlite feature enables a WAL-mode SQLite backend with auto-migration.

REQ-007: Storage behind async trait; swappable backends. Design decision: SQLite chosen, designed for swappable.

Re-exports§

pub use encryption::FieldEncryptor;
pub use error::StorageError;
pub use traits::AgentStore;
pub use traits::DelegationStore;
pub use traits::SessionStore;
pub use traits::StoredAgent;
pub use traits::StoredDataSensitivity;
pub use traits::StoredSession;
pub use traits::StoredSessionStatus;
pub use traits::StoredTrustLevel;

Modules§

encryption
Field-level encryption for sensitive session data stored at rest.
error
Storage error types.
traits
Async storage traits for Arbiter state persistence.