pub fn append_open( dir: &Path, text: &str, importance: u8, ) -> Result<u64, String>
Append a new loop. Assigns an id automatically, persists next-id, and returns the assigned id. Status is open by default.