Skip to content

fix(ci): use a neutral default validation policy - #334

Merged
rng1995 merged 5 commits into
mainfrom
feat/christopherk/oss-default-policy
Nov 5, 2026
Merged

rng1995 merged 5 commits into
mainfrom
feat/christopherk/oss-default-policy

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

The OSS CI image applies one validation policy to public and private repositories, but reports label it external. This suggests an internal/external choice that the OSS package does not provide.

Use default as the canonical policy name and retain --profile external, --external, and the old environment value as compatibility aliases. Identity constraints, finding severities, quality thresholds, scanner selection, and report access controls are unchanged. New JSON/HTML/Markdown reports identify the policy as default with audience all; the policy digest changes with that metadata. Existing saved reports are not rewritten.

The shared GitHub/GitLab runtime explicitly selects default. Source templates and guides explain that no internal/external CI input is required and that report visibility is configured separately. The YAML rules remain in one packaged config/profiles/default.yaml file. Consumers pinned to an old image retain its previous label until a newly built image is released and adopted; this PR does not change published images or archived release bundles.

Validation

  • 823 focused policy, CLI, schema, quality-gate and CI tests passed; 2 skipped.
  • Smoke-harness checks: 60 passed, 2 skipped, including rejection of incorrect policy evidence.
  • New compatibility tests were observed failing before the fix.
  • A clean wheel includes only profiles/default.yaml. Installed into an isolated Python 3.12 environment: 15 real CLI runs verified default/legacy names, environment precedence, author failures, blocked licensing, and JSON/HTML policy output.
  • Independent source review found no blocking defects and passed 11 additional real CLI compatibility/overlay cases.
  • Ruff and whitespace checks pass. Fern reports zero errors; the historical redirect comparison warns because FDR returns 403.
  • Full local suite: 21,519 passed, 30 skipped (Python 3.13).
  • Real Linux container verification passed all five scenarios: full scan, deliberate schema failure, one changed skill, no changed skills, and missing LLM key. Retained JSON and HTML from all five evaluated skill reports identify the canonical default policy. The workflow tested PR head cfa6410d06d879a18c78228d009eaff915d24fc3 through its merge revision 79542c2a60c265b16ab80cdad79823e651746117.
  • A second independent assessment confirmed that the OSS package needs no internal/external selector and that policy naming does not account for unrelated scanner failures.
  • Remaining required upstream test-matrix jobs are queued/running. No package or image was published; the PR is ready for review, not cleared for merge.

Scope: naming and configuration clarity only. This does not resolve unrelated scanner-completeness or PII findings.

@chrisknvidia
chrisknvidia marked this pull request as ready for review November 4, 2026 00:24
@rng1995
rng1995 enabled auto-merge (squash) November 5, 2026 18:06
@rng1995
rng1995 merged commit 03a7c22 into main Nov 5, 2026
22 checks passed
@rng1995
rng1995 deleted the feat/christopherk/oss-default-policy branch November 5, 2026 18:46
rng1995 added a commit that referenced this pull request Nov 5, 2026
Resolve the src/skillevaluator/cli.py and docs/cli-reference.mdx
conflicts: keep this PR's new --pii-waivers option and add main's reworded
--profile help (#334, default profile with external as a compatibility
alias) after it.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rng1995 rng1995 mentioned this pull request Nov 6, 2026
7 of 8 tasks
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.

2 participants