mirror of
https://github.com/affaan-m/ECC.git
synced 2026-12-05 06:21:35 +00:00
scan.sh and quick-diff.sh name each per-skill record "$i.json" and merge them with a "$tmpdir"/*.json glob. The glob sorts names as text, so once a scan finds ten or more skills 10.json lands before 2.json and the output no longer follows the NUL-sorted discovery order. Zero-pad the record names so glob order matches insertion order, and pin both scripts with a twelve-skill regression test. Rebind the skill-triggers registry digest for the changed skill sources. Carried forward from the ordering fix in #2729. Co-authored-by: Nathan Oliver <nathan.oliver@emecogroup.com>