Skip to content

fix(ci): restore validate-model-carry-boundary in make validate - #23

Merged
mdheller merged 1 commit into
mainfrom
fix/restore-model-carry-boundary-validate
Aug 3, 2026
Merged

fix(ci): restore validate-model-carry-boundary in make validate#23
mdheller merged 1 commit into
mainfrom
fix/restore-model-carry-boundary-validate

Conversation

@mdheller

@mdheller mdheller commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What

Restore the validate-model-carry-boundary target dropped by the portable-ai-carry-packs merge (5acdceb), and re-add it to the validate target's prerequisites + .PHONY.

Why

tools/validate_model_carry_authorization_boundaries.py and its schema/examples still exist and pass, but 5acdceb removed the Makefile target and its prereq, so make validate — and therefore CI (.github/workflows/validate.yml) — stopped invoking it. A validator that exists and passes but is never run is declared-unenforced.

Deviation from a literal revert (important)

The same merge also removed bin/$(BIN) validate --refs examples and bin/$(BIN) list --refs examples. These are not restored verbatim: the CLI was restructured between 48904d4 and main and no longer exposes top-level validate/list (they now live under carry). Restoring them literally makes make validate fail with Error 2 (verified). So:

  • carry validate --refs examples was already present (the replacement for the old top-level validate).
  • The old list --refs coverage is restored as its current equivalent carry list --refs examples.

Verification

make validate runs green end-to-end (exit 0), and the boundary validator is confirmed to actually execute in the chain.

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.
@mdheller mdheller self-assigned this Aug 3, 2026
@mdheller
mdheller merged commit cca2e32 into main Aug 3, 2026
1 check passed
@mdheller
mdheller deleted the fix/restore-model-carry-boundary-validate branch August 3, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant