Repository navigation
[skills] Close pr-commit-message gaps found in release message reviews - #4912
Conversation
Five completed release-PR message reviews needed the same kinds of
correction before they were usable, and each one traced back to a rule the
skill did not state. Add those rules and rebuild the eval set so the cases
actually test the judgement the reviews had to perform.
~~ Instruction gaps taken from the reviews ~~
A shared mechanism that every other topic routes through reads as plumbing,
so its guarantee gets distributed as a sentence per consumer and never gets
a home; it is now a topic when it carries a guarantee its consumers do not
own. A removal keeps its name, the behavior that left with it, and where
that responsibility moved, because the message is the only thing a future
search for the deleted name will find.
`Requires:` now names the immediate dependency. In a stack the earlier
ancestor explains context but is not what the change requires, which is how
two messages ended up requiring a grandparent PR.
A family of similar artifacts has to be enumerated member by member along
the dimension being generalized. Reading two of five workflows is what
produced "every workflow is one manual job" when a scheduled workflow and a
CI-only workflow were sitting in the same directory.
Coverage claims are now stated in the terms the assertions use rather than
the capability they gesture at, and safety adjectives such as read-only or
advisory are replaced by the specific thing that cannot happen and to which
neighboring system. Measurements are re-read at the current head, since a
number captured before a later push was true when observed and is wrong
now. Scope-negotiation notes are chronology and stop being true once the
follow-up lands.
Configuration splits and removals join the per-change-kind content list,
because an undocumented split reads as an inconsistency and the next reader
unifies it and reintroduces the failure it was preventing.
~~ Attribution and output shape ~~
A trailer the drafting environment would normally append is not evidence; a
run invented a Copilot noreply trailer from nothing on a PR whose evidence
recorded a single author. Trailers are also explicitly inside the fenced
block now, after a run placed one outside it where it would never reach the
commit.
~~ Evals rebuilt to discriminate ~~
The first eval pass scored 33/35 against 32/35 and proved nothing: the
prompts handed over the conclusions ("the difference is deliberate",
"cannot merge before it"), numbered the notes so the topic count was given
away, and one assertion hard-coded a section count from a single PR. Both
graders independently flagged the assertions as non-discriminating.
The seven cases now present raw evidence plus the stale claim that caused
the real correction: a PR description asserting a false universal that its
own trigger blocks contradict, a description requiring the wrong PR in a
stack, a reviewer inviting a config unification that previously let a
verification run pass against a build feed, and two revisions of a
measurement with no revision labelled current. Rerun scores 39/41 against
36/41 with no eval regressing, winning on direct stack dependency, shared
mechanism placement, and concrete safety claims.
Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
📦 Try the packages from this PRWarning Do not run these scripts without first reviewing the code in this PR. Step 1 — Download the packages bash / macOS / Linux: curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4912PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4912"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4912/packages --name skiasharp-pr-4912More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4912 |
📊 SkiaSharp benchmarks — PR #4912⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 40 slower · 🟢 7 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
📦 Artifact size reportPackages from this PR (build Total Packages
+39 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −144.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.2 MB (🟢 −80.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.6 MB (🟢 −64.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Three independent drafting runs against #4912 itself exercised the new rules on live evidence. Two of the three joined an eval-rebuild clause to the fact that #4908 needed no corrections, producing "rebuild the evals ... while retaining #4908 as a compact control". Both halves are true and the join is not: #4908 is a control case study in the audit, while the compact control is an eval fixture that never references it. The source invites the merge. This PR's own description uses "control case" for the unchanged review and for the compact eval a few paragraphs apart, and that is the ordinary situation rather than a special one. Baseline, fixture, and config carry the same hazard whenever a PR's evidence names two things by one role word. The mixed-truth check already covered the symptom but described only a fact joined to an unsupported qualifier, which does not prompt anyone to ask which of two same-named things a clause is about. Extend it to name that case, so the check fires while the sentence is being written rather than after a reviewer notices the join. A rerun after the change kept the two apart, describing #4908 as an unchanged review in the overview and the compact control as one of the seven eval cases, with the other fifteen ground-truth checks still passing. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
Description
Five completed release-PR message reviews (#4889, #4895, #4907, #4908, #4910) each needed the same kinds of correction before the message was usable. Auditing the pre/post pairs showed most corrections traced back to a rule the
pr-commit-messageskill never stated, rather than to one-off drafting slips. This adds those rules and rebuilds the skill's eval set so the cases actually test the judgement the reviews had to perform.Worked through the repository's
skill-creatorworkflow: snapshot the baseline, build a private pre/post evidence matrix, run with-skill vs baseline evals, grade with independent grader subagents, aggregate, and review.Instruction gaps closed (each traced to a specific correction):
release-statusruntime under-coveredRequires:is the immediate dependency; a stack ancestor isContext:#4908 needed no corrections and is kept as a control case, so the changes are checked against a PR the skill already handled well.
Net +44 lines in SKILL.md (+56/-12), which is now 352 lines against the 500-line guideline. Name, description, intent, and section structure are unchanged.
Related issues
None.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — repository skill and its eval set only. No public API, no runtime or build behavior, and no generated output changes. The
merge-messageworkflow reads.agents/skills/pr-commit-message/SKILL.mdat runtime and does not embed it, so no.lock.ymlregeneration is required.Testing
Evaluated with the
skill-creatorloop: 7 cases × 2 configurations (revised vs. the pre-edit snapshot), graded by independent grader subagents that were not told which configuration was which.The first pass proved nothing and is reported as such. It scored 33/35 vs 32/35, inside run-to-run noise. The evals were at fault: the prompts handed over the conclusions ("the difference is deliberate", "cannot merge before it"), the notes were numbered so the topic count was given away, and one assertion hard-coded a section count from a single PR. Both graders independently flagged the assertions as non-discriminating.
The cases were rebuilt to present raw evidence plus the stale claim that caused the real correction — a PR description asserting a false universal its own trigger blocks contradict, a description requiring the wrong PR in a stack, a reviewer inviting the config unification that previously let a verification run pass against a build feed, and two revisions of a measurement with neither labelled current.
At least equal on every eval, winning three. An arithmetic audit caught three grader summary miscounts, which were corrected downward before aggregation; the corrections are symmetric.
The wins are the targeted gaps. On the stack case the baseline left
#5205in body prose and emitted noRequires:line for it — the exact #4907/#4910 failure — while the revised skill emitsRequires: acme/toolbox#5205. On the shared-mechanism case the baseline folded the guard layer in with the test harness; the revised skill gives it its own home. On the safety case the baseline led with "safe to run" before giving concrete permissions.Both configurations already refused the false universal and the overclaimed coverage, so those two additions are insurance rather than proven wins on this set. Neither caused a regression, and the control case stayed compact in both.
The eval runs also caught two real defects in the revised skill, both fixed and re-verified: a run invented a
Co-authored-by: Copilot <…@users.noreply.github.com>trailer from no evidence, and a run placed a trailer outside the fenced block where it would never reach the commit. After the fixes, the two trailer-sensitive cases re-ran at 7/7 and 6/6.Live validation on this PR
The skill was then run against this PR itself — four independent agents, the
plain prompt "give me a commit message for the pr 4912", graded by a script that
re-derives ground truth from the live PR (2 changed files, 0 closing issues,
2 commit authors, 0 human reviewers). All four passed 15/15 mechanical checks.
Two traps were avoided every time: the bot-reported -414.5 KB package-size
delta, which a docs-only PR cannot cause, and the superseded 33/35 eval figures
that sit in this description beside the shipped 39/41.
Two runs then produced the same semantic defect independently — joining an
eval-rebuild clause to the fact that #4908 needed no corrections, because this
description happens to use "control case" for both #4908 and the compact eval.
The mixed-truth check covered the symptom but not the cause, so it now names the
case where two entities share a role word. The two follow-up runs kept them
apart, one stating the distinction outright. That is the second commit.
A third finding was recorded and deliberately not encoded: one run asserted an
unsupported detail about where
release-statusresponsibilities moved. It didnot reproduce, and patching on a single sample is the overfitting this PR
otherwise avoids.
Validated with
skill-creator/scripts/quick_validate.py("Skill is valid!"). No rendering change, so no screenshots apply.Checklist
Changesabove lists all public API and behavioral changes (or "None.")mono/skiaPR linked above and bindings regenerated