Commit Graph
3 Commits
Author SHA1 Message Date
西风逍遥游 13a32d8ca7 ci: teach checks about split metadata sources 2026-08-30 16:00:46 +08:00
西风逍遥游 1046c57887 ci: extend binding doc gate from new chapters to all modules
scripts/check_bindings.py now treats pre-existing doc gaps as registered
debt: scripts/check_bindings_gaps.txt (module:binding, regenerated via
--write-gaps, 857 entries) turns them into warnings, while any NEW bound
name missing from its doc chapter fails the check. make check/bindings and
the CI layering job now run the full --strict check instead of the ten
newly-authored chapters, so docs cannot silently drift from bindings
anywhere in the tree.
2026-08-22 11:55:35 +08:00
西风逍遥游 e82887921a feat(quality): script-binding self-check (source vs docs) + runtime binding smoke
- scripts/check_bindings.py: scans every addFunc/addVar in src/modules and
  greps the matching docs/usr/modules chapter. Missing names are warnings by
  default (large pre-existing doc debt); --strict + --modules turn them into
  CI failures. Wired as make check/bindings and a step in the CI layering
  job for the ten newly-authored chapters (avatar, buildingfx, camera,
  database, dialogue, grid, housegen, sceneloader, stylize, virtualgeometry),
  so those chapters cannot silently drift from the bindings.
- test/binding_selfcheck.cpp: builds a script VM with every module exposed,
  constructs the light modules and asserts curated hot bindings exist
  (eve.reflect itself is covered by the existing ReflectScript test).
2026-08-22 08:35:24 +08:00