pub fn clear_messages_jsonl(session_dir: &Path) -> Result<()>Expand description
Delete the messages.jsonl file if it exists.
Called after a context-rotation window is archived — the archived window
already contains the messages, so keeping messages.jsonl would be
redundant and could cause double-injection on resume.