Expand description
Session Store V2 segmented append log + sidecar index primitives.
This module provides the storage core requested by Phase-2 performance work:
- Segment append writer
- Sidecar offset index rows
- Reader helpers
- Integrity validation (checksum + payload hash)
Structs§
- Checkpoint
- Periodic checkpoint snapshot metadata.
- Index
Summary - Manifest
- Manifest
Counters - Manifest
Files - Manifest
Integrity - Manifest
Invariants - Migration
Event - Migration
Verification - Offset
Index Entry - Segment
Frame - Session
Store V2 - Store
Head - Current head position of the store (last written entry).
Constants§
Functions§
- frame_
to_ session_ entry - Convert a V2
SegmentFramepayload back into aSessionEntry. - has_
v2_ sidecar - Check whether a V2 sidecar store exists for the given JSONL session.
- session_
entry_ to_ frame_ args - Extract the V2 frame arguments from a
SessionEntry. - v2_
sidecar_ path - Derive the V2 sidecar store root from a JSONL session file path.