Commit Graph

360 Commits

Author SHA1 Message Date
cnc
27ac0bfb25 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed G1 zero-feed 错误覆盖,源码依据为 src/emc/rs274ngc/interp_convert.cc convert_straight()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:04:55 +08:00
cnc
cd71eff8a5 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed canned cycle cutter compensation 错误覆盖,源码依据为 src/emc/rs274ngc/interp_cycles.cc convert_cycle()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 11:01:07 +08:00
cnc
eb1d31bfee 执行 AGENTS align-linuxcnc 加速规则
结论:新增 LinuxCNC source-backed canned cycle inverse-time feed 错误覆盖,源码依据为 src/emc/rs274ngc/interp_cycles.cc convert_cycle()。

测试:./test-native.sh 通过;./test-linuxcnc-source-link.sh 通过。
2026-06-05 10:57:38 +08:00
cnc
2892f2ca9d 执行 AGENTS align-linuxcnc 加速规则
结论:补齐 WASM NML status shim 并增加可执行 runtime 探针,依据 LinuxCNC src/libnml/nml/nmlmsg.cc 和 stat_msg.cc 中 RCS_GENERIC_STATUS/RCS_STAT_MSG 构造初始化。验证通过:./test-linuxcnc-wasm-runtime-link.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 10:44:31 +08:00
cnc
a301965452 执行 AGENTS align-linuxcnc 加速规则
结论:补强 WASM runtime 可执行探针,依据 LinuxCNC src/emc/rs274ngc/rs274ngc_pre.cc 中程序/子程序路径解析对 wordexp() 的使用,覆盖  形式的环境变量展开。验证通过:./test-linuxcnc-wasm-runtime-link.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 10:31:33 +08:00
cnc
0737d5ea65 执行 AGENTS align-linuxcnc 加速规则
结论:补强 WASM Python C API 可执行探针,依据 LinuxCNC src/emc/rs274ngc/gcodemodule.cc、interpmodule.cc 和 py*.cc 对 PyObject_New、Py_TYPE、Py_None、PyList_Type 等 Python C API 的绑定用法。验证通过:./test-linuxcnc-wasm-python-c-api-symbols.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 10:23:49 +08:00
cnc
3a478ca335 执行 AGENTS align-linuxcnc 加速规则
结论:补强 WASM interp_base 可执行探针,依据 LinuxCNC src/emc/rs274ngc/interp_base.cc 中绝对解释器路径直接 dlopen、相对路径经 EMC2_HOME/lib/linuxcnc 解析后 dlopen 的分支。验证通过:./test-linuxcnc-wasm-interp-base-link.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 10:13:27 +08:00
cnc
a144576e90 执行 AGENTS align-linuxcnc 加速规则
结论:补强 WASM PythonPlugin 可执行探针,依据 LinuxCNC src/emc/pythonplugin/python_plugin.cc 中 configure() 对 INI_FILE_NAME 缺失和环境变量 INI 文件的分支。验证通过:./test-linuxcnc-wasm-python-plugin-link.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 10:06:39 +08:00
cnc
60745adeef 执行 AGENTS align-linuxcnc 加速规则
结论:补强 WASM tooldata 可执行探针,依据 LinuxCNC src/emc/tooldata/tooldata_mmap.cc 非随机刀库 T0 查找优先返回 pocket 0 的源行为。验证通过:./test-linuxcnc-wasm-tooldata-link.sh、./test-native.sh、./test-linuxcnc-source-link.sh。
2026-06-05 09:59:06 +08:00
cnc
6506d23dc2 继续按提示词推进:补tooldata mmap单创建者覆盖 2026-06-05 09:51:37 +08:00
cnc
440a61be32 尽快推进:收紧Python C API shim源码锚点 2026-06-05 09:38:13 +08:00
cnc
9b9e942dd6 尽快推进:收紧tooldata mmap shim源码锚点 2026-06-05 09:33:08 +08:00
cnc
3c72356c92 尽快推进:收紧runtime shim源码锚点 2026-06-05 09:28:22 +08:00
cnc
a89c107676 尽快推进:收紧EMC状态shim源码锚点 2026-06-05 09:19:23 +08:00
cnc
035b25862a 尽快推进:收紧dlfcn shim源码锚点 2026-06-05 09:15:41 +08:00
cnc
167703b87a 继续按提示词推进:收紧NML状态shim源码锚点 2026-06-05 09:11:30 +08:00
cnc
b600d6a516 尽快推进:收紧gettext shim源码锚点 2026-06-05 09:03:41 +08:00
cnc
0a2d37fae8 尽快推进:收紧RTAPI格式化shim源码锚点 2026-06-05 08:58:58 +08:00
cnc
111cb5f9b9 尽快推进:收紧RCS打印shim源码锚点 2026-06-05 08:54:01 +08:00
cnc
218ac523b8 尽快推进:收紧OPFS程序读取源码锚点 2026-06-05 08:48:46 +08:00
cnc
abaebe7940 尽快推进:收紧tooldata工具源码锚点 2026-06-05 08:43:29 +08:00
cnc
77e92b0116 尽快推进:收紧WASM blocker参数文件源码锚点 2026-06-05 08:38:29 +08:00
cnc
cf3154b043 尽快推进:同步WASM smoke OPFS边界 2026-06-05 08:30:47 +08:00
cnc
9da6ffcd6a 尽快推进:收紧浏览器后端边界 2026-06-05 08:25:48 +08:00
cnc
c71d2964ee 尽快推进:收紧OPFS smoke边界 2026-06-05 08:20:31 +08:00
cnc
c1a130f5fb 尽快推进:收紧Python shim禁执行边界 2026-06-05 08:15:17 +08:00
cnc
baf8429736 尽快推进:收紧tooldata外部DB边界 2026-06-05 08:09:06 +08:00
cnc
2e2fb34cc3 尽快推进:收紧HAL运行时shim边界 2026-06-05 08:02:20 +08:00
cnc
810bd92ddc 尽快推进:锁定dlopen shim映射 2026-06-05 07:56:33 +08:00
cnc
6d99ca67a9 尽快推进:收紧PythonPlugin禁用边界
结论:对齐LinuxCNC src/emc/pythonplugin/python_plugin.cc initialize() 负状态语义,WASM安全shim在Python不可用时返回PLUGIN_PYTHON_NOT_INITIALIZED并保持负状态短路;未实现Python/remap执行,未扩展smoke parser。
2026-06-05 07:50:13 +08:00
cnc
6a2f63c894 尽快推进:加强OPFS参数备份目录边界验证
结论:真实浏览器app smoke继续使用LinuxCNC rs274ngc_pre.cc save_parameters() 语义,验证OPFS下备份link失败非致命时主参数仍持久化且目录不被误删;未扩展smoke parser功能。
2026-06-05 07:39:12 +08:00
cnc
bc80d74d1f 参考所有分组,完成尽量多的内容:收紧build source-map边界守卫 2026-06-05 07:29:30 +08:00
cnc
71676ac1be 参考所有分组,完成尽量多的内容:收紧WASM smoke source-map边界守卫 2026-06-05 07:24:49 +08:00
cnc
89af73298e 参考所有分组,完成尽量多的内容:收紧WASM blockers source-map边界守卫 2026-06-05 07:20:05 +08:00
cnc
dc5cdeacc2 参考所有分组,完成尽量多的内容:收紧WASM shims source-map边界守卫 2026-06-05 07:15:05 +08:00
cnc
b170ccd95a 参考所有分组,完成尽量多的内容:收紧tooldata source-map边界守卫 2026-06-05 07:10:30 +08:00
cnc
29197b25cc 参考所有分组,完成尽量多的内容:收紧OPFS source-map边界守卫 2026-06-05 07:06:14 +08:00
cnc
5ce3c18103 参考所有分组,完成尽量多的内容:收紧browser-app source-map边界守卫 2026-06-05 07:01:37 +08:00
cnc
79077fa695 参考所有分组,完成尽量多的内容:收紧switchkins source-map边界守卫 2026-06-05 06:57:11 +08:00
cnc
f64db24060 参考所有分组,完成尽量多的内容:收紧kinematics source-map边界守卫 2026-06-05 06:52:42 +08:00
cnc
fb2b5c4920 参考所有分组,完成尽量多的内容:收紧RS274 source-map边界守卫 2026-06-05 06:48:36 +08:00
cnc
9c52e426f7 参考所有分组,完成尽量多的内容:闭环OPFS类型source-map守卫 2026-06-05 06:40:58 +08:00
cnc
d80405ccb3 参考所有分组,完成尽量多的内容:收紧 switchkins source-only API 守卫
结论:未扩展 smoke 功能行为,仅把 switchkins/remap source-map guard 的负向 API 检查从 TOOL_TABLE 扩展到 asset、metadata、tooldata 等 source-only 输入。

LinuxCNC 来源依据:configs/sim/**.ini 的 M428/M429/M430 REMAP、remap_subs/{428,429,430}remap.ngc 的 #<kinstype>、src/hal/utils/halcmd_commands.cc do_loadusr_cmd() 与 halcmd_completion.c 的 loadusr 选项模型。

检查通过:./check-linuxcnc-switchkins-remap-source-map.sh;./check-linuxcnc-switchkins-remap-table.sh linuxcnc-kinematics-source-files.txt;./check-linuxcnc-kinematics-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
2026-06-05 06:32:36 +08:00
cnc
a48c02f5cc 参考所有分组,完成尽量多的内容:收紧 tooldata WASM probe 顺序守卫
结论:未扩展 smoke 功能行为,仅让 tooldata source-map guard 校验 build-wasm.sh 中四个 tooldata link/symbol probe 都在复制浏览器 artifact 前运行。

LinuxCNC 来源依据:src/emc/tooldata/Submakefile、tooldata_common.cc、tooldata_mmap.cc、tooldata_db.cc、tooldata_nml.cc、tool_mmap_read.cc、tool_watch.cc 与 tooldata.hh 的 tooldata 构建/导出边界。

检查通过:./check-linuxcnc-tooldata-source-map.sh;./check-linuxcnc-build-source-map.sh;./check-linuxcnc-workstreams-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
2026-06-05 06:25:33 +08:00
cnc
f56468b664 参考所有分组,完成尽量多的内容:闭环 workstreams source-map 索引
结论:未扩展 smoke 功能行为,仅让 architecture、source-policy 与 workstreams source-map 形成双向索引,并由 check-linuxcnc-workstreams-source-map.sh 守卫。

LinuxCNC 来源依据:configs/sim/axis/vismach/5axis/bridgemill/5axis.ini、remap_subs/428remap.ngc、src/emc/kinematics/Submakefile、kinematics.h、src/emc/rs274ngc/interp_internal.hh、rs274ngc_pre.cc、rs274ngc/Submakefile、tooldata/Submakefile、ini/Submakefile、pythonplugin/Submakefile 的六分组边界。

检查通过:./check-linuxcnc-workstreams-source-map.sh;./check-linuxcnc-build-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh;CNC_SIM_ALL_NATIVE_GUARDRAILS_ONLY=1 ./test-all-native.sh。
2026-06-05 06:19:46 +08:00
cnc
ba2d576f8b 参考所有分组,完成尽量多的内容:收紧构建入口 source-map 守卫
结论:未扩展 smoke 功能行为,仅把 build-policy guard 扩展为同时校验 test-native.sh、test-linuxcnc-source-link.sh、build-wasm.sh 运行同一组 source-map guards。

LinuxCNC 来源依据:src/emc/rs274ngc/Submakefile、src/emc/tooldata/Submakefile、src/emc/ini/Submakefile、src/emc/pythonplugin/Submakefile、src/emc/kinematics/Submakefile 与 kinematics.h 的构建/源码链接边界。

检查通过:./check-linuxcnc-build-source-map.sh;./check-linuxcnc-workstreams-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
2026-06-05 06:12:59 +08:00
cnc
7f45abe93c 参考所有分组,完成尽量多的内容:同步 OPFS 与 smoke 映射
结论:未扩展 smoke 功能行为,仅收紧 OPFS workspace、directory、policy 浏览器烟测和 source-map 守卫。

LinuxCNC 来源依据:src/emc/rs274ngc/rs274ngc_pre.cc 的 restore_parameters/save_parameters/read_text 参数文件与文件读取语义,以及 interp_internal.hh 的 rs274ngc.var/.bak 常量边界。

检查通过:./check-linuxcnc-opfs-source-map.sh;./check-linuxcnc-wasm-smoke-source-map.sh;./check-linuxcnc-workstreams-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
2026-06-05 06:07:14 +08:00
cnc
ae7de73a7c 参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke
结论:补强 WASM runtime shim 的 LinuxCNC HAL source-map 与 probe,确认 HAL lookup 在浏览器安全 shim 中保持不可用边界,不扩展 smoke 行为。
2026-06-04 20:23:50 +08:00
cnc
7471444781 参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke:锁定dlfcn禁用边界
结论:按 LinuxCNC src/emc/rs274ngc/interp_base.cc 的 dlopen/dlsym/dlerror 调用点,补强 WASM dlfcn shim 与 interp_base probe,确认浏览器安全探针中动态加载保持不可用;不扩展 smoke 解析。
2026-06-04 19:59:14 +08:00
cnc
f36e2a96c4 参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke:锁定PythonPlugin负状态短路
结论:按 LinuxCNC src/emc/pythonplugin/python_plugin.cc 的 status < PLUGIN_OK 分支,补齐 WASM PythonPlugin shim 的 call/call_method 负状态短路探针;保持 Python 执行禁用,不扩展 smoke 解析。
2026-06-04 19:53:50 +08:00