From 39985c892f4f1307364f4b81fd28a38c140d9533 Mon Sep 17 00:00:00 2001 From: Michael Heller <21163552+mdheller@users.noreply.github.com> Date: Mon, 3 Aug 2026 01:41:28 -0400 Subject: [PATCH] fix(ci): restore validate-model-carry-boundary in `make validate` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The portable-ai-carry-packs merge (5acdceb) dropped the `validate-model-carry-boundary` target and its prerequisite from the `validate` target, so CI (validate.yml) stopped running tools/validate_model_carry_authorization_boundaries.py — the validator and its schema/examples still existed and passed, but nothing invoked them (declared-unenforced). Restore the target, its .PHONY entry, and the `validate` prerequisite. Note: the same merge also dropped `bin/$(BIN) validate --refs examples` and `bin/$(BIN) list --refs examples`. Those are NOT restored verbatim — the CLI was restructured between 48904d4 and main and no longer has top-level `validate`/`list` subcommands (they moved under `carry`). `carry validate` was already in the recipe; the old `list --refs` coverage is restored as its current equivalent `carry list --refs`. `make validate` passes green. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c0165d..d9380ab 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build test validate validate-portable-ai dist release-dry-run clean +.PHONY: build test validate validate-portable-ai validate-model-carry-boundary dist release-dry-run clean BIN := sourceos-ai DIST_DIR := dist @@ -20,9 +20,13 @@ test: validate-portable-ai: python3 tools/validate_portable_ai_packs.py -validate: build validate-portable-ai +validate-model-carry-boundary: + python3 tools/validate_model_carry_authorization_boundaries.py + +validate: build validate-portable-ai validate-model-carry-boundary python3 tools/validate_carry_refs.py bin/$(BIN) carry validate --refs examples + bin/$(BIN) carry list --refs examples bin/$(BIN) doctor --refs examples bin/$(BIN) self-test --refs examples bin/$(BIN) emit-evidence --refs examples >/tmp/sourceos-ai-evidence.json