Skip to content

build(planning): freeze byte-exact G-code goldens before the Motion IR refactor #270

Closed

Description

@CameronBrooks11

Prework for the Stage 1 Motion IR epic (#136). Must land before any refactor.

Why

The acceptance for the epic is byte-equal G-code vs committed goldens, but the committed examples/rocketry/*.gcode are stale — none reproduces from its .wind under the current planner:

  • CarbonMotorTube / MainChute have a mandrel A-axis sign flip (golden A-540… vs live A540…).
  • AvBay(470mm)triple.wind was edited (diameter 151.5 / width 5.7) after its .gcode was cut.
  • AvBay(470mm)single.wind has no committed .gcode at all.

There is currently zero trustworthy program-level byte baseline, so we must freeze one first.

Scope

  • Run the current planner over every chosen .wind and overwrite/commit its .gcode: all 4 examples/rocketry/ + examples/{simple_cylinder,sized_simple_cylinder,multi_layer}.
  • Add the missing AvBay(470mm)single.gcode.
  • Pin goldens to verbose=False (decide explicitly whether a verbose golden is also wanted).
  • Conscious confirmation that the live A540 (positive) mandrel direction is the physically-correct one before committing — this is a deliberate sign decision, not a blind freeze.

Acceptance

  • Every chosen .wind reproduces its committed .gcode byte-for-byte under today's planner.
  • The A-axis sign decision is recorded in the PR description.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    python

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions