# kcode-k1-chat-persistence-store
Caller-rooted, per-session newline-JSON filesystem projection for K1 chat persistence. The concrete `kcode-k1-chat-persistence-records` leaf owns the pure records, codec, recovery validation, and exact-predecessor reconciliation; Store publicly reexports its incumbent record API.
Store preserves codec version 1 and the existing batch and JSONL formats. It owns only its `sessions` directory and provides strict loading, append, exact-predecessor truncation, file synchronization, and discard behavior.