Skip to content

ci: add static SkillSpector workflow - #24

Open
brenorb wants to merge 1 commit into
mainfrom
feat/skillspector-ci
Open

brenorb wants to merge 1 commit into
mainfrom
feat/skillspector-ci

Conversation

@brenorb

@brenorb brenorb commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a dedicated SkillSpector GitHub Actions workflow
  • run static SkillSpector scans per skill through uvx so baseline suppressions apply reliably
  • commit a baseline file for the current static findings so CI catches regressions instead of failing on the existing backlog

Verification

  • ran ./scripts/run_skillspector.sh locally

brenorb commented Oct 27, 2026

Copy link
Copy Markdown
Owner Author

Upstream review: make the new-findings gate explicit

This is material compatibility work for this PR, so I am keeping it here instead of opening a duplicate issue.

Baseline: PR head a67746d06156c4efc4c19af81ce114eaa33b0d24, scripts/run_skillspector.sh scans each skill with --no-llm --baseline, without --fail-on-findings. Main skill reference has the same pattern.

Upstream: NVIDIA/SkillSpector #469, merged d6786033835c803d01b09ce11f587b5d4b276a26; reviewed CLI at d7338f5.

The new opt-in --fail-on-findings makes active findings below the aggregate risk threshold fail too. Without it, the proposed CI can miss low-risk new findings despite promising regression gating. This does not mean all findings otherwise return zero; the aggregate-risk gate still exists.

The current CLI also explicitly rejects --recursive --baseline, rather than merely honoring it inconsistently. Shipped baselines are reported but not applied by default; keep trust/acceptance explicit.

Requested update

  • Use a tested revision supporting --fail-on-findings for the per-skill regression gate; retain explicit baseline policy.
  • Align the main skill and reference with the exact exit-code, recursive-baseline rejection and shipped-baseline trust behavior.
  • Pin/record the tested upstream revision instead of silently assuming every installed version supports the flag.

Acceptance

  • A below-threshold unsuppressed finding causes CI failure.
  • A fixture with only accepted baseline findings passes.
  • Scan execution errors remain distinguishable from findings.
  • Tests cover recursive+baseline rejection and baseline trust behavior; repository skill validation passes.

Reviewed existing FS open/closed issues/PRs and this conversation on 2026-10-27; this PR is the matching work item.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant