pub fn write_session_artifact_immutable( session_id: &str, artifact_id: &str, content: &[u8], ) -> Result<(PathBuf, PathBuf)>