Repository navigation
feat(ci): add LLM security, gateway agents and benchmark PRs - #439
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…hmarks Signed-off-by: Narendran Raghavan <[email protected]> # Conflicts: # CHANGELOG.md # src/skillevaluator/_ci_onboarding_all_tiers.py
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
CI review: source/package checks fail on the repository-specific gateway secret mapping. The fix will preserve the generic gateway contract and the existing OSS boundary checks. Enriched Tier 1 separately reports provider rate/quota failures and remains blocking until valid LLM evidence is available.
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Review at 0a24315: 3 P2 and 3 P3 inline. The PR's focused suites (227 tests) pass locally. The issues sit in paths the test fakes don't model: live GitHub base.repo metadata, the tier1-llm job's reduced environment, and GitLab scheduled default-branch pipelines.
rng1995
left a comment
There was a problem hiding this comment.
Follow-up CI review: the full Python 3.13 run reaches 26,455 passing tests but fails the frozen CLI surface contract. The new onboarding flags are intentional; their reviewed snapshot must be updated alongside the CLI.
- Compare stable PR identity before updating the benchmark PR. GitHub returns base.repo as the live repository, and the publisher's own branch push changes its pushed_at. - Skip, rather than fail, a publisher whose default-branch run a newer push superseded, matching the later guarded checks. - Accept unrelated repository tree paths; written card and receipt paths keep their _safe_path checks. - Validate the embedding route only for Tier 2, so the Tier 1 image job works with an openai-compatible base provider and tier1-provider. - Run GitLab enriched Tier 1 only for push and web default-branch pipelines, matching admission. Scheduled, API and trigger pipelines keep the keyless baseline instead of failing the required gate. - Name the read-token remedy when default-branch admission cannot read the branch, and document that it uses the same credential choice. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Review and CI repair updateMerged the concurrent review corrections without rewriting either branch. Current head: All reported findings are addressed: stable benchmark PR identity checks, normal stale-run skips, unrelated Git filenames, independent tier model routing, GitLab event/admission parity, default-branch read-token guidance, and the intentional CLI snapshot update. Independent scoped review found no further actionable issues. Validation:
The first full local run found the CLI snapshot drift and a 100 ms child-startup assumption in the timeout diagnostic test; both were reproduced and corrected. The status test file passes sequentially (158 passed, 2 skipped). A separate unchanged Fresh GitHub CI is running on the final head. Previous-head native evidence verified enriched Tier 1 and complete Tier 2, but cancelled Tier 3 runs retained only incomplete wrapper manifests. I am not treating those advisory results as completed paired evaluation. Only Tier 1 remains blocking. The documented activation requirements remain: the updated trusted listener must reach the default branch, and eligible benchmark publication requires a compatible Tier 1 image carrying required-check scope. No release or image publication was performed. Final verified resultEvery workflow is green on
Separate publication follow-upExecution success is not publication eligibility. The released Tier 1 image still needs the documented required-scope serialization upgrade. Live evidence also revealed an unrelated policy mismatch already present on A separate reporting-policy/rendering fix should validate explicit per-arm N/A, preserve complete paired coverage and source/provenance checks, use the native paired lift basis, and retain rejection of unmarked missing metrics. The retained native artifact reproduces this offline; another evaluation is unnecessary to diagnose it. Current benchmark cards remain honestly incomplete, and no eligible benchmark-update PR is claimed. Automatic feedback still requires merging the updated trusted listener onto the default branch. Latest merge updateMerged main |
rng1995
left a comment
There was a problem hiding this comment.
Review completed with independent subagents. All eight discussion threads are resolved; concurrent corrections and both regression sets were preserved. Every workflow is now green on d07e02a. Native artifacts verify all 13 Tier 1 checks, completed Tier 2, and 32/32 paired Tier 3 trials with the configured agents/models; the targeted retry reused Tier 2/3 producing attempt 1. Full validation and report links: #439 (comment) . Separate publication prerequisites remain documented: the released image scope upgrade and a pre-existing N/A-baseline/paired-lift reporting-policy mismatch. Execution success is not being represented as publication eligibility.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Brings in #441 (path-filtered all-tier caller). The conflict in skill-feedback-all-tiers.yml keeps this branch's e56ced7 pins and the benchmarks job, and moves trusted-caller-blobs on both jobs to da786a5, the blob of the merged path-filtered skill-checks-all-tiers.yml. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Brings in the 37 main commits through #440. #443 moved the all-tier CI sections out of docs/cli-onboarding.mdx, github-actions.mdx, gitlab-ci.mdx and reports.mdx into ci/templates/all-tiers/README.md. Those pages now match main, and this branch's edits to the moved sections are re-applied in the README at the same text (the line sets added and removed are identical). The new "LLM security, gateway agents and benchmark cards" subsection closes the README's GitHub section, and links into it now use the README. CHANGELOG keeps this branch's entry and every main entry, with this branch's wording for the model-settings line. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
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]>
Keeps both Unreleased/Added CHANGELOG entries (NeMo Gym backend and CI onboarding/benchmark PRs from #439). No other files conflicted. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it (#712) Every push to main and every pull request showed the "Skill checks (all tiers)" workflow as failed with no jobs. GitHub's error was: Invalid workflow file: .github/workflows/skill-checks-all-tiers.yml#L24 error parsing called workflow ".github/workflows/skill-checks-all-tiers.yml" -> "NVIDIA/SkillEvaluator/.github/workflows/evaluate-all-tiers.yml@80ef7b6..." : workflow was not found. The caller pinned the reusable workflow to 80ef7b6, a commit from the pull-request branch of #468. That commit is reachable from no branch or tag since the squash merge, and GitHub resolves a called workflow only at a reachable commit, so every run since the merge failed before any job started. The feedback caller pins the same commit and would fail the same way once the scan workflow runs again. The previous pin, e56ced7 from #439, was orphaned the same way. Pin both callers to ba7779a, the workflow_ref and tools_ref of the committed 0.9.0 release descriptor, which is on main, and move the Tier 1 image to the same release's digest so the callers match what the all-tier onboarding writes today. Refresh trusted-caller-blobs for the edited scan caller. Add a test that the repository's own callers pin a revision named by a committed release descriptor, which rejects pull-request branch commits before they are merged. Signed-off-by: Christopher Kevin <[email protected]>
Summary
Extend three-tier CI onboarding with protected Tier 1 LLM/SkillSpector checks, independent gateway-backed Claude Code/Codex execution, and source-bound
BENCHMARK.mdreports with optional benchmark-update PRs. Consumers still commit two thin CI entry files; shared execution, provisioning and publishing remain upstream.Builds on merged #349 (three-tier onboarding/reporting), #408 (Docker-free GitLab Tier 2) and #409 (SkillEvaluator self-CI). This is a new follow-up against current
main.Evaluation behavior
--llm/SkillSpector, verification and rubric checks in the hardened imageAn admitted Tier 1 LLM run cannot fall back to a passing static result when enriched evidence fails. Incomplete Tier 2/3 evidence stays visible without failing the merge gate.
Onboarding and reporting
--benchmark-pr; existing default callers remain compatible.BENCHMARK.mdbeside each skill's report, linked from the aggregate index. Preserve the compact PR summary and one combined report link per skill.main.Trust and self-CI configuration
Review follow-up fixes
e56ced7f, including latest main6e117792, with both exact caller approvals refreshed.Latest main merge
Resolved the changelog conflict while preserving both feature entries. Commit
e56ced7fmerges main6e117792;0169971bpins evaluation, feedback andonboarding to that merged runtime and refreshes both exact caller approvals.
GitHub reports the PR mergeable. Focused verification passed 652 integration
tests and 107 workflow tests (plus a fresh caller-binding check); Ruff,
OSS boundary and Fern checks passed. The new head's CI is running.
The full live-evaluation evidence below belongs to the previously verified
d07e02aahead; it is not a claim that the new merge's CI has completed.Verification
Activation and remaining validation
Live execution verified. Gateway protocol/model access and all 32 paired Tier 3 trials were independently checked in native artifacts; a green advisory wrapper alone was not used as proof. The self-CI collection has one skill, so it cannot establish inter-skill live acceptance.
The released Tier 1 image predates the required-check scope serialization fix. Its evidence may remain publication-incomplete until a compatible image is released; this PR does not invent coverage or publish an image.
The completed run also exposed a pre-existing publication-policy mismatch:
standard no-skill baselines explicitly mark discoverability/efficiency N/A, but
reporting/base.pyrequires numeric values for every baseline dimension andcompares full-score subtraction instead of the native paired-metric lift.
Those files are unchanged by this PR. A separate reporting-policy/card-rendering
fix is needed before these otherwise complete native results become publication
eligible; current cards correctly stay incomplete. This is separate from the
released Tier 1 image prerequisite above.
The updated trusted listener must reach
mainbefore it accepts the new caller revision and posts automatic feedback. An actual benchmark-update PR additionally requires eligible evidence from a subsequent current default-branch run. GitHub Actions PR creation is enabled for this repository.Release impact
CHANGELOG.md.