Skip to content

Commit d0d51b5

Browse files
SecAI-Hubclaude
andcommitted
Fix bluebuild: move gguf-guard to optional binaries
gguf-guard is built from an external upstream (not in-repo) that is still PENDING. The build correctly skips it when the source is unavailable, but the final verification step listed it as required, causing the build to abort. Moved to OPTIONAL_BINARIES — warns but does not fail the build. All 14 required binaries (9 Go services + securectl + llama-server + quarantine-watcher + agent + ui) are verified as before. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f422852 commit d0d51b5

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

files/scripts/build-services.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,14 @@ REQUIRED_BINARIES=(
496496
"${INSTALL_DIR}/agent"
497497
"${INSTALL_DIR}/ui"
498498
"/usr/local/bin/securectl"
499-
"/usr/local/bin/gguf-guard"
500499
"/usr/bin/llama-server"
501500
)
502501

502+
# Optional binaries — built from external upstreams, may be skipped
503+
OPTIONAL_BINARIES=(
504+
"/usr/local/bin/gguf-guard"
505+
)
506+
503507
MISSING=0
504508
for bin in "${REQUIRED_BINARIES[@]}"; do
505509
if [ -f "$bin" ]; then
@@ -517,6 +521,16 @@ if [ "$MISSING" -gt 0 ]; then
517521
fi
518522
echo "All ${#REQUIRED_BINARIES[@]} required binaries verified."
519523

524+
# Check optional binaries (warn but don't fail)
525+
for bin in "${OPTIONAL_BINARIES[@]}"; do
526+
if [ -f "$bin" ]; then
527+
SIZE=$(stat -c%s "$bin" 2>/dev/null || stat -f%z "$bin" 2>/dev/null || echo "?")
528+
printf " OPTIONAL: %-45s %s bytes\n" "$bin" "$SIZE"
529+
else
530+
printf " OPTIONAL MISSING: %s (upstream not pinned)\n" "$bin"
531+
fi
532+
done
533+
520534
# ---------------------------------------------------------------------------
521535
# Configure container signing policy for cosign-verified SecAI images.
522536
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)