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
Stage 3a slice — cone model validation + coverage correctness. Internal-Cone only, no schema change (S3b #311 exposes it via .wind + the golden). Hardens the cone model so the S3b golden rests on validated, coverage-correct output.
Turnaround decision (resolved)
The backward turnaround dwell flagged in the S2 review is not a cone defect — it's the existing turnaround/lock alignment mechanism, which already goes negative on high-wrap cylinder layers in the hardware-validated goldens (e.g. 50×200 mm @ 55° → −145° dwell). Decision: cones match the cylinder turnaround/lock formula exactly (minimal rotation, consistent with validated behavior). The strict-monotonicity requirement is dropped. No turnaround rework; just correct the in-code comment to mark it intended.
Scope
Correct the cone dwell comment in developed.py (intended behavior matching the cylinder; not a TODO).
Cone layer validation (validate_cone_helical_layer or fold into validate_layer): raise LayerValidationError (consistent with the framework, not raw ValueError) for — expanding cone (r1 > r0), unreachable angle (C > r1), and num_circuits % patternNumber != 0 (the builder silently under-tiles otherwise). Reuse the shared helical coverage slot conditions (gcd coprimality, lockDegrees divisibility) — they are pattern-stepping math in mandrel degrees, surface-independent, so they apply to cones unchanged. Tested directly; wired into the planner in S3b.
Harness: strengthen cone coverage to assert pattern distribution at the large end (coprimality + count divisibility + evenly-spaced circuit starts), not just the tiling count.
Gate
New cone validation + coverage-distribution tests pass; existing cone geometry (Clairaut) tests still pass.
Cylinder goldens byte-identical. Full pytest + ruff + mypy clean; adversarial review: no blockers.
Carried from S2 (#307) review — must be handled in S3 before cones go live:
Cone turnaround / lock semantics. The cylinder's turnaround-dwell formula (lock − lead_out − (pass_rotation % 360)) with the cone's large theta_full can go negative, producing a ~30° backward mandrel spin at every turnaround (tow-slack risk). S2's laying geometry is validated and unaffected, but the lock/dwell + pattern-stepping needs revisiting for cones.
Harness: assert mandrel monotonicity across the program, and validate pattern distribution coverage on the cone (S2 only checks large-end tiling count, not that circuits distribute correctly).
Activity
CameronBrooks11 commentedon Jun 29, 2026
Carried from S2 (#307) review — must be handled in S3 before cones go live:
lock − lead_out − (pass_rotation % 360)) with the cone's largetheta_fullcan go negative, producing a ~30° backward mandrel spin at every turnaround (tow-slack risk). S2's laying geometry is validated and unaffected, but the lock/dwell + pattern-stepping needs revisiting for cones.C ≤ r1),num_circuits % patternNumber == 0, numeric bounds.r1 > r0) and hoop-on-cone (a 90° hoop isn't a geodesic) — both rejected/deferred in S2.[-]Stage 3a S3 — .wind cone surface (schemaVersion 1.1) + HPR reducer-frustum golden[/-][+]Stage 3a S3a — cone turnaround/lock + coverage correctness (mandrel-monotonic)[/+][-]Stage 3a S3a — cone turnaround/lock + coverage correctness (mandrel-monotonic)[/-][+]Stage 3a S3a — cone validation + coverage correctness (turnaround matches cylinder)[/+]feat(planning): cone helical layer validation + coverage checks (#312)