Skip to content
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e75d520
feat(reporting): add a GitHub Actions annotations report format
mvanhorn Nov 18, 2026
d0bb26d
fix(reporting): emit one GitHub annotation stream per catalog run
mvanhorn Nov 18, 2026
3534283
fix(reporting): count catalog GitHub summary from final outcomes
mvanhorn Nov 19, 2026
0c8be24
fix(reporting): annotate linked-directory discovery errors on the link
mvanhorn Nov 19, 2026
46f37bc
Merge upstream main into feat/github-annotations
mvanhorn Nov 19, 2026
aaaac46
fix(reporting): keep the link path for in-repository linked-directory…
mvanhorn Nov 19, 2026
c4e357d
Merge branch 'main' into feat/github-annotations
rng1995 Nov 19, 2026
12890ce
fix(reporting): report an incomplete scanner only as a GitHub warning
mvanhorn Nov 19, 2026
7711135
fix(reporting): cap GitHub notice annotations and keep the summary vi…
mvanhorn Nov 19, 2026
0540a7a
fix(reporting): report every diagnostic of an incomplete scan as a Gi…
mvanhorn Nov 19, 2026
1ed7c3c
fix(reporting): count the GitHub summary by the required validation gate
mvanhorn Nov 19, 2026
b9a9059
Merge branch 'main' into feat/github-annotations
rng1995 Nov 19, 2026
813884a
fix(reporting): emit the GitHub annotation title after the file path
mvanhorn Nov 19, 2026
66cb246
Merge branch 'main' into feat/github-annotations
rng1995 Nov 19, 2026
8d8976d
fix(reporting): preserve GitHub annotation paths and clarify omitted …
rng1995 Nov 19, 2026
780892a
Merge branch 'main' into feat/github-annotations
rng1995 Nov 19, 2026
8fdc8f4
Merge branch 'main' into feat/github-annotations
chrisknvidia Nov 20, 2026
c4a7c22
Potential fix for pull request finding 'GitHub reporter drops validat…
rng1995 Nov 20, 2026
c720ea3
Merge branch 'main' into feat/github-annotations
rng1995 Nov 20, 2026
891a5f0
Potential fix for pull request finding 'Fall back to text output when…
rng1995 Nov 20, 2026
38011d8
Merge branch 'main' into feat/github-annotations
rng1995 Nov 20, 2026
be1bff4
Identify the skill on pathless GitHub annotations
mvanhorn Nov 20, 2026
d11a5a7
Annotate merged plugin findings at their real file path
mvanhorn Nov 20, 2026
9d5293d
docs(reports): say how catalog runs count incomplete scans
mvanhorn Nov 21, 2026
7219620
Address review feedback
mvanhorn Nov 21, 2026
fa8c26b
Address review feedback
mvanhorn Nov 21, 2026
3d794ac
test(reports): expect no file= for a non-UTF-8 GitHub annotation path
mvanhorn Nov 21, 2026
a2a9d45
fix(reports): keep literal backslashes in tracked POSIX file names
mvanhorn Nov 21, 2026
3dbc4b8
fix(reports): keep backslash file names for outside-workspace symlinks
mvanhorn Nov 21, 2026
5ed56df
Address review feedback
mvanhorn Nov 21, 2026
d05f55d
test(rubric_eval): expect member metadata on folded folder findings
mvanhorn Nov 21, 2026
b64b2db
Address review feedback
mvanhorn Nov 22, 2026
d8c7802
fix(reports): emit a GitHub gate error for a confirmed failure with a…
mvanhorn Nov 22, 2026
4078790
fix(reports): name the blocking finding in the GitHub gate error
mvanhorn Nov 22, 2026
b43e744
fix(reports): start GitHub workflow commands on a fresh line
mvanhorn Nov 22, 2026
d3e46d7
fix(reports): annotate catalog members that failed with no error of t…
mvanhorn Nov 22, 2026
3f7548c
fix(reports): take the incomplete-scan reason from scanner diagnostics
mvanhorn Nov 22, 2026
00c0985
fix(reports): count zero checked skills when rubric discovery finds none
mvanhorn Nov 22, 2026
01743b8
Report catalog write failures alongside incomplete scans
rng1995 Nov 23, 2026
df7c6f0
Exercise Bandit scan errors through the validator
rng1995 Nov 23, 2026
d73b48f
Merge branch 'main' into feat/github-annotations
chrisknvidia Nov 23, 2026
deaeb64
Merge branch 'main' into feat/github-annotations
rng1995 Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ All notable changes to SkillEvaluator are documented in this file.
placeholder becomes one random UUID per client. Harbor verifier judges,
embeddings, in-container agents, and reusable CI commands use separate
configuration.
- Add GitHub Actions annotation reports with `-r github`. The format prints
`::error`, `::warning`, and `::notice` workflow commands on stdout so a job
that runs the CLI can annotate the pull request without uploading SARIF.
Incomplete scanners are warnings, gate failures stay errors, and the run
ends with a summary notice that records how many findings were not annotated
under GitHub's per-step cap and how to see the omitted findings.
Catalog report-write failures appear as errors even when a scanner is incomplete.
Pathless skill findings anchor on the skill's `SKILL.md` when inside the
workspace, or include the skill's catalog-relative path.
Merged plugin and collection member findings resolve their unprefixed file
path, or fall back to the manifest anchor and member label when outside the
workspace.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions docs/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ Direct `tier1 PATH`, `tier1 validate PATH`, and `tier2 PATH` default to

| Flag | Default | Effect |
| --- | --- | --- |
| `-r, --report [cli\|json\|html\|markdown\|sarif\|junit]` | `cli,json,html` for direct workflows; `cli` for focused commands | Report format(s). Accepts comma- or space-separated values (`-r cli,json,html` or `-r cli json html`) and may be repeated. The compact default view writes html+json unless `-r` is passed explicitly, which is honored exactly (including `cli`). |
| `-r, --report [cli\|json\|html\|markdown\|sarif\|junit\|github]` | `cli,json,html` for direct workflows; `cli` for focused commands | Report format(s). Accepts comma- or space-separated values (`-r cli,json,html` or `-r cli json html`) and may be repeated. The compact default view writes html+json unless `-r` is passed explicitly, which is honored exactly (including `cli`). `github` prints workflow commands to stdout and does not write a file. |
| `-o, --output-dir DIRECTORY` | `reports` | Directory for generated reports. |

In practice: a default `validate` run (no `-r`) shows the compact pipeline view **and** writes `json` + `html` report files; passing `-r` takes over completely — `-r cli` really means terminal output only, no files. The focused expert commands take the `cli` default literally: they print the full terminal report and write files only for the formats you request with `-r`. A `validate` run writes `skillevaluator-output-<timestamp>.json` / `.html` (plus `.md` with `-r markdown`, `.sarif.json` with `-r sarif`, or `.junit.xml` with `-r junit`); standalone commands write a fixed `skillevaluator-<kind>` basename (for example `skillevaluator-quality.json`), so a re-run overwrites the previous report. Direct workflows write `skillevaluator-tier1` or `skillevaluator-tier2` reports in the selected formats and also overwrite previous files with that basename. Filename conventions and report anatomy live in [Reports & Results](/skills/skillevaluator/reports).
In practice: a default `validate` run (no `-r`) shows the compact pipeline view **and** writes `json` + `html` report files; passing `-r` takes over completely — `-r cli` really means terminal output only, no files, and `-r github` prints GitHub Actions annotations to stdout without a report file. The focused expert commands take the `cli` default literally: they print the full terminal report and write files only for the formats you request with `-r`. A `validate` run writes `skillevaluator-output-<timestamp>.json` / `.html` (plus `.md` with `-r markdown`, `.sarif.json` with `-r sarif`, or `.junit.xml` with `-r junit`); standalone commands write a fixed `skillevaluator-<kind>` basename (for example `skillevaluator-quality.json`), so a re-run overwrites the previous report. Direct workflows write `skillevaluator-tier1` or `skillevaluator-tier2` reports in the selected formats and also overwrite previous files with that basename. Filename conventions and report anatomy live in [Reports & Results](/skills/skillevaluator/reports).

**Exit codes.** Commands communicate through a small exit-code contract — this is what your CI gates on (see [Gate Your CI](/skills/skillevaluator/ci-integration)):

Expand Down
6 changes: 6 additions & 0 deletions docs/github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ Failed scans retain their available reports too. The HTML separates the
**verdict** from the **quality score**: a high score does not override a failed
required security or schema check.

If you run the CLI in your own workflow step instead of the reusable scanner,
add `github` to `-r` (for example `skillevaluator validate ./skills --tiers 1 -r cli,github`)
to print inline annotations without a SARIF upload. GitHub shows at most 10
error, 10 warning, and 10 notice annotations per step; see
[GitHub annotations](/skills/skillevaluator/reports#github-annotations).

<AccordionGroup>
<Accordion title="Use advisory enforcement">
The 1.0.1 bundle pins a matching workflow and scanner image with
Expand Down
73 changes: 71 additions & 2 deletions docs/reports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ no-color, redirected, and string-rendered output retains readable paths.
| `markdown` | Markdown for PR comments | You want the result posted on a pull request |
| `sarif` | SARIF 2.1.0 JSON | GitHub Code Scanning or other SARIF consumers need inline annotations |
| `junit` | JUnit XML | CI systems that show native test reports need a JUnit artifact |
| `github` | GitHub Actions workflow commands | A workflow that runs the CLI itself needs inline annotations without uploading SARIF |

HTML reports use a shared NVIDIA presentation across all three tiers, with
numbered Insights cards, expandable findings, and tables alongside charts.
Expand Down Expand Up @@ -333,8 +334,8 @@ Report filenames follow two patterns, both under the output directory:
| `context-optimization-check` | `skillevaluator-context` | Yes |
| `dedup-scan` | `skillevaluator-dedup` | Yes |

The extension matches the format (`.json`, `.html`, `.md`, `.sarif.json`, `.junit.xml`); the `cli` format
prints to the terminal and never writes a file. A full `validate` run's
The extension matches the format (`.json`, `.html`, `.md`, `.sarif.json`, `.junit.xml`); the `cli` and `github` formats
print to the terminal and never write a file. `github` has no file extension and no catalog-collision check, because it does not create a report path. A full `validate` run's
timestamp is `YYYYMMDDHHMMSS`, so
`-r json` produces something like `skillevaluator-output-20260709141530.json`
and never clobbers the previous run.
Expand Down Expand Up @@ -377,6 +378,74 @@ the Tier 3 verdict, or the skip reason. An advisory group (Tier 3 without
`system-out` with an `Advisory, does not gate:` prefix, and its incomplete
scanners are `skipped`.

## GitHub annotations

`-r github` prints GitHub Actions workflow commands on stdout so a job that
runs `skillevaluator validate` or `tier1` itself can put findings on the pull
request diff and the run summary. It does not write a file, does not upload
SARIF, and does not need a token or extra permission. Combine it with other
formats, for example `-r cli,github,sarif`.

Use this when the reusable SkillEvaluator workflow is not in the job and
GitHub Code Scanning is unavailable (private repositories without code
scanning, or a plain `run:` step). Prefer SARIF when you can upload to code
scanning: it is not capped at ten errors, ten warnings, and ten notices per
step. Prefer
JUnit when a CI system ingests test reports rather than workflow commands.

| Finding | Workflow command |
| --- | --- |
| CRITICAL or HIGH | `::error` |
Comment thread
rng1995 marked this conversation as resolved.
Resolved
| MEDIUM or LOW | `::warning` |
| INFO | `::notice` |
| Gate failure (for example a quality score below `--min-score`) | `::error`, even when other findings on that group are warnings |
| Scanner that did not complete | `::warning` with a "did not complete" message; every other non-gate error on that group (such as each entry in Bandit's `errors` list) is also a `::warning` |

Advisory (non-blocking) results emit `::warning` in place of `::error`, while
blocking results keep `::error`; the required gate itself is unchanged.

`file=` is the path relative to the Git repository root, or to the scanned
folder when the target is outside a Git repository. GitHub resolves it against
the checkout. On POSIX, GitHub preserves a backslash in an existing file name.
For a tracked `alpha/design\notes.md`, GitHub emits
`file=alpha/design\notes.md` and SARIF and JUnit use `alpha/design/notes.md`.
`line=` (and `endLine=` when recorded) is included when the finding has a location.
`file` is omitted when the path is outside the repository. In a catalog run,
member skill annotations resolve paths against the catalog's repository root
(including across nested Git repositories), or omit `file` and prefix the
message with the catalog-relative skill path when outside that workspace. `title=` is the
check group and check name, and always comes last, so a path that ends in a
space keeps it when the runner parses the command. An incomplete scan is never a clean log: each
unfinished scanner is a warning, and the run ends with one `::notice`
summary (skills checked, passed, failed, incomplete). The summary follows the
required validation gate, like the JSON `overall_status` and the exit code, so
a failed advisory group (such as Tier 2 dedup with `--no-block-on-dedup`) does
not count the skill as failed.

GitHub shows at most 10 error, 10 warning, and 10 notice annotations per
step (50 per job). This format emits the most severe first, in a
deterministic order (severity, path, line, check). INFO findings stop at nine
notices so the summary notice is always shown. The summary notice says how
many more were not annotated and names the file report formats requested with `-r`.
If the run writes no requested report files, it suggests rerunning with `-r github,json`.
A catalog run (a folder of skills, with any `--workers` value) prints one
capped stream and one summary for the whole catalog, after every skill has
finished, rather than one per skill. The checked and passed counts match
`catalog-summary.json`, and catalog-level findings such as a duplicate
`metadata.id` are annotated on each affected skill's `SKILL.md` within the same
caps. `catalog-summary.json` counts a skill whose only problem is an incomplete
scan as `failed` for gating (and the exit code is non-zero), while the
annotation summary shows those skills in a separate `incomplete` count rather
than under `failed`.
Finding text is escaped per GitHub's workflow-command rules and stripped of
control characters; credential-shaped values are masked like the other
reporters. A planted newline or `::add-mask` / `::stop-commands` payload
stays on one escaped line.

```bash title="CLI job with inline annotations"
skillevaluator validate ./skills --tiers 1 -r cli,github
```

## HTML report

The HTML report is one self-contained file. It opens on the answer and puts
Expand Down
1 change: 1 addition & 0 deletions skills/skillevaluator/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Never print, echo, or commit API keys; keep them in the host environment.
| Everything, with one exit code | `skillevaluator validate <skill-dir>` | all of the above |
| CI-safe keyless gate | `skillevaluator validate <skills-dir> --profile default --tiers 1 -r json,markdown,sarif -o reports` | scanners |
| CI test report (JUnit XML) | add `junit` to `-r`, for example `-r json,sarif,junit` | same as the gate |
| GitHub Actions annotations | add `github` to `-r`, for example `-r cli,github` | same as the gate |
| Set up repo CI | `skillevaluator ci init` | GitHub checkout |

Full flag tables: [Tier 1](references/commands-tier1.md),
Expand Down
2 changes: 1 addition & 1 deletion skills/skillevaluator/references/commands-tier1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Global options go before the command: `skillevaluator -v validate <skill-dir>`.

| Flag | Default | Effect |
| --- | --- | --- |
| `-r, --report` | `cli,json,html` for `tier1 PATH`, `tier2 PATH`, `validate`; `cli` for focused commands | `cli`, `json`, `html`, `markdown`, `sarif`, `junit`; comma-separated or repeated |
| `-r, --report` | `cli,json,html` for `tier1 PATH`, `tier2 PATH`, `validate`; `cli` for focused commands | `cli`, `json`, `html`, `markdown`, `sarif`, `junit`, `github`; comma-separated or repeated. `github` prints to stdout and writes no file |
| `-o, --output-dir` | `reports` | Report directory |

Passing `-r` is honored exactly: `-r cli` writes no files. Basenames:
Expand Down
6 changes: 6 additions & 0 deletions skills/skillevaluator/references/reports-and-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Add `junit` to `-r` when the CI system shows native test reports (GitLab
`<skill>/skillevaluator-output-<timestamp>.junit.xml` per skill. JUnit
failures follow the same gate as the exit code.

Add `github` to `-r` when a GitHub Actions job runs the CLI itself and needs
inline annotations without uploading SARIF, for example `-r cli,github`.
The format prints to stdout and does not write a file. GitHub shows at most
10 error and 10 warning annotations per step; remaining findings are counted
on the closing notice.

Adopt progressively: run with `|| true` (advisory), then gate on Tier 1,
raise `--min-score`, add `--llm --tiers 1,2` with a masked provider secret,
and finally an advisory Tier 3 job (`--block-on-agent-eval` when ready).
Expand Down
Loading
Loading