Expand description
Project identity resolution for gcode standalone mode.
Resolution order: .gobby/project.json (gobby) > .gobby/gcode.json (standalone) > generate on-the-fly. gcode never writes to project.json — that’s gobby’s file.
Structs§
Functions§
- code_
index_ id_ for_ root - Generate a deterministic code-index ID from the canonical project root path. Uses UUID5 with the same namespace as symbol IDs — key format (bare path) differs from symbol keys so there’s no collision risk.
- ensure_
gcode_ json - Ensure a gcode identity file exists. Non-destructive:
- generate_
project_ id - Backward-compatible name for standalone gcode identity generation.
- has_
identity_ file - Check whether any identity file exists for this project root.
- read_
gcode_ json - Read project ID from
.gobby/gcode.json. - read_
isolation_ marker - Read the isolated-root marker from
.gobby/project.json, if present.