pub fn ensure_gcode_json(project_root: &Path) -> Result<(String, bool)>Expand description
Ensure a gcode identity file exists. Non-destructive:
- If
project.jsonexists, reads its ID (gobby owns this project) - If
gcode.jsonexists, reads its ID - If neither exists, creates
gcode.json
Returns (project_id, was_created).