pub fn append_plan( plans_dir: &Path, session_key: &str, plan_json: &Value, ) -> Result<()>
Append a plan entry to the jsonl file.