Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.
Python agent-evaluationagent-pluginsagent-securityagent-skillsagentic-aibenchmarkci-templatesclaude-codecodexevaluateevaluationharnesspluginplugin-evaluationsecurity-scannerskill-evalskill-evaluationskill-evaluatorskill-gap-analysisskills
Scope comment template permissions to the comment job (#529)
Christopher Kevinf25d5789a6eb
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex aaf28ac7..f6614b02 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -198,6 +198,8 @@ All notable changes to SkillEvaluator are documented in this file.### Fixed+- The comments-only consumer template now grants its required read and PR-comment+ permissions only to the comment job, with no workflow-wide token permissions.- The behavior evidence gate no longer keeps a score for an expectation thatnames an observed artifact but also asks for something only the final answercould show. "Writes `report.py` and explains why each column was dropped" wasdiff --git a/ci/templates/comment-skill-checks.yml b/ci/templates/comment-skill-checks.ymlindex 2bdfd1c7..9734f935 100644--- a/ci/templates/comment-skill-checks.yml+++ b/ci/templates/comment-skill-checks.yml@@ -17,12 +17,13 @@ on:description: Completed attempt number for that runtype: stringrequired: true-permissions:- contents: read- actions: read- pull-requests: write+permissions: {}jobs:comment:+ permissions:+ contents: read+ actions: read+ pull-requests: writeuses: NVIDIA/SkillEvaluator/.github/workflows/comment-skill-checks.yml@RELEASE_WORKFLOW_SHAwith:run-id: ${{ format('{0}', github.event.workflow_run.id || inputs.run-id) }}diff --git a/tests/ci/test_render_templates.py b/tests/ci/test_render_templates.pyindex 55dbb279..80cfa5e2 100644--- a/tests/ci/test_render_templates.py+++ b/tests/ci/test_render_templates.py@@ -30,7 +30,12 @@ def test_release_templates_are_copyable_and_bind_the_actual_caller(tmp_path):assert publisher["jobs"]["reports"]["with"]["trusted-caller-blobs"] == blobassert publisher["jobs"]["reports"]["with"]["tools-ref"] == "b" * 40comments = yaml.load((output / "comment-skill-checks.yml").read_text(), Loader=yaml.BaseLoader)- assert comments["permissions"] == {"contents": "read", "actions": "read", "pull-requests": "write"}+ assert comments["permissions"] == {}+ assert comments["jobs"]["comment"]["permissions"] == {+ "contents": "read",+ "actions": "read",+ "pull-requests": "write",+ }assert comments["on"]["workflow_run"] == {"workflows": ["Skill checks"], "types": ["completed"]}assert set(comments["on"]["workflow_dispatch"]["inputs"]) == {"run-id", "run-attempt"}assert all(value["required"] == "true" for value in comments["on"]["workflow_dispatch"]["inputs"].values())