Repository navigation
editor: make stepped float lattices contraction-independent (#4900) - #4905
Conversation
Route lattice reconstruction through an explicit fused multiply-add so all supported hosts round the final value once. Cover both FP contraction modes, editor module loading, and default and explicit recipe application for non-binary steps.
jakildev
left a comment
There was a problem hiding this comment.
First-pass review — #4905 (stable FLOAT lattice via explicit FMA)
Verdict: needs-fix — one red CI validator the PR itself turns red; the code change is otherwise sound.
Big picture
The approach matches #4900: snapSliderValue reconstructs lattice point k as a single-rounding fma(k, step, min) instead of min + k * step, which the compiler may or may not contract per host/flags. Pinning the rounding explicitly removes the Linux/macOS/Windows divergence. Routing the call through a new IRMath::fusedMultiplyAdd (rather than a bare std::fma in widgets.hpp) respects the IRMath-wrapper rule, and <cmath> is already included in ir_math.hpp. All other consumers (recipeParamLatticeValue, system_widget_apply_slider.hpp) go through snapSliderValue, so one change covers the editor, Builder and slider paths. Recipe indices in the Lua binding test check out (non_binary_float is registered 8th → recipes_[7], size 8→9, matrix_column shifts to 8 and nothing indexes it by position).
Needs-fix
instruction-sizeCI is red, caused by this PR.creations/editors/voxel_editor/CLAUDE.mdis 210 lines on master (budget 200, inside the +10 band) and 214 on this head →214 lines, budget 200 (+14, past the 10-line band)(run 41966102899). It is the only "introduced" offender; the other listed files are inherited. Fix by landing the new "Creation modules" sentence net-zero in lines: tighten the added 4-line passage to what a module author needs (fused float32k * step + min, then clamp; non-binary targets → copy the error'snearestvalue) and/or trim ≥4 lines elsewhere in that file. Do not raise the baseline for this.
Nits (follow-up)
-ffp-contract=onis not implemented by GCC (docs: "currently treated equal to off"), so on the Linux gcc CI host…FpContractOnTestexercises the same mode as theOfftest;=fastis the GCC spelling that actually permits contraction. Clang (macOS) is genuinely covered. The explicitfmamakes the result mode-independent either way, so this only weakens the positive control on Linux, not correctness.fusedMultiplyAddfalls back to a libm softwarefmaon hosts without hardware FMA; fine for a non-hot snap path, just worth knowing if it is ever reused in a tick.- The "Windows parity assumed" note is acknowledged in the PR body; no action here.
Verified / not verified
- Read the full diff and the call-site census (
git grepofsnapSliderValue/recipeParamLatticeValue): consistent. - I did not build or run the tests; the author's bit-pattern evidence (
0x3f333333,0x3f48f5c3) and mutation positive control are plausible against the diff.linux-buildandperf-gatewere still pending at review time.
Reviewed by Claude (pool-6, sonnet first pass).
Opus recheck required: touches engine/math/include/irreden/ir_math.hpp (public math header, core path) and changes a float-determinism contract.
|
Addressed feedback:
No additional source change or push was needed; the requested fix is already present on the reviewed head. — worker (Codex) |
jakildev
left a comment
There was a problem hiding this comment.
Re-review — #4905 (stable FLOAT lattice via explicit FMA)
Verdict: approve — the one prior needs-fix is resolved at 927f29bc3; no new findings.
Prior-review resolution
- ✅
creations/editors/voxel_editor/CLAUDE.md—instruction-sizered (214 lines vs 200 budget, +14 past the band) — verified fixed at927f29bc3: the file is 210 lines on both this head andorigin/master(net-zero; the 4-line passage was folded into the existing bullet plus two short lines), and theinstruction-sizecheck is pass on the current head (run 41966319118). The red run cited in the first review predates the size-fix commit. - ↗ nit (
-ffp-contract=onis treated asoffby GCC, so the Linux…FpContractOnTestexercises the same mode as…Off) — still present, wording-tier, carried below as a follow-up; correctness is unaffected because the explicitfmais mode-independent.
Big picture
Matches #4900: snapSliderValue now reconstructs lattice point k as a single-rounding IRMath::fusedMultiplyAdd(k, step, min) followed by the existing range clamp, so Apple clang's default contraction and GCC's non-contraction agree bit for bit. The fused helper lives in IRMath (<cmath> already included at ir_math.hpp:18), keeping std::fma out of the prefab header. All lattice consumers (recipeParamLatticeValue, Builder admission, slider apply) go through snapSliderValue, so one change covers the editor, Builder and slider paths.
Acceptance (issue #4900), checked against the diff:
- Contraction-independent snap, stated at the call site, with the two table rows pinned as bit patterns (
0x3f333333,0x3f48f5c3) plus an idempotence check, compiled under-ffp-contract=onandoffas two translation units sharing one case header — met (author's mutation positive control makes the Off row fail by 1 ULP). - Non-binary
test/moduleparam (canonical: min 0.4, step 0.025, default 0.7) andNonBinarySteppedFloatLoadsAndAppliesCanonicalTargetcovering omitted/default and explicit-lattice Builder applications; recipe indexrecipes_[7]and the8→9size updates are consistent — met on macOS per the author's evidence; the Linux side rides Engine Tests CI. - CLAUDE.md §Creation modules states the fused rule, the clamp, binary-fraction exactness and the copy-
nearestpath — met.
Nits (follow-up)
test/CMakeLists.txt: GCC does not implement-ffp-contract=on(treated asoff);=fastis the spelling that permits contraction there. Clang/macOS genuinely covers both modes; on the Linux gcc host the positive control is weaker, not the result.fusedMultiplyAddfalls back to a libm softwarefmaon hardware without FMA; fine for a non-hot snap path, worth knowing before reuse in a tick.
Verified / not verified
- Read the full diff and the surrounding files at
927f29bc3; confirmedCLAUDE.mdline counts (210 here, 210 on master) and the check rollup. Passing: instruction-size, format-check, header-checks, comment-refs, closes-lint, whitespace, no-plan-files. - Not run by me: build and gtests.
linux-buildandperf-gatewere still pending on this head at review time — unread, not green. The author's bit-pattern and GUI-verify evidence is plausible against the diff. - Windows parity is assumed, per the issue's plan correction.
Reviewed by Claude (pool-5, sonnet first pass).
Opus recheck required: adds a public helper to engine/math/include/irreden/ir_math.hpp (core math header) and changes a cross-platform float-determinism contract; also linux-build was still pending so the Linux/GCC behavior is unconfirmed.
jakildev
left a comment
There was a problem hiding this comment.
Opus recheck — #4905 (stable FLOAT lattice via explicit FMA)
Verdict: needs-fix. The production fix is correct. The test meant to prove contraction independence doesn't run the contraction-enabled build, so the #4900 acceptance criterion it backs is unmet in substance.
Needs-fix
-
WidgetSliderSnapFpContractOnTestruns the code compiled with-ffp-contract=off, so the "on" mode never executes.IRTest::detail::expectCanonicalSteppedFloatLattices()(test/render/widget_slider_snap_test_cases.hpp:163) is aninlinefunction with external linkage. Each of the two TUs emits it out of line as a weak COMDAT, and eachTestBodyonly tail-branches to it. The linker keeps one copy. Measured on the macOS build of this head (pool-3/build, built 20:06–20:07, objects carry-ffp-contract=off/=onperflags.make):- Each object holds the helper as a weak external (
nm -m:weak external automatically hidden IRTest::detail::expectCanonicalSteppedFloatLattices()in both…_off_test.cpp.oand…_on_test.cpp.o), andsnapSliderValueis inlined into it. - The linked
IrredenEngineTestholds one copy, at0x1007c9110, directly after the OffTestBody. BothWidgetSliderSnapFpContractOffTest_…::TestBody()andWidgetSliderSnapFpContractOnTest_…::TestBody()disassemble tob IRTest::detail::expectCanonicalSteppedFloatLattices(), i.e. the same address.
So on macOS, the only host where
onactually contracts (GCC < 14 treatsonasoff, and x86-64 has no FMA without-mfma), the "on" test re-runs theoffmachine code. The plan says "both modes must execute the production helper" (#4900 plan, Locked decisions), and the criterion asks for both modes to report the bits. Neither holds yet. This also explains the positive control: thek * step + minmutation would have failed both tests. Real two-mode coverage would show On passing (clang fuses) and Off failing.Fix: give the case helper internal linkage so each TU keeps its own copy, e.g.
static void expectCanonicalSteppedFloatLattices()in the header (no anonymous namespace in a header, per the naming rule), or the body inline in each.cpp. Evidence to attach:nm IrredenEngineTest | c++filt | grep expectCanonicalSteppedFloatLatticesshows two local (t) copies, and a re-run of the mutation positive control on macOS shows the differential:…On…passes and…Off…fails by one ULP on both rows. That differential is the only observation that proves both modes ran.snapSliderValuestays inline-external, but it's inlined into the helper here becauseIrredenEngineexports-O3publicly (engine/CMakeLists.txt:67-71). The differential mutation run is what catches it if that ever changes. - Each object holds the helper as a weak external (
Sonnet's points, rechecked
- Sonnet flagged the core math header and the determinism contract. On closer read I confirm the production change is sound. Every non-fused step of
snapSliderValueis contraction-free:clamp,(clamped - min) / step,floor(steps + 0.5f), the finalclamp. The only multiply-add is now explicitstd::fma, which C++ requires to round once on every conforming host. Callers:recipeParamLatticeValue(recipes_panel.hpp:56) feedseditor_lua_host.hpp:330,579,main.cpp:3028,3476andsession_builder.hpp:1283-1285, andsystem_widget_apply_slider.hpp:131goes through the slider overload. All of them now share one canonical value.session_builder.hpp:1282'shalfStep = 0.49f * stepis a separate statement, so clang'sonmode can't fuse it with thevalue ± halfStepthat follows. No-ffast-math/-ffp-contractexists anywhere in the build except the two new test options. - Sonnet's GCC
-ffp-contract=onnit: I confirm it, and it's moot once the item above is fixed. macOS clang is the only host where the On TU differs, which is what #4900's criterion names ("on macOS"). - Hot path:
system_widget_apply_slidersnaps once per slider gesture update.std::fmais onefmaddon arm64 (both objects show it). On x86-64 glibc it's an IFUNC-dispatchedfmaf. Negligible either way. - Recipe indices: rechecked.
non_binary_floatis the 8th registration →recipes_[7].matrix_columnmoves to 8 and nothing indexes it by position. Sizes 8→9 are consistent.test_ratio's newcanonicalparam is used only bytest_recipe_float_step, so no other module session's panel layout moves.
Not verified
- I didn't rebuild or run tests. The findings above come from the existing macOS build objects and linked binary of this head.
linux-buildandperf-gateare still pending on927f29bc3, so they aren't green.- Windows (
mingw-w64fmafrounding) is assumed, per the plan correction.
Reviewed by Claude (pool-5, opus recheck).
Perf gateHead host slug: perf comparison: 86f9930 → b181fbd-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
188.937 → 188.452 (-0.3%) |
| RENDER | ComputeLightVolume |
31.221 → 31.198 (-0.1%) |
| RENDER | CanvasToFramebuffer |
14.711 → 14.837 (+0.9%) |
| RENDER | BakeSunShadowMap |
7.619 → 7.660 (+0.5%) |
| RENDER | ComputeSunShadow |
6.055 → 6.271 (+3.6%) |
| UPDATE | PropagateTransform |
4.086 → 4.109 (+0.6%) |
| RENDER | LightingToTrixel |
3.217 → 3.307 (+2.8%) |
| UPDATE | FogRevealEval |
3.138 → 3.150 (+0.4%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
725.733 → 723.718 (-0.3%) |
| RENDER | ComputeLightVolume |
28.029 → 28.162 (+0.5%) |
| RENDER | ComputeSunShadow |
16.282 → 16.741 (+2.8%) |
| RENDER | CanvasToFramebuffer |
13.661 → 13.923 (+1.9%) |
| RENDER | BakeSunShadowMap |
6.553 → 6.739 (+2.8%) |
| RENDER | LightingToTrixel |
6.591 → 6.584 (-0.1%) |
| RENDER | ComputeVoxelAO |
5.931 → 5.674 (-4.3%) |
| UPDATE | PropagateTransform |
3.929 → 3.776 (-3.9%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
205.614 → 216.281 (+5.2%) |
| RENDER | ComputeSunShadow |
31.302 → 32.805 (+4.8%) |
| RENDER | ComputeLightVolume |
29.635 → 31.556 (+6.5%) |
| RENDER | LightingToTrixel |
18.552 → 19.248 (+3.8%) |
| RENDER | CanvasToFramebuffer |
14.825 → 15.169 (+2.3%) |
| RENDER | BakeSunShadowMap |
9.739 → 10.363 (+6.4%) |
| UPDATE | PropagateTransform |
5.308 → 5.334 (+0.5%) |
| RENDER | FogToTrixel |
4.535 → 4.642 (+2.4%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1005.282 → 1005.041 (-0.0%) |
| RENDER | ComputeLightVolume |
27.581 → 28.445 (+3.1%) |
| RENDER | ComputeSunShadow |
13.567 → 13.808 (+1.8%) |
| RENDER | CanvasToFramebuffer |
13.730 → 13.761 (+0.2%) |
| RENDER | BakeSunShadowMap |
6.541 → 6.494 (-0.7%) |
| RENDER | LightingToTrixel |
5.340 → 5.393 (+1.0%) |
| UPDATE | PropagateTransform |
5.260 → 5.250 (-0.2%) |
| RENDER | ComputeVoxelAO |
4.776 → 4.851 (+1.6%) |
Perf gateHead host slug: perf comparison: 0dd14fe → 10fc2ca-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
258.205 → 256.283 (-0.7%) |
| RENDER | ComputeLightVolume |
34.149 → 34.474 (+1.0%) |
| RENDER | CanvasToFramebuffer |
17.800 → 17.744 (-0.3%) |
| RENDER | BakeSunShadowMap |
10.418 → 10.223 (-1.9%) |
| RENDER | ComputeSunShadow |
8.107 → 8.123 (+0.2%) |
| UPDATE | PropagateTransform |
4.805 → 4.832 (+0.6%) |
| UPDATE | FogRevealEval |
4.286 → 4.490 (+4.8%) |
| RENDER | LightingToTrixel |
4.197 → 4.173 (-0.6%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1032.022 → 1030.377 (-0.2%) |
| RENDER | ComputeLightVolume |
29.065 → 29.869 (+2.8%) |
| RENDER | ComputeSunShadow |
22.141 → 22.070 (-0.3%) |
| RENDER | CanvasToFramebuffer |
16.550 → 16.358 (-1.2%) |
| RENDER | ComputeVoxelAO |
9.643 → 9.477 (-1.7%) |
| RENDER | BakeSunShadowMap |
9.093 → 8.873 (-2.4%) |
| RENDER | LightingToTrixel |
8.765 → 8.679 (-1.0%) |
| UPDATE | PropagateTransform |
4.763 → 4.808 (+0.9%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
289.372 → 297.404 (+2.8%) |
| RENDER | ComputeSunShadow |
55.321 → 61.181 (+10.6%) ⚠ |
| RENDER | LightingToTrixel |
36.045 → 39.359 (+9.2%) |
| RENDER | ComputeLightVolume |
32.823 → 32.861 (+0.1%) |
| RENDER | BakeSunShadowMap |
22.611 → 23.355 (+3.3%) |
| RENDER | CanvasToFramebuffer |
17.555 → 17.759 (+1.2%) |
| RENDER | FogToTrixel |
7.071 → 7.388 (+4.5%) |
| UPDATE | PropagateTransform |
6.047 → 6.217 (+2.8%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1464.334 → 1461.392 (-0.2%) |
| RENDER | ComputeLightVolume |
29.522 → 29.200 (-1.1%) |
| RENDER | ComputeSunShadow |
18.700 → 19.246 (+2.9%) |
| RENDER | CanvasToFramebuffer |
16.419 → 16.678 (+1.6%) |
| RENDER | BakeSunShadowMap |
8.826 → 9.010 (+2.1%) |
| RENDER | ComputeVoxelAO |
7.817 → 7.961 (+1.8%) |
| RENDER | LightingToTrixel |
6.778 → 7.021 (+3.6%) |
| UPDATE | PropagateTransform |
6.172 → 6.213 (+0.7%) |
|
Addressed the Opus recheck at b20d2de:
The pushed head and origin both resolve to b20d2de, and the PR was re-stamped for runtime codex after the push. — worker (Codex) |
Perf gateHead host slug: perf comparison: 361c316 → 02e1fb5-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
190.085 → 190.056 (-0.0%) |
| RENDER | ComputeLightVolume |
32.117 → 31.170 (-2.9%) |
| RENDER | CanvasToFramebuffer |
15.199 → 14.880 (-2.1%) |
| RENDER | BakeSunShadowMap |
7.727 → 7.757 (+0.4%) |
| RENDER | ComputeSunShadow |
6.533 → 6.554 (+0.3%) |
| UPDATE | PropagateTransform |
3.905 → 3.910 (+0.1%) |
| RENDER | LightingToTrixel |
3.516 → 3.362 (-4.4%) |
| UPDATE | FogRevealEval |
3.234 → 3.190 (-1.4%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
726.653 → 726.032 (-0.1%) |
| RENDER | ComputeLightVolume |
28.634 → 27.950 (-2.4%) |
| RENDER | ComputeSunShadow |
16.865 → 16.865 (+0.0%) |
| RENDER | CanvasToFramebuffer |
14.207 → 13.794 (-2.9%) |
| RENDER | LightingToTrixel |
6.802 → 6.741 (-0.9%) |
| RENDER | BakeSunShadowMap |
6.489 → 6.473 (-0.2%) |
| RENDER | ComputeVoxelAO |
5.799 → 5.737 (-1.1%) |
| UPDATE | PropagateTransform |
3.901 → 3.760 (-3.6%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
211.685 → 219.150 (+3.5%) |
| RENDER | ComputeSunShadow |
33.623 → 33.523 (-0.3%) |
| RENDER | ComputeLightVolume |
30.058 → 30.032 (-0.1%) |
| RENDER | LightingToTrixel |
19.377 → 19.615 (+1.2%) |
| RENDER | CanvasToFramebuffer |
14.929 → 14.694 (-1.6%) |
| RENDER | BakeSunShadowMap |
10.105 → 10.057 (-0.5%) |
| UPDATE | PropagateTransform |
5.317 → 5.351 (+0.6%) |
| RENDER | FogToTrixel |
4.569 → 4.608 (+0.9%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1010.205 → 1007.955 (-0.2%) |
| RENDER | ComputeLightVolume |
28.611 → 28.863 (+0.9%) |
| RENDER | CanvasToFramebuffer |
13.888 → 14.108 (+1.6%) |
| RENDER | ComputeSunShadow |
14.340 → 13.949 (-2.7%) |
| RENDER | BakeSunShadowMap |
6.758 → 6.553 (-3.0%) |
| RENDER | LightingToTrixel |
5.563 → 5.625 (+1.1%) |
| UPDATE | PropagateTransform |
5.236 → 5.256 (+0.4%) |
| RENDER | ComputeVoxelAO |
4.881 → 4.899 (+0.4%) |
jakildev
left a comment
There was a problem hiding this comment.
Re-review — #4905 (stable FLOAT lattice via explicit FMA)
Verdict: approve — the Opus recheck's one needs-fix is resolved at b20d2de8c; no new findings.
Prior-review resolution
- ✅
test/render/widget_slider_snap_test_cases.hpp:13—expectCanonicalSteppedFloatLattices()wasinlinewith external linkage, so the linker folded the On/Off TUs' copies into one and the-ffp-contract=ontest re-ran theoffmachine code — verified fixed atb20d2de8c: it is nowstatic, so each TU keeps its own copy. The delta is exactly that one line (1+/1-); the only two users arewidget_slider_snap_fp_contract_{off,on}_test.cpp:4, so there is no unused-function exposure. - ✅ Opus's requested evidence — the author's comment reports the corrected differential after the fix:
…On…passes and…Off…fails both rows by one ULP (1060320052vs1060320051,1061746116vs1061746115) under the temporaryk * step + minmutation, and 7/7 pass with the production FMA restored. This is the observation that proves both modes executed, and it matches the structure the diff now has. - ↗ nit (GCC treats
-ffp-contract=onasoff) — unchanged, wording-tier, carried below. - ↗ nit (
fusedMultiplyAddsoftware fallback without hardware FMA) — unchanged, carried below.
Big picture
Nothing else moved since the Opus recheck confirmed the production change (snapSliderValue → IRMath::fusedMultiplyAdd(k, step, min) then the final clamp). The fix is test-only and tightens exactly what the #4900 criterion asks for: both contraction modes now execute their own compiled body. Checks on the current head: closes-lint, comment-refs, format-check, header-checks, instruction-size, no-plan-files, whitespace, and perf-gate are pass. linux-build is pending on this head — unread, not green; it rides as the Linux/GCC leg of the criterion.
Nits (follow-up)
test/CMakeLists.txt:310: GCC does not implement-ffp-contract=on(treated asoff);=fastis the spelling that permits contraction there. Clang/macOS genuinely covers both modes, so the Linux positive control is weaker, not the result.fusedMultiplyAddfalls back to a libm softwarefmaon hardware without FMA; fine for a non-hot snap path, worth knowing before reuse in a tick.- The differential only holds while
snapSliderValueis inlined into the helper (the engine exports-O3publicly); at-O0the inline-externalsnapSliderValuewould again fold to one COMDAT copy. Out of scope here; the mutation run is what catches it.
Verified / not verified
- Read the delta commit and the full case header, both TU files, and the
test/CMakeLists.txtoption wiring atb20d2de8c. - Not run by me: build, gtests, or the mutation control. The differential is the author's reported observation, consistent with the diff.
- Windows parity is assumed, per the issue's plan correction.
Escalation: none. Safe for merge.
🤖 Reviewed by Claude Sonnet (review-pr skill)
Opus recheck not required.
Summary
Test plan
fleet-build --target IrredenEngineTest— terminal fleet job succeededfleet-run IrredenEngineTest --gtest_filter='WidgetSliderSnapFpContract*:*SteppedFloat*'— 7/7 tests passedk * step + minmade the contraction-off test fail both rows by one float32 ULPfleet-jobs start gui-verify -- IRVoxelEditor -- --module test/module --module-session test_recipe_float_step— 20/20 assertions passed andRESULT=CLEANfleet-build --target format-changedandfleet-build --target header-checks— cleanfleet-rules-sweepfor direct standard-library math outsideengine/math/— 0 matches in 999 filesfleet-jobs start light-verify -- --if-changed— all checks passed and the terminal job exited 0Acceptance evidence
build/test/CMakeFiles/IrredenEngineTest.dir/build.make; focused gtest; temporary mutation to the old expression0x3f333333and0x3f48f5c3and were idempotent. The mutation made contraction-off produce0x3f333334and0x3f48f5c4, so the check fires.fleet-run IrredenEngineTest --gtest_filter='WidgetSliderSnapFpContract*:*SteppedFloat*'NonBinarySteppedFloatLoadsAndAppliesCanonicalTargetpassed, recorded0x3f333333, occupied the expected cell for both applications, emitted events, and finished without errors.0x3f333333; the module session reported explicit/default canonical values and 20/20 assertions. Linux is unverifiable on this macOS host and is delegated to Engine Tests CI.IrredenEngineTestfleet build;format-changed;header-checks;fleet-rules-sweep20261105T040636Z-build-efde2esucceeded, formatting and 787-header checks passed, and the math sweep found 0 matches.creations/editors/voxel_editor/CLAUDE.mdafter formattingNotes for reviewer
Windows parity remains assumed rather than measured, matching the plan correction. The implementation is authored in the Codex runtime; no Claude authorship trailer is attached.
fleet-pr-overlapreturnedVERDICT: overlap. Its shared-path rows were:creations/editors/voxel_editor/CLAUDE.mdandtest/CMakeLists.txtclean.base-conflictagainst master alone;test/module/init.luaandwidgets.hppare clean.base-conflictagainst master alone;widgets.hppis clean.Closes #4900