refact(frank-zealot): serve gates run on the shared gate library

The three -e gates (runtime, GGUF, mmproj) are require_file calls: the refusal
now names the artifact class, the exact path and the script that produces it.
The seam asserts that observable triple instead of the old sentence order.
This commit is contained in:
Frank committed 2026-10-13 21:41:18 -07:00
1 parent 028afdeb58
commit f31e7c5ed8
2 files changed
+24 -7

No files matched your search

+7 -2
View File
@@ -253,15 +253,20 @@ run_stage() {
}
@test "the serve script refuses a missing runtime, GGUF or projector" {
# The refusal is the shared gate library's: it names the artifact class,
# the exact path, and the script that produces it.
rm -f "$MODEL_DIR/$MM_STUB"
serve_argv
[ "$status" -ne 0 ]
[[ "$output" == *"frank-zealot: missing"* ]]
[[ "$output" == *"frank-zealot:"* ]]
[[ "$output" == *"mmproj"*"missing"*"$MM_STUB"* ]]
[[ "$output" == *"download-frank-zealot.sh"* ]]
rm -f "$RUNTIME_DIR/bin/llama-server"
serve_argv
[ "$status" -ne 0 ]
[[ "$output" == *"frank-zealot: missing"* ]]
[[ "$output" == *"runtime"*"missing"*"llama-server"* ]]
[[ "$output" == *"build-llama-master-cuda.sh"* ]]
}
@test "the deploy handler gates on binary, GGUF and projector, then MainPID-hardens health" {