Repository navigation
feat(ci): add three-tier onboarding and private report feedback - #349
Merged
Merged
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
marked this pull request as ready for review
November 5, 2026 21:50
rng1995
requested review from
chrisknvidia,
mosheabr and
rmalani-nv
as code owners
November 5, 2026 21:50
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…nboarding Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…nboarding Signed-off-by: Narendran Raghavan <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
force-pushed
the
naren/three-tier-ci-onboarding
branch
from
November 7, 2026 15:12
e32cc96 to
98ee2bf
Compare
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
enabled auto-merge (squash)
November 9, 2026 17:06
This was referenced Nov 9, 2026
This was referenced Nov 9, 2026
Merged
Merged
10 tasks done
This was referenced Nov 11, 2026
Merged
rng1995
added a commit
that referenced
this pull request
Nov 12, 2026
…s and summarize affected artifacts (#460) * feat(tier1): name SkillSpector AE1 findings and say why each file was not inspected SkillSpector reports a High AE1 (incomplete referenced artifact analysis) finding at each line that names a file it did not completely inspect. The finding said only "Referenced artifact was not completely inspected", so the reason had to be matched by hand against the incomplete-analysis error. With SkillSpector before v2.12.0 it was titled "Unknown (AE1)" and suggested making the file available although SkillSpector had read part of it. The new skillspector_references module projects the finding's evidence: the target, its disposition and up to 16 reasons, read from the ledger rows of earlier releases, with bounded, redacted text and paths kept only inside the scan. The suggestion names the file and each reason, and the result counts the files and reference lines in skillspector_reference_summary and one message, also across the --llm stage and a folder of skills. Severities, completeness and gates are unchanged. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(reporting): count incompletely inspected referenced files in failed Tier 1 reports When the security check fails, the full and compact terminal output, the Markdown report and the HTML report add one line that counts the files SkillSpector did not completely inspect and the lines that name them. The JSON report records the counts in skillspector_reference_summary, with only its three count fields. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier1): describe the reasons and counts of SkillSpector AE1 findings Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier1): drop AE1 reason limits too large for a float A reason's limit that is an integer beyond the float range raised OverflowError in math.isfinite, so the scan returned no result. Check the type and range first and call math.isfinite only for floats, so such a limit is left out like any other out-of-range value. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier1): keep the AE1 count line out of passing results The count of incompletely inspected referenced artifacts was also added to the result's messages. A policy that lowers the AE1 findings, or --verify-llm, can pass a complete scan, and reporters list a passing result's messages as passed checks, so the Markdown, HTML and terminal reports showed the count as a success. Every reporter already renders the line from the skillspector_reference_summary metadata, and only for a failed result, so the message is dropped. JSON still records the counts for every result. Also pin that a severity override for a SkillSpector report before v2.12.0 matches the rule's name, not "Unknown (AE1)". Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * perf(tier1): normalize each AE1 path and text once per SkillSpector report Every reference line and reason of every AE1 finding went through redaction, and every absolute path resolved the scan root again. A report with thousands of AE1 findings that repeat the same lines took seconds instead of a fraction of one. ReportNormalizer keeps, for one report, the redacted form of each distinct text and the in-scan form of each distinct path, and resolves the scan root at most once. _process_skillspector_cli_result builds one and passes it to the ledger index and to every issue it converts. report_path keeps its behavior for a single path. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(reporting): prefix AE1 reference lines with their skill in folder results merge_with_prefix put the skill's [name] prefix on each finding's path and on the PII scan's metadata occurrences, but not on the skillspector_occurrences of an AE1 finding. In a folder report a JSON reader could not tell which skill a listed reference line was in without the finding's own path. Prefix those lines the same way; the referenced file's target_path stays relative to the named skill. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(reporting): say the AE1 count line names any reasons SkillSpector gave The count line ended "each AE1 finding names the artifact and why its analysis stopped", but a finding counts whenever SkillSpector names its file, even with an empty reason list and no ledger row for the file. Say instead that each finding names the artifact and any reasons SkillSpector gave. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor(reporting): import the AE1 count formatter where cli and markdown use it The module-level imports in reporting/cli.py and reporting/markdown.py sat in the same import slot that several open pull requests also add to, so each of those merges would conflict on one line. Import reference_summary_message inside the method that uses it, as html.py already does. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier1): note the AE1 check-name change for severity overrides With SkillSpector before v2.12.0 the AE1 check name changes from "Unknown (AE1)" to "Incomplete referenced artifact analysis (AE1)", so a severity_overrides entry keyed on the old name no longer matches and the SARIF rule ID changes. Say so in the CHANGELOG and the Tier 1 docs, and soften "gates are unchanged" to the one case where a gate can change. Also say that JSON records the counts for every result, while the other reports show them only for a failed one. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor(reporting): register the AE1 count filter first in the HTML environment Two sibling port branches add a filter after skip_reason, where this branch also added one, so each merge conflicted on one line. Register skillspector_reference_summary before the other filters instead. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier1): keep the measured run time out of AE1 suggestions A finding's suggestion is part of its finding_id, which the docs say stays the same across runs. The AE1 suggestion listed every limit of a reason, including observed_seconds, the wall-clock time SkillSpector records with a runtime_limit reason. Each run of a scan that hit the runtime budget gave the finding a new finding_id, and with --llm the two stages' copies of one reference line counted as two unique findings when the second stage was incomplete. The suggestion now leaves out observed_seconds; the finding's metadata still records it. Reasons that differ only in the run time are described once. The CHANGELOG notes that AE1 finding_id values change once because the suggestion text is new. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(reporting): keep the AE1 count line in reports rendered from retained JSON CI renders its HTML and Markdown reports again from the JSON report through retained_results, which rebuilds each result's metadata from named fields. skillspector_reference_summary was not one of them, so a failed Tier 1 result lost the count line in every report that CI published, although the docs and the CHANGELOG say the Markdown and HTML reports show it. retained_results now copies the record through reference_summary_record, so only valid counts are kept and a malformed record is dropped. The hunk sits after the scanners block, apart from the lines that open PRs #333 and #349 change in this function. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(tier1): keep the time budget out of AE1 suggestions SkillSpector sets a runtime_limit reason's limit_seconds to the part of the scan's time budget left when the step began: for each file that YARA did not reach and for the dependency analysis of a lockfile. The value differs from run to run like observed_seconds, so an AE1 finding with such a reason got a new finding_id on every run. Leave every *_seconds limit out of the suggestion and its grouping key. The finding's metadata keeps both values. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(tier1): say beside the counters that AE1 counts are totaled like them The sentence on the AE1 counts followed the paragraph on reference and target roots, so "the same way" read as the target-root rule. It now sits in the paragraph on the applicability counters. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: Narendran Raghavan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
5 of 9 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Onboard all three SkillEvaluator tiers in a consumer repository’s CI with two thin files and one current-head PR/MR summary comment. Execution, runtime provisioning and reporting stay upstream. Existing Tier 1-only consumers remain supported.
Only Tier 1 blocks CI. Tier 2 and Tier 3 are advisory, including failed and incomplete outcomes. Each skill gets one summary-table row with the three named tiers, a one-line status/issue count/key finding, and one combined Report link.
User workflow
skillevaluator ci init --tiers 1,2,3locally inside the consumer checkout.ci statuschecks configuration; optional localci demoopens a small test PR/MR.Onboarding commands do not run during normal evaluations. Automatic feedback starts after the trusted publisher reaches the default branch. Released 0.8.0 bundles remain Tier 1-only; candidate onboarding automatically selects its bundled schema-version 2 descriptor.
Evaluation and reports
index.html.Trust and compatibility
Candidate workflow/tools/feedback source:
472e8becc289a2dc1131e550ebd335c08249918d; native runtime version and lock digest match that source. The reviewed Tier 1 image remains independently pinned.Validation
ci initpreview/save passed without--releaseor API calls and generated exactly two workflow files.FERN_TOKEN.Live consumer evidence — earlier candidates
Existing screenshots and exact onboarding command logs.
Outstanding validation and follow-ups
No verified end-to-end CI run has completed all three evaluations successfully. Complete paired Docker Tier 3 remains unverified after judge HTTP 429 and OpenCode EPIPE failures (upstream issue). Local paired evaluation completed one skill (4/4); the second remained partial (3/4). Complete credentialed acceptance in both supported modes before promoting the all-tier release.
Potential separate PRs:
Public starter/demo work already exists in #374; no duplicate is needed. Cloud/Kubernetes onboarding is excluded. This PR remains unmerged.