Skip to main content

Module traits

Module traits 

Source
Expand description

Async storage traits for Arbiter state persistence.

These traits define the contract for storing agents, sessions, and delegation links. Implementations can back these with in-memory storage, SQLite, PostgreSQL, or any other backend.

REQ-007: Storage behind async trait; swappable backends.

Structs§

StoredAgent
A stored agent record.
StoredDelegationLink
A stored delegation link.
StoredSession
A stored task session record.

Enums§

StoredDataSensitivity
Stored data sensitivity level.
StoredSessionStatus
Stored session status.
StoredTrustLevel
Trust level assigned to an agent, determining its permissions. Mirrors arbiter_identity::TrustLevel but lives in the storage layer to avoid circular dependencies.

Traits§

AgentStore
Async storage trait for agent records.
DelegationStore
Async storage trait for delegation links.
SessionStore
Async storage trait for task session records.