Repository navigation
Add manually triggered skill evaluations - #68832
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 778498c0-44d7-45d1-adb9-419eb6319b84
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow and supporting scripts to validate and run “skill evaluations”, including a smoke-mode experiment, PR-triggered /evaluate activation, serialized model execution, and a post-run “skilled” quality gate.
Changes:
- Introduces
.github/workflows/skill-evals.ymlto validate skill-eval assets on PR/push and to run serialized PR-bound evaluations via/evaluateor workflow dispatch. - Adds a smoke experiment spec (
skills-smoke.experiment.yaml) and extends the runner (run.ps1) to accept an explicit-Experiment. - Adds a results gate (
assert_results.ps1) plus self-tests to enforce “skilled variant meets threshold and is complete”.
Show a summary per file
| File | Description |
|---|---|
| eng/skill-evals/test_run.ps1 | Extends runner self-test to cover -Experiment selection. |
| eng/skill-evals/test_assert_results.ps1 | Adds self-test coverage for the new results-gating script. |
| eng/skill-evals/skills-smoke.experiment.yaml | Defines a 1-run-per-stimulus smoke experiment variant for infra validation. |
| eng/skill-evals/run.ps1 | Adds -Experiment support and wires the new assert-results self-test into Test. |
| eng/skill-evals/README.md | Documents hosted workflow behavior, PR activation flow, and smoke vs full semantics. |
| eng/skill-evals/assert_results.ps1 | Adds a “skilled-only” quality gate over Vally outputs (count, completeness, threshold). |
| .github/workflows/skill-evals.yml | Adds the hosted workflow for validation, PR gating/authorization, serialized execution, and reporting. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 7/7 changed files
- Comments generated: 4
- Review effort level: Lite
Co-authored-by: Copilot App <[email protected]> Copilot-Session: d1daef07-470c-42a4-a77f-5401116943ec
|
Nice work — the security model here is more carefully reasoned than most Two things I'd like to resolve before this goes in, then one suggestion for later. 1. Is
|
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…-trusted-skill-eval
JanKrivanek
left a comment
There was a problem hiding this comment.
Overall looks good!
I have 2 comments from agentic review
Co-authored-by: Copilot App <[email protected]> Copilot-Session: d1daef07-470c-42a4-a77f-5401116943ec
Co-authored-by: Copilot App <[email protected]> Copilot-Session: d1daef07-470c-42a4-a77f-5401116943ec
Co-authored-by: Copilot App <[email protected]> Copilot-Session: d1daef07-470c-42a4-a77f-5401116943ec
Co-authored-by: Copilot App <[email protected]> Copilot-Session: d1daef07-470c-42a4-a77f-5401116943ec
|
@lewing thanks, both concrete issues are addressed. The model job now stages The reporter condition now uses |
Summary
Model-bearing evaluations never run automatically. PR and push events only perform model-free validation; model runs require an explicit
/evaluate <sha>PR comment or a manual Actions dispatch.Validate,Test,Lint, and model-bearingSmoke/Fulldispatch.write,maintain, oradmin; fork-controlled content is rejected.COPILOT_PAT_0to the Vally execution step, serialize the PAT-backed lane, retain raw artifacts for seven days, and publish commit statuses and PR comments.Same-repository
write,maintain, oradminaccess is the authorization boundary for selecting and running a host workflow revision, matching the sharedcopilot-pat-poolmodel. Trusted-control-plane staging prevents candidate exact-SHA content from replacing runner, assertion, or central experiment code, but it does not defend against a trusted writer deliberately modifying the selected host workflow itself. The PAT's single Copilot Requests permission, public-repository restriction, and short expiry bound that accepted risk. Environment branch policies or required reviewers remain optional broader hardening to apply consistently across all consumers of the shared environment.Validation
actionlint .github/workflows/skill-evals.ymlgit diff --checkpwsh -NoProfile -File ./eng/skill-evals/run.ps1 Testpwsh -NoProfile -File ./eng/skill-evals/run.ps1 ValidateHosted fork canary:
Smoke validates the pipeline and result gates; it is not a substitute for Full quality evidence.