Expand description
SessionStore: the acp_sessions metadata index.
Promotes the existing acp_sessions table (migration 013, crates/zeph-memory) to a
channel-agnostic conversation-session index (spec-068 §2 Decision D1 — no new sessions
table is introduced). zeph-session talks to the table directly via zeph_db::DbPool
rather than depending on zeph-memory, keeping the crate boundary intact.
The event log (crate::log::SessionEventLog) is the source of truth for conversation
content; this store only tracks lightweight, queryable metadata (last_seq, status,
fork provenance) used to reconcile the projection on open (INV-SP-3) and to answer
sessions list without replaying every log.
Structs§
- Session
Filter - Filter parameters for
SessionStore::list. - Session
Metadata - A conversation-session’s metadata row, as tracked in
acp_sessions. - Session
Store - CRUD access to the
acp_sessionsmetadata index.
Enums§
- Session
Status - Lifecycle status of a conversation-session, mirroring the
acp_sessions.statusCHECK constraint added in migration 106.