You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open-format C — Motion IR as a secondary versioned format (irVersion) #316
Open-format slice C — Motion IR as a secondary, versioned format. Document the Motion IR as a secondary format (the .wind SPEC is the flagship; emitted G-code is a build artifact) with its own version and explicitly weaker stability guarantees.
Scope
docs/reference/motion-ir.md: document the IR surface (Move / MoveKind RAPID·SET_FEED·SET_POSITION·COMMENT / Program / ProgramMeta, the XAB axis mapping, post-segmentation "one Move == one G0 line" semantics, and that nominal_metrics/read_program are the single math/parse sources). State that the IR is a secondary format and may change with engine internals (weaker guarantees than .wind).
Add an irVersion constant; surface it on ProgramMeta and in the serialized header (alongside the ; Parameters line). Document its (looser) versioning policy.
Gate
read_program/serialize round-trip still holds (add irVersion to the parser if it round-trips the header). Full pytest + ruff + mypy clean; goldens: if the header gains an irVersion line, that changes cylinder golden bytes — regenerate deliberately (or emit it as a comment that the goldens already tolerate). Decide byte-impact up front. Adversarial review.
Out of scope
SPEC (A), corpus (B), hosting (D). No change to motion math.
Activity
docs(ir): document Motion IR as a secondary versioned format + irVers…