fix(aihr): prevent strict gate bypass

This commit is contained in:
2026-07-14 16:22:47 +08:00
parent be150fc421
commit 5890770206
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -325,6 +325,7 @@ check_pilot_samples() {
}
if [[ "${AIHR_DEMO_CHECK_LIBRARY_ONLY:-false}" == "true" ]]; then
[[ "${AIHR_PILOT_STRICT:-false}" != "true" ]] || fail "AIHR_DEMO_CHECK_LIBRARY_ONLY cannot bypass strict pilot checks"
return 0 2>/dev/null || exit 0
fi