Skip to main content

Module project

Module project 

Source
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§

IsolationMarker

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.