Expand description
Task session management for Arbiter.
Provides task sessions with call budgets, tool whitelisting, time limits, and TTL-based cleanup. Sessions track what an agent is authorized to do and enforce those bounds per-request.
The StorageBackedSessionStore provides persistent sessions through
an in-memory write-through cache backed by any SessionStore storage
implementation (REQ-001, REQ-007).
Behavioral anomaly detection lives in the arbiter-behavior crate,
which provides tiered intent classification (read/write/admin).
Re-exports§
pub use any_store::AnySessionStore;pub use error::SessionError;pub use middleware::parse_session_header;pub use middleware::status_code_for_error;pub use model::DataSensitivity;pub use model::SessionId;pub use model::SessionStatus;pub use model::TaskSession;pub use storage_store::StorageBackedSessionStore;pub use store::CreateSessionRequest;pub use store::SessionStore;
Modules§
- any_
store - Unified session store enum dispatching to either in-memory or storage-backed.
- error
- middleware
- Session middleware utilities for proxy integration.
- model
- storage_
store - Storage-backed session store with in-memory write-through cache.
- store
- In-memory session store with TTL-based cleanup.