test(gate): run the TLA+ model registry check
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 14 Nov 2026 11:35:58 +0000 (13:35 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 14 Nov 2026 11:35:58 +0000 (13:35 +0200)
A model that is not wired into -Ptla-check, or has no failing configuration,
is now a gate failure instead of a file nobody looks at.

verify.sh

index aff780f..c3d243b 100755 (executable)
--- a/verify.sh
+++ b/verify.sh
@@ -60,6 +60,10 @@ step "engine install" \
     bash -c "cd '$ENGINE' && mvn -o -q -DskipTests install"
 step "fo4 tests (fo4-2)" \
     bash -c "cd '$FO4' && xvfb-run -a mvn -o -q test"
+# The model registry: every active TLA+ model must have a gate config, a
+# non-vacuity config and a Maven execution, or it silently stops being checked.
+step "model registry (TLA+)" \
+    bash -c "cd '$ENGINE/Model' && ./check-models.sh"
 
 if [ "$MODE" = "--quick" ]; then
     [ "$fail" -eq 0 ] && echo && echo "GATE PASS (quick: unit suites only)"