pub struct CoreSessionConfig {
pub dir: Option<String>,
pub name: Option<String>,
pub persist: Option<bool>,
pub retention_days: Option<u32>,
pub export_format: Option<String>,
pub auto_title: Option<bool>,
pub git_metadata: Option<bool>,
pub append_only: Option<bool>,
pub queue_persist: Option<bool>,
}Expand description
[core.session] (obligation 6). P3/P4: entirely NEW — no Config
field represents a session store location/policy today.
Fields§
§dir: Option<String>Default session-store location.
name: Option<String>Session naming/rename (S14).
persist: Option<bool>false = ephemeral (D5 row; cc/cx/pi have it).
retention_days: Option<u32>Retention window in days.
export_format: Option<String>Human transcript export format: text | html (catalog:283).
auto_title: Option<bool>Auto-title/session-summary (catalog:150; D-9 small-model consumer).
git_metadata: Option<bool>Capture git branch/sha on write (catalog:331).
append_only: Option<bool>BP-8 (catalog:150 “Append-only durable transcript”): flush every
message to <name>.journal.jsonl the moment it is produced, instead
of only rewriting <name>.jsonl at the end of a turn.
queue_persist: Option<bool>BP-8 (catalog:154 “Queued-prompt persistence”): record pending
steering / follow-up inputs in the journal so they survive a
restart. Requires append_only (the journal IS the record).
Trait Implementations§
Source§impl Clone for CoreSessionConfig
impl Clone for CoreSessionConfig
Source§fn clone(&self) -> CoreSessionConfig
fn clone(&self) -> CoreSessionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more