diff --git a/check-linuxcnc-switchkins-remap-table-cached.sh b/check-linuxcnc-switchkins-remap-table-cached.sh index 24fe500..1569a4a 100755 --- a/check-linuxcnc-switchkins-remap-table-cached.sh +++ b/check-linuxcnc-switchkins-remap-table-cached.sh @@ -92,6 +92,10 @@ if ! { sha256sum check-linuxcnc-switchkins-remap-table-cached.sh printf 'CHECK_SCRIPT=' sha256sum check-linuxcnc-switchkins-remap-table.sh + printf 'INPUT_CACHED_SCRIPT=' + sha256sum check-linuxcnc-inputs-cached.sh + printf 'INPUT_CHECK_SCRIPT=' + sha256sum check-linuxcnc-inputs.sh printf 'GENERATOR_SCRIPT=' sha256sum generate-linuxcnc-switchkins-remap-table.sh printf 'LINUXCNC_ROOT=%s\n' "$linuxcnc_root" diff --git a/docs/linuxcnc-source-policy.md b/docs/linuxcnc-source-policy.md index efa8ed9..a066145 100644 --- a/docs/linuxcnc-source-policy.md +++ b/docs/linuxcnc-source-policy.md @@ -109,9 +109,9 @@ Efficiency rules: `CNC_SIM_WASM_BLOCKERS_CACHE_DIR`. - Reuse switchkins/remap table check results in the same persistent cache with `check-linuxcnc-switchkins-remap-table-cached.sh`; its signature must include - the cached wrapper script, checker script, generator script, the kinematics - manifest, referenced LinuxCNC source size and nanosecond mtime stats, tracked - generated table/case outputs, and the thin API/web bridge files that pass + the cached wrapper script, checker script, generator script, manifest input + checker scripts, the kinematics manifest, referenced LinuxCNC source size and + nanosecond mtime stats, tracked generated table/case outputs, and the thin API/web bridge files that pass switchkins config aliases. Native, source-link, and build-wasm entry points must run this cached check before consuming those aliases. - The switchkins/remap generator must treat LinuxCNC `[EMCIO] TOOL_TABLE` diff --git a/test-all-native.sh b/test-all-native.sh index f7d166c..7e9e123 100755 --- a/test-all-native.sh +++ b/test-all-native.sh @@ -101,6 +101,8 @@ test -x check-linuxcnc-switchkins-remap-table-cached.sh grep -F 'check-linuxcnc-switchkins-remap-table.lock' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null grep -F 'sha256sum check-linuxcnc-switchkins-remap-table-cached.sh' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null grep -F 'sha256sum check-linuxcnc-switchkins-remap-table.sh' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null +grep -F 'sha256sum check-linuxcnc-inputs-cached.sh' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null +grep -F 'sha256sum check-linuxcnc-inputs.sh' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null grep -F 'sha256sum generate-linuxcnc-switchkins-remap-table.sh' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null grep -F 'stat -c '\''SOURCE=%n:%s:%y'\''' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null grep -F 'core/src/cnc_sim_api.cpp' check-linuxcnc-switchkins-remap-table-cached.sh >/dev/null