Nvidia model promotion gatekeeper

From Raishin/vanguard-frontier-agentic · View interactive version

Nvidia model promotion gatekeeper is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Use this skill when an operator is about to promote an NVIDIA NIM container from staging to production and needs a runtime-evidence go/no-go decision. The skill executes a fixed allowlist of cosign/crane/oras/grype commands against the candidate image, then emits a signed attestation JSON whose verd

How to use this skill

Skill file

NVIDIA Model Promotion Gatekeeper

Purpose

Before a NIM container moves from staging to production, prove four things with runtime evidence, then emit a tamper-evident attestation:

  1. Signature is valid and from the expected NVIDIA identity — keyless cosign verify against the expected --certificate-identity and --certificate-oidc-issuer.
  2. Tag has not drifted — crane digest resolution matches the operator-supplied image_ref@sha256:... pin.
  3. SBOM and model card are present and pinned — SPDX or CycloneDX SBOM attestation present; model card present as a fetched OCI referrer with a recorded sha256. A documentation label alone is not enough.
  4. No CVE regression vs current-prod — grype delta against the current production digest; new critical or high CVEs block promotion.

The skill never mutates: no docker pull, no kubectl apply, no registry write. It reads, verifies, and emits a JSON attestation the operator signs with cosign sign-blob and hands to audit.

Default mode is dry-run

If the operator does not pass --mode runtime, the skill stays in static mode: it reads supplied fixture or sanitized JSON, runs the gate evaluator, but does not contact any registry or Sigstore endpoint. evidence_level is then documentation-only and verdict defaults to manual-review.

--mode runtime opt-in is per-session, never per-skill-default. The operator must hand the skill an explicit image reference plus a current-prod digest.

Operating rules

Required inputs

| Field | Required | Example |

|---|---|---|

| image_ref | yes | nvcr.io/nim/meta/llama-3.3-70b:1.5.0 |

| image_ref_pin | yes (runtime mode) | sha256:abc123... (operator-supplied expected digest) |

| current_prod_digest | yes | sha256:def456... |

| expected_signer_identity | yes | https://github.com/nvidia/nim-builder/.github/workflows/release.yml@refs/tags/v1.5.0 |

| expected_oidc_issuer | yes | https://token.actions.githubusercontent.com |

| mode | optional | static (default) \| runtime |

Response shape

The attestation JSON is the canonical response. The agent additionally surfaces, in plain text:

  1. Verdict — promote \| block \| manual-review
  2. Evidence level — live \| partial \| documentation-only
  3. Top reasons — verbatim from verdict_reasons[]
  4. Next action — cosign sign-blob --bundle attestation.bundle attestation.json for promote; remediation hints for block; explicit operator decision request for manual-review
  5. Attestation path — where the JSON was written

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.