-
Notifications
You must be signed in to change notification settings - Fork 8
[minor] MLAI-1288 - Enforce Cursor skill governance through agent-guard #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shmuelqwak
merged 6 commits into
main
from
feature/MLAI-1288-cursor-governance-via-agent-guard
Aug 30, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8e79b6e
MLAI-1288 - Enforce Cursor skill governance through agent-guard
shmuelqwak a5038d6
Merge remote-tracking branch 'origin/main' into feature/MLAI-1288-cur…
shmuelqwak 39bfd5f
MLAI-1288 - Pre-warm the agent-guard cache on sessionStart
shmuelqwak c4cb1d1
MLAI-1288 - Degrade to no deadline when the clock cannot be read
shmuelqwak 6f9aa8e
MLAI-1288 - Correct the block/allow cases and gate the release on the…
shmuelqwak 1ba4b97
MLAI-1288 - Refresh the agent-guard cache on the prompt hook, not ses…
shmuelqwak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Copyright (c) JFrog Ltd. 2026 | ||
| # Licensed under the Apache License, Version 2.0 | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| name: Validate skill governance | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
| paths: | ||
| # Governance lives entirely in agent-guard now, so the wiring IS the hooks file. The | ||
| # scripts/** glob stays so that re-adding any plugin-side governance code re-triggers the | ||
|
shmuelqwak marked this conversation as resolved.
|
||
| # validator that asserts it must not exist. | ||
| - "plugins/jfrog/hooks/hooks.json" | ||
| - "plugins/jfrog/scripts/**" | ||
| - "plugins/jfrog/modules/**" | ||
| - "plugins/jfrog/.cursor-plugin/plugin.json" | ||
| - "scripts/validate-skill-governance.mjs" | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| validate: | ||
| name: Validate skill governance | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20" | ||
|
|
||
| - name: Run skill-governance validation | ||
| run: node scripts/validate-skill-governance.mjs | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.