Skip to content

Stage 2 / S4 — cut skip over (lay:false) + delete the old per-pattern generators #298

Closed

Description

@CameronBrooks11

Part of the Stage 2 epic #137. Depends on S3.

Goal: Cut skip over as a non-laying reposition (lay:false) and delete the now-dead per-pattern code, leaving a single planning path.

Scope

  • Express skip as a lay:false primitive (repositioning rotation, no fiber laid) through the shared lowering.
  • Delete plan_hoop_layer, plan_helical_layer, plan_skip_layer, and the helical-specific kinematics in planning/calculations.py now subsumed by the developed-surface geometry.
  • Simplify dispatch_layer to construct-primitive → lower (single path).
  • Regenerate skip goldens; verify via the equivalence harness.

Done when

  • All three pattern types share one code path; the old generators are gone.
  • Equivalence harness green for skip; regenerated goldens committed.
  • git grep shows no remaining per-pattern path-generation branches.

Activity

  1. added
    enhancement
    python
    on Jun 29, 2026
  2. CameronBrooks11 commented on Jun 29, 2026

    @CameronBrooks11
    MemberAuthor

    Done in PR #304 (merged). Skip cut over via build_skip_developed_path (non-laying reposition reusing the prologue framing); the three thin wrappers deleted; dispatch_layer now selects the per-type builder and lowers through the single lower_developed_path. Byte-identical (skip fixture + all goldens unchanged), byte-equality retained. Review gate: no blockers.

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

    enhancementpython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions