pub fn set_ai(file: &Path, project_id: &str, open: bool) -> Result<(), String>Expand description
Opens a project to AI agents, or closes it, in its file, in place: its other fields and the file’s comments stay. The sharing carries the project’s entry, so the choice holds on every device.