The collected-module gate moves to build/lib-module-gate.sh, which
build-kernel.sh sources. Every WARDEN_MODULES_COLLECT module must carry
this kernel's vermagic before it is copied, and the test-only directory
needs CONFIG_WARDEN_TEST_HANG=m after olddefconfig. The grep-only checks
of run-test-hang-tests.sh never ran either refusal path.
run-module-gate-tests.sh runs them on fixtures, with no kernel tree and no
compiler: a stale module is refused and not copied, in the test-only list
and in the aic8800 release list, and a symbol that is not =m is refused.
Accepting every vermagic fails five of its checks (mutation check).
run-missing-tools-tests.sh lists find and cp among its base tools: the
collection step and the fixtures use them.
Refs blueflare/bfe-core1106-sdk#56
Refs flare-edge sp/m4a-e-f5-kernel-hang-module (F5, AT-M4-01, AT-M4-12)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qGNpGNtFT7nhShpH56