Skip to content

refactor: lowered-threshold pass, wave 1 (30 complexity findings) - #740

Merged
w1ne merged 40 commits into
developfrom
refactor/ratchet-15
Sep 20, 2026
Merged

w1ne merged 40 commits into
developfrom
refactor/ratchet-15

Conversation

@w1ne

@w1ne w1ne commented Sep 20, 2026

Copy link
Copy Markdown
Owner

First wave of the lowered-threshold pass (complexity 15 / 100 function lines, #739).

30 complexity findings cleared (all were at exactly 20 except where noted): useFaceSelection arrow, AgentComposer, jointPrimitiveToSnapshot, addRecordKeys, voxelize, checkClearance, reviewCertifiedJointLoads, reviewMechanicalTransmission, checkRequiredSupport, preflightSupportedServoRevolute, materialBlock, urdfSerialize, planDrag, processRecord, spline, parseJpeg, emitSceneBackendFanout, normalizeFdmSettings, recordMate, loftSketchSections, lowerFillet, findEdgeByName, the apiShapeMethods arrow, inspectContinuity, flattenPattern, collectHolePositionDimensions, recentreHoleOnFace, segmentMesh, fitCylinder, resolveTopoRefTool — plus 8 function-length findings that the same splits removed (e.g. AgentComposer, flattenPattern 112→17 lines).

Baseline 261 → 223 findings (155 complexity, 68 function-length); cycles unchanged at 7. Four characterisation tests added where coverage was missing (useFaceSelection, processRecord, recordMate, findEdgeByName).

Verification: typecheck, eslint on all touched files, ratchet suites 13/13, qc:lint, qc:build, plus each group's targeted suites (~450 tests across the 30 modules). CI runs the full suite.

w1ne added 30 commits September 20, 2026 01:18
@w1ne
w1ne merged commit 8b7fd9f into develop Sep 20, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant