Skip to content

[patch] fix: expect the pinned agent-guard version in the governance validator - #126

Merged
yanivt-jfrog merged 1 commit into
chore/sync-modules-v0.19.0from
fix/validate-governance-pin
Nov 22, 2026
Merged

yanivt-jfrog merged 1 commit into
chore/sync-modules-v0.19.0from
fix/validate-governance-pin

Conversation

@NitzanHardon

Copy link
Copy Markdown
Collaborator

Fixes the failing Validate skill governance job on #125.

Modules v0.19.0 pin GOVERNANCE_AGENT_GUARD_VERSION (1.27.0); the validator still required an unpinned @jfrog/agent-guard, so both JFROG_AGENT_GUARD_REPO redirects the registry… checks failed.

  • Read the pin from the vendored rewrite-mcp-json.mjs and assert the launcher runs exactly that spec, so future pin bumps need no validator edit.
  • Still assert JFROG_AGENT_GUARD_VERSION cannot override it.
  • Updated the header comment (property 3).

No version bump: validator-only change, and #125 already bumps to 0.7.2. Based on #125's branch; merge it into that branch (or after #125).

🤖 Generated with Claude Code

…validator

Modules v0.19.0 pin GOVERNANCE_AGENT_GUARD_VERSION. The validator asserted an
unpinned package spec, failing both JFROG_AGENT_GUARD_REPO checks. Read the pin
from the vendored module and assert the launcher runs exactly it, still
rejecting any environment override.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@NitzanHardon
NitzanHardon requested review from a team as code owners November 22, 2026 18:10
@yanivt-jfrog
yanivt-jfrog merged commit 28acb12 into chore/sync-modules-v0.19.0 Nov 22, 2026
1 check passed
@yanivt-jfrog
yanivt-jfrog deleted the fix/validate-governance-pin branch November 22, 2026 18:29
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.

2 participants