Repository navigation
fix(ci): apply reviewed baselines and preserve scan completeness evidence - #453
Merged
Merged
Conversation
…ence Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
marked this pull request as ready for review
November 11, 2026 00:41
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 11, 2026 00:41
This was referenced Nov 11, 2026
Merged
Closed
2 tasks done
rng1995
added a commit
that referenced
this pull request
Nov 12, 2026
main's security-baselines option (#453) reaches only the keyless Tier 1 scan. With tier1-llm enabled, the enriched job's evidence replaces that scan for the required gate, so reviewed baselines were silently dropped from the gate. The enriched path now applies the same opt-in: - run_tier1_image.py accepts only true/false and requires an exact POLICY_SOURCE_SHA when true. It forwards both to the image, and never forwards an inherited policy commit when baselines are off. - On GitHub, tier1-llm passes the same SECURITY_BASELINES and POLICY_SOURCE_SHA as evaluate-skills.yml, and keeps the candidate checkout's blobs when baselines are on, because the image cannot fetch. - On GitLab, the enriched job resolves the trusted policy commit with the same prepare_security_baselines.py block as the keyless job. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
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.
Reusable CI did not forward reviewed per-skill security baselines and could mark a scan incomplete even when SkillSpector inspected every bundled file. This change adds opt-in baseline support for GitHub and GitLab, preserves authored evaluation inputs, and keeps missing-reference caveats visible without treating them as uninspected bundled files.
evals/and.evals/files remain in scanner input. The reference-only exception requires complete file/analyzer coverage and retains the original partial verdict. Coverage gaps, analyzer failures and blocking findings still fail.metadata.authorattribution. Additional contact addresses remain subject to PII checks; there is no domain-wide exemption or PII-waiver forwarding.Validation at
c1e03a029a0cc3126fea91434e527a56f14817b1:The private hosted test changes only registry authentication for its unpublished image; scanner and reporting behavior are unchanged. Hosted GitLab execution, private Pages, automated PR comments and a live optional LLM-verifier call were not exercised. GitLab policy selection was tested against real local Git repositories.
This PR does not publish an official image or alter released bundles. Rollout requires a supporting release/image and updated shared-component pins. Consumer policy files remain in each consumer repository.