pub fn append(path: impl AsRef<Path>, prompt: &str) -> Result<()>Expand description
Append one prompt in the Python-compatible object format.
Empty prompts are deliberately no-ops. The write is intentionally not fsynced on the input/render path; session event persistence owns explicit durability checkpoints and prompt history is recoverable convenience state.