diff --git a/wasm-port/docs/compatibility-validation.md b/wasm-port/docs/compatibility-validation.md index 98c5552..cee76a5 100644 --- a/wasm-port/docs/compatibility-validation.md +++ b/wasm-port/docs/compatibility-validation.md @@ -298,6 +298,9 @@ post-execute position parameters differently than the line-by-line MDI smoke. The same Node WASM and browser file-path smokes also cover the negative fixture group and check the LinuxCNC file-execution error text plus absent canonical motion constraints where applicable. +`canon_runtime_edges` also pins the vendored interpreter's post-program +modal, override, spindle, mist, and flood `_setup` state readback after the +canonical runtime-edge calls complete. The Node WASM and browser interpreter smokes also cover LinuxCNC parameter-file restore/save behavior through the exported C ABI, including out-of-order file rejection, missing-file success, missing required numeric parameter defaulting, @@ -525,9 +528,12 @@ numbered-parameter, local named-parameter plus `_ini[...]` lookup through tool-reload, tool select/change/length-offset, M61 current-tool-number update, canned-cycle, state-tag motion, tool-table setup, and O-word subroutine fixtures, plus threading/rigid tap, NURBS dispatch boundaries, and the -comparable canonical runtime edge and program-end cleanup calls. The same -upstream baseline also validates the current negative fixture error text and -absent canonical-event constraints. Fixtures that depend on standalone-only runtime +comparable canonical runtime edge and program-end cleanup calls. The +standalone vendored-source harness, Node WASM smoke, and browser smoke also +pin the `canon_runtime_edges` post-program modal, override, spindle, mist, and +flood `_setup` state. The same upstream baseline also validates the current +negative fixture error text and absent canonical-event constraints. Fixtures +that depend on standalone-only runtime adapters, HAL state, upstream `rs274` output gaps such as `WAIT` or hidden NURBS control-point detail, or richer machine session state still need dedicated native LinuxCNC baselines. diff --git a/wasm-port/docs/drift-report.md b/wasm-port/docs/drift-report.md index 115e807..bb0ed8a 100644 --- a/wasm-port/docs/drift-report.md +++ b/wasm-port/docs/drift-report.md @@ -96,7 +96,10 @@ semantic rewrites: select/change/length-offset plus M61 current-tool-number update, canned-cycle, state-tag motion, tool-table setup, and O-word subroutine fixtures; it also covers threading/rigid tap, NURBS dispatch boundaries, and - comparable canonical runtime edge and program-end cleanup calls. It now also checks the negative fixture set + comparable canonical runtime edge and program-end cleanup calls. The + vendored-source native harness plus Node WASM and browser smokes also pin + the `canon_runtime_edges` post-program modal, override, spindle, mist, and + flood `_setup` state. It now also checks the negative fixture set against upstream `rs274 -g` for expected error text and absent canonical event constraints. HAL-backed adapter-heavy fixtures, standalone modal-state assertions, and upstream diff --git a/wasm-port/tests/fixtures/canon/canon_runtime_edges.events b/wasm-port/tests/fixtures/canon/canon_runtime_edges.events index 64bf2b7..439843b 100644 --- a/wasm-port/tests/fixtures/canon/canon_runtime_edges.events +++ b/wasm-port/tests/fixtures/canon/canon_runtime_edges.events @@ -31,3 +31,13 @@ canon_event=SET_FEED_RATE rate=0 canon_event=STOP_SPINDLE_TURNING spindle=0 canon_event=SET_SPINDLE_MODE spindle=0 css_max=0 canon_event=PROGRAM_END +post_execute.plane=1 +post_execute.distance_mode=0 +post_execute.feed_mode=0 +post_execute.motion_mode=10 +post_execute.origin_index=1 +post_execute.feed_override=1 +post_execute.speed_override_0=1 +post_execute.spindle_turning_0=1 +post_execute.mist=0 +post_execute.flood=0