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
Stage 2 / S1 — pattern primitive data model + normative alpha convention + hoop naming fix #295
Goal: Introduce the declarative pattern primitive and normalize the wind-angle convention, with zero output change (all goldens stay byte-equal). This is the byte-safe groundwork the later cut-over slices build on.
Scope
Define the declarative pattern primitive data model: alpha (meridian-referenced wind angle), coverage (pattern_number p, skip_index d), turnaround/dwell (lock_degrees, lead-in/out), and lay: bool.
Map HoopLayer / HelicalLayer / SkipLayer schemas onto the primitive via an adapter. The old lowering still runs — the primitive is constructed but not yet lowered.
Make the meridian-referenced alpha convention normative (0° axial, 90° hoop) in docs/spec; hoop = alpha→90, skip = lay:false.
Rename the misnamed hoop wind_angle (fiberpath/planning/layer_strategies.py:62) — it is a delivery-head lean angle (90 − atan(D/w)) driven onto the DELIVERY_HEAD axis, not a fiber angle. Give it a name that says so.
Done when
New primitive type + adapters land with unit tests.
wind_angle no longer names two different things.
All example + layer goldens remain byte-equal (no FIBERPATH_UPDATE_GOLDENS).
Activity
feat(planning): add declarative pattern primitive + fix hoop angle na…