Skip to content

[release] Resolve BAR packages for release approval - #4907

Merged
mattleibow merged 8 commits into
mainfrom
mattleibow-release-testing-split
Sep 1, 2026
Merged

mattleibow merged 8 commits into
mainfrom
mattleibow-release-testing-split

Conversation

@mattleibow

@mattleibow mattleibow commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Makes release testing the human approval gate for the exact package family from a completed release Build/Tests/BAR before the team publication pipeline publishes it.

  • Queries Maestro with Darc for the exact SkiaSharp version and requires an explicit BAR ID when more than one build produced it.
  • Resolves the BAR asset's per-build NuGet location to its GUID-backed V3 feed and flat-container endpoint.
  • Downloads SkiaSharp, SkiaSharp.HarfBuzz, and the bridge's concrete HarfBuzzSharp dependency from that feed, then requires all three packages to identify the selected BAR's source branch and commit.
  • Pins the package versions and GUID feed in every emitted host/device runner command and propagates the feed through root, generated, and Docker restores.
  • Preserves the complete platform matrix, visible progress, collect-all failure handling, repair/retry pass, artifact review, and release-approval report.
  • Keeps Python for testable subprocess heartbeats and device cleanup while splitting Darc and NuGet concerns into typed adapters and removing unused receipt fields.
  • Replaces preparation with a small guarded PowerShell script plus a behavioral safety test.
  • Accepts Appium and platform drivers at or above tested minimums through Appium's npm-aware, non-installing launcher. Mac2 4.1.1 is the minimum because it contains the Xcode 27 fix from appium/mac2-driver#411.
  • Creates release-owned Android AVDs on the next free emulator port, leaving existing devices untouched unless --device-id explicitly selects one.
  • Adds release-testing and integration paths to the release-tooling CI workflow.
  • Never publishes packages, changes BAR state, creates tags/releases, or merges code.

This follows the repository-owned release coordination merged through #4889 while keeping package selection and publication in the team-owned pipeline.

Related issues

Related to #4889.

Required skia PR

None.

Areas affected

  • Managed API (binding/)
  • Native / C API (externals/skia/src/c, include/c)
  • Generated P/Invoke bindings
  • Native dependency or Skia update (libpng, HarfBuzz, FreeType, zlib, milestone bump, …)
  • Views & integrations (MAUI, Uno, WPF, WinUI, Blazor, …)
  • Rendering output / visual behavior
  • Performance
  • Tests
  • Build, packaging, or CI
  • Documentation or samples

Changes

None — release-testing automation and guidance only; no public API or product runtime behavior changes.

Testing

  • 38 release-testing Python tests pass.
  • The guarded PowerShell preparation behavior test passes; the script restores tools, clears only integration output, and preserves sibling output.
  • The release-testing skill, Python compilation, integration harness build, workflow YAML, and whitespace checks pass.
  • Build 3060533 and Tests run 3062775 succeeded for 4.150.3; Tests consumed that exact Build resource.
  • Live Maestro resolution selects BAR 329644, build 4.150.3+20260828.7, source release/4.150.3@f8a404ff3375872d042404a29189ceb8e3001a41, GUID feed 8bf0dc6d-5564-4f8e-8ff2-8167b63c6306, and HarfBuzzSharp 14.2.1.3. All three package anchors agree with that source.
  • Stable 4.150.3 results: smoke 3/3, console 2/2, Linux 2/2, Blazor 2/2, Android 37.1 2/2, Mac Catalyst 2/2, iOS 18.6 2/2, and iOS 26.5 2/2. Android, iOS, and Mac Catalyst were rerun successfully with Appium 3.7.0, UiAutomator2 8.5.0, XCUITest 12.8.0, and Mac2 4.2.0.
  • Android 26 remains blocked because its ARM64 image is absent and installation was declined. Windows requires another host. Representative Android, iOS, and Mac Catalyst images were manually reviewed and rendered correctly. Release approval remains blocked by those missing matrix legs.
  • Prerelease resolution and execution were validated with exact RC package 4.152.0-rc.1.26426.14 from BAR 328857. Smoke, console, Linux, Blazor, Android 37.1, iOS 18.6, and iOS 26.5 passed; Android 26, Mac Catalyst under the then-installed old driver, and Windows were recorded as blocked rather than overstated as completed.
  • Upstream appium/mac2-driver#411 and release 4.1.1 were checked before removing the Xcode workaround.
  • Independent reviews supported retaining Python for subprocess heartbeats, command round-tripping, mocking, and cleanup while simplifying the planner.
  • No package publication or BAR/release-state mutation was performed.

Checklist

  • Tests added or updated
  • Changes above lists all public API and behavioral changes (None)
  • New/changed public API? N/A — no public API changes
  • Native change? N/A — no native change or companion mono/skia PR required

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

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 -- 4907

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4907"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4907/packages --name skiasharp-pr-4907
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-4907

@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

📊 SkiaSharp benchmarks — PR #4907

No ⭐ source-build (pr) benchmark results were produced for this run, so there is nothing to compare yet. The source-build legs are best-effort and may be skipped (native unchanged) or may have failed — see the run for details.

📈 View the benchmark run & perf-dashboard artifact →

@mattleibow

This comment has been minimized.

@mattleibow
mattleibow changed the base branch from mattleibow-release-tooling-inventory to mattleibow-milestone-maintenance-split September 1, 2026 03:40
@mattleibow
mattleibow force-pushed the mattleibow-release-testing-split branch from 9332814 to 751cdac Compare September 1, 2026 03:40
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-release-testing-split branch from 751cdac to f4a2031 Compare September 1, 2026 11:41
Base automatically changed from mattleibow-milestone-maintenance-split to main September 1, 2026 12:07
@mattleibow
mattleibow force-pushed the mattleibow-release-testing-split branch from f4a2031 to 453c17f Compare September 1, 2026 12:08
@mattleibow

This comment has been minimized.

@mattleibow

This comment has been minimized.

@mattleibow mattleibow changed the title [release] Make smoke testing use public packages [release] Make release testing the CI package approval gate Sep 1, 2026
@mattleibow

This comment has been minimized.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Site
🔗 View Staging Docs
🔗 View Staging Gallery (Blazor)
🔗 View Staging Gallery (Uno Platform)
🔗 View Staging SkiaFiddle

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1577607) vs the latest nightly baseline 4.152.0-nightly.47 (observed 2026-09-01).

Total .nupkg size: 569.6 MB → 569.2 MB (−422.7 KB, -0.1%)

Packages

⚠️ marks growth over 500.0 KB or 2%. Changes under 50.0 KB are treated as noise.

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.WinUI 109.1 MB 108.5 MB 🟢 −577.1 KB -0.5%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 69.7 MB 🔴 +84.9 KB +0.1%

+39 package(s) unchanged (< 50.0 KB).

Per-file changes

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.4 MB (🟢 −96.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.6 MB (🟢 −80.0 KB)
runtimes/win-x86/native/libGLESv2.pdb 67.3 MB → 67.2 MB (🟢 −80.0 KB)

Informational only — this never blocks the PR. Native binaries are labelled by os/arch.

@mattleibow mattleibow changed the title [release] Make release testing the CI package approval gate [release] Resolve BAR packages for release approval Sep 1, 2026
@mattleibow

This comment has been minimized.

Copilot AI added 7 commits September 1, 2026 23:10
Treat release smoke testing as optional advisory validation after publication. Resolve and pin exact public SkiaSharp and HarfBuzzSharp packages from NuGet.org, require all three anchor packages to share source metadata, and emit host/device runner commands without mutating release state.

Co-authored-by: Copilot App <[email protected]>
Keep NuGet.org as the authority for public package availability and source metadata, while restoring the planner's exact versions through dotnet-libraries and dotnet-public during integration runs. Expose the distinction in the plan and cover the checked-in runner sources.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Keep the post-public advisory contract while restoring the fixed matrix, script ownership, approval choices, live progress cadence, collect-all failure handling, repair pass, and complete result report. Protect those operational stages and every matrix item with a regression test.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Verify the exact BAR-selected package family on dotnet-libraries after the release build, run the existing host and device matrix with those pinned versions, and make the result the human gate before team publication. Remove the public-package framing and unrelated runner annotation churn.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Describe release testing consistently as the human gate between the completed Build/Tests BAR and team publication. Keep the selected CI versions on dotnet-libraries, document stable and satellite restore failures, and use concrete dependency language in planner errors.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Locate the exact SkiaSharp asset in Maestro, bind release approval to its BAR-specific GUID feed, and propagate that source through root and generated integration restores. Split Darc and NuGet concerns into typed adapters, simplify the runbook and scripts, replace preparation with a guarded PowerShell helper, and remove the obsolete Xcode 26 workaround with Mac2 4.2.0.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Remove unused planner receipt fields and align the runbook with the final pre-publication approval contract. Accept tested minimum Appium versions through its npm-aware launcher, keep preflight and runtime resolution consistent, and isolate temporary Android devices on the next free emulator port.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
Remove the release-testing contract changes from repository-wide agent and release documentation so this PR remains limited to the skill and its integration harness.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7
@mattleibow
mattleibow force-pushed the mattleibow-release-testing-split branch from 5498513 to 49c902a Compare September 1, 2026 21:11
@mattleibow

This comment has been minimized.

@mattleibow

Copy link
Copy Markdown
Contributor Author
[release] Resolve BAR packages for release approval (#4907)

Context: https://github.com/mono/SkiaSharp/pull/4889
Context: https://github.com/appium/appium-mac2-driver/pull/411

Make release testing the human approval gate between a completed Build/Tests
BAR and team publication. Bind the test plan to one immutable package family,
propagate its exact source through the platform matrix, and report approval
without publishing packages or changing BAR state.

~~ BAR package identity ~~

The previous planner depended on the removed release-status handoff and a
global preview feed. A package version is not enough to identify a release
candidate because multiple BARs can produce the same version on separate Darc
feeds.

Take the exact SkiaSharp package version and resolve its producing build with
`darc get-asset`. Require `--bar-id` when the result is ambiguous and reject
already released builds, incomplete source metadata, and BARs without exactly
one NuGet location. Resolve that location through its single
`PackageBaseAddress` resource to obtain the build-specific GUID feed.

Download SkiaSharp and SkiaSharp.HarfBuzz from that feed, derive the bridge's
one concrete HarfBuzzSharp dependency, and download it from the same source.
Require each archive to contain one nuspec with its exact ID, version, branch,
and 40-character commit. The three packages must agree on branch and commit,
and the SkiaSharp metadata must match the selected BAR. Typed Darc and NuGet
adapters isolate command, feed, and package parsing from matrix construction.

~~ Exact restore source ~~

Put the selected SkiaSharp version, HarfBuzzSharp version, and GUID feed in
every generated runner command. The integration project requires those values,
uses the BAR feed plus dotnet-public for restore, and passes the feed into the
test runtime. Generated console, Blazor, MAUI, and Linux Docker projects write
the same source pair instead of using the global EAP feed and NuGet.org.

This prevents another build's copy of the same package version from satisfying
a restore. Tests round-trip each planned command through its runner parser and
verify that the checked-in integration sources propagate the BAR feed to root
and generated projects.

~~ Approval workflow ~~

Keep pipeline and package responsibilities separate. The release owner first
confirms that Build and Tests succeeded and that Tests consumed the selected
Build resource; the planner then verifies BAR and package identity. The skill
requires approval of the exact host matrix before preparation, executes all
selected items while collecting independent failures, preserves artifacts and
retries, combines cross-host reports, and treats missing required coverage as
blocking unless the owner records an override.

Planning remains read-only. A guarded PowerShell preparation script restores
repository tools and clears only `output/logs/testlogs/integration` after
approval. Python remains the runner runtime so subprocess heartbeats, command
round-tripping, interrupts, and temporary-device cleanup share one testable
implementation. The planner emits only the release, host, matrix, missing
coverage, and package-source data consumed by the runbook. Release-tooling CI
now covers the skill scripts, preparation guard, and integration harness.

The workflow never queues release pipelines, publishes packages, changes BAR
state, creates tags or releases, or merges code.

~~ Automation compatibility and ownership ~~

Treat Appium and its platform drivers as minimum-version prerequisites rather
than exact pins, accepting stable compatible updates while rejecting missing,
older, and prerelease versions. Both prerequisite validation and the test
fixture invoke `npm exec --no -- appium` from the repository root. This follows
Appium's project-local and Extension CLI resolution rules without downloading
software or depending on an extension's filesystem path.

Mac2 4.1.1 is the minimum because upstream PR #411 added Xcode 27 support.
Remove the process-local Xcode 26 selection workaround while retaining the
generated MAUI build's workload-version override.

Without `--device-id`, Android creates a uniquely named release-owned AVD on
the next free supported emulator port, leaves existing devices untouched, and
deletes only that AVD. Explicit `--device-id` is the only reuse path and never
deletes the selected device. iOS continues to create a fresh simulator and
falls back to its unique name for cleanup when creation returns no UDID.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: bf377a3e-d82e-4169-a3ea-7062901896c7

@mattleibow
mattleibow merged commit 5944d1f into main Sep 1, 2026
78 of 86 checks passed
@mattleibow
mattleibow deleted the mattleibow-release-testing-split branch September 1, 2026 21:47
mattleibow added a commit that referenced this pull request Sep 1, 2026
[infra] Align release ecosystem references with dnceng (#4910)

Context: #4803
Context: #4889
Context: #4907
Context: 086f728
Context: https://github.com/mono/SkiaSharp/actions/runs/33565525986

Build on #4907's merged BAR-specific approval implementation with the current
dnceng observer and shared-feed model. Keep the shared channel destinations
for ordinary CI and nightly consumers distinct from the selected BAR asset's
GUID-backed per-build feed; NuGet.org remains a later team publication step.

The dnceng observer state and the versioning, shared.cake, and building-samples
feed URLs were extracted from #4889 before that merged PR dropped these paths.
The pinned commit above is that stack's last state before the drop; its tree
still holds those files at this revision, apart from three building-samples
naming lines refreshed here. Its own diff covers unrelated release-notes work.
The README, benchmark/perf, writing-docs, and repository release-framing
updates are new here.

~~ dnceng pipeline observers ~~

Since #4803 moved release builds to dnceng, the DevDiv Native -> Managed ->
Tests definitions no longer describe them and ci-status reported a chain that
no longer runs. Query the `mono-SkiaSharp` validation definition 345 in
`dnceng-public/public` alongside skiasharp-package 1642 and skiasharp-tests
1630 in `dnceng/internal`. The cascade model becomes Build -> Tests: because
1642 owns native and managed work in one run, treat a red Tests run as a
cascade only when the exact Build run it consumed also failed, rather than
inferring the relationship from position in a three-stage chain.

Query Component Governance from skiasharp-package alone because that combined
Build owns native and managed assets, signing, API Scan, and BAR registration.
Drop the now-meaningless `--pipeline native|managed|both` selector, reject an
explicit security-audit build whose definition is not 1642, and point report
examples and the viewer at the dnceng/internal CG registration and Build.
With #4889 removing release-status, route build-progress and chain-tracing
questions to ci-status, and package-readiness checks to a release-publish dry
run. Skill metadata, representative report validators, Python compilation, and
JSON/XML parsing passed. Build-cache dependency validation covered 4,800
tracked files with none uncovered.

  * `SkiaSharp-Tests` in `scripts/infra/tests/tests-apple.cake` remains a
    simulator instance name, not a stale pipeline reference.

~~ Shared channels and BAR-specific approval ~~

The old skiasharp-transport service index returns HTTP 404, while the
`aka.ms/skiasharp-eap` alias resolves to the old skiasharp feed and does not
expose current nightlies. Point wrapper downloads and documentation at
dotnet-libraries-transport, document both shared destinations in versioning,
and point README, benchmark, and size-tracking sources at dotnet-libraries.

The merged #4907 implementation asks Maestro which BAR produced the selected
version, then resolves that BAR asset's GUID-backed V3 and flat-container feed
through Darc. Its planner downloads SkiaSharp, SkiaSharp.HarfBuzz, and the
derived HarfBuzzSharp dependency from that exact feed, requires matching source
branch and commit, and pins the same feed in every runner command, with
dependencies from dotnet-public.

Keep #4907's integration root, project, and generated-config propagation
inherited from main and outside this PR's direct diff. In
`documentation/dev/releasing.md` record that Arcade routes `IsShipping=true`
packages to dotnet-libraries and `IsShipping=false` build inputs to
dotnet-libraries-transport, then draw the shared-channel versus per-build BAR
feed boundary.

Because #4907 merged only implementation and integration files, this layer
renders the complete operator flow in `documentation/dev/releasing.md`. It also
replaces the three stale public-smoke references in `AGENTS.md` and the
release skill descriptions in the AI index with pre-publication BAR package
approval guidance. The guide records that release-testing physically
smoke-tests the exact selected CI artifacts on the approved host/device targets
and excludes NuGet.org from planner and runner sources, while the AI index
explains that repository-owned workflows and PowerShell scripts perform release
mutations and the skills remain thin guidance and observation layers.

The release-testing contract inherited from #4907 governs the gate: failed
required coverage blocks human release approval, but release-testing never
publishes packages or changes BAR state, and only after approval does the team
publish the selected BAR to NuGet.org.

The live planner resolved SkiaSharp 4.150.3 through BAR 329644 to GUID feed
8bf0dc6d-5564-4f8e-8ff2-8167b63c6306 and matched all three anchors to source
commit f8a404f. Both shared feed indexes
returned HTTP 200, all 38 Python tests and the guarded PowerShell suite passed,
and GUID-feed restore passed all three SmokeTests with HarfBuzzSharp 14.2.1.3.

End-to-end transport validation also passed. Externals-download fetched 18
wrappers and produced 462 native files (3.2 GB); docs-download-output fetched
four wrappers and produced 41 NuGet packages (570 MB). The linked benchmark run
completed successfully with all 20 jobs passing on this exact head.

  * `scripts/infra/package/manage-nuget-feed.ps1` retains the dedicated
    skiasharp and skiasharp-transport destinations. It exists to migrate
    historical xamarin feeds and is run manually for that purpose; repointing
    it at shared feeds would change the migration's meaning.
  * #4907's checked-in fallback config retains the old skiasharp feed name, but
    approval runs override restore sources and generated configs with the
    resolved GUID feed. Those files are inherited from main and remain outside
    this PR.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
mattleibow added a commit that referenced this pull request Sep 1, 2026
[skills] Close pr-commit-message gaps found in release reviews (#4912)

Context: #4889
Context: #4895
Context: #4907
Context: #4908
Context: #4910

Turn corrections from five completed release-message reviews into durable
pr-commit-message rules, then replace conclusion-led evals with cases that
exercise those decisions. Keep #4908 as an unchanged reviewed-message control;
it is distinct from the synthetic compact-message eval fixture.

~~ Durable topic boundaries ~~

The #4889 draft distributed shared command-safety guarantees among consumer
sections and under-described the deleted release-status runtime. Treat a shared
guard, mechanism, or contract as its own topic when its consumers do not own
its guarantee. A removal remains with its parent topic, but must preserve the
departing component's name, the behavior that left, and its new home.

Name sections for the problem or decision rather than a component, lead the
overview with the governing design, and require sibling sections to carry
comparable evidence. This preserves both the shared safety contract corrected
in #4889 and the regression-coverage sentence restored to #4895.

~~ Immediate dependency relationships ~~

The #4907 and #4910 drafts labelled an earlier stack ancestor as required even
though each change built on a nearer parent. Define `Requires:` as the immediate
companion or dependency that must land first; earlier ancestors provide
`Context:` instead. Candidate references still have to be opened and classified
by their actual entity and relationship before they are included.

~~ Complete and current evidence scopes ~~

The #4889 review disproved "every workflow is one manual job" because the
sampled family also contained scheduled and CI-only workflows. Require a family
to be enumerated along the generalized dimension, and narrow a quantified claim
when any member is a counterexample.

State coverage in the predicates that tests or guards actually assert rather
than the broader capability they suggest. Re-read counts and measurements at
the current head so later pushes cannot leave a once-correct number in the
message; #4910's tracked-file and nightly figures both changed during review.

~~ Configuration and migration intent ~~

Add configuration or policy splits and removals to the change-specific content
rules. Each configuration must identify its context, value, and reason for
remaining different, while a migration must identify the removed component and
where its responsibility moved. This records #4910's build-feed versus
public-package boundary instead of inviting a future maintainer to unify the
sources and invalidate publication verification.

~~ Concrete guarantees and lasting rationale ~~

Replace safety adjectives with the operation that cannot occur and the
neighboring system it cannot affect. That distinction preserves #4895's marker
ownership and #4907's rule that release testing neither publishes packages nor
changes BAR state.

Keep durable limitations, but discard scope-negotiation phrases such as
"excluded by request" or "out of scope for review size". Those phrases describe
development chronology and stop being true when a follow-up lands, as the #4910
review demonstrated.

~~ Facts that share a role word ~~

Three drafts of this PR joined two true facts into a false relationship because
both objects were called a control. #4908 is the prior release-message review
that needed no correction; `control-single-topic-compact` is a synthetic eval
for an unrelated design-time-detection change.

Extend the mixed-truth check to distinguish objects called control, baseline,
fixture, or config before joining clauses about them. A rerun then kept the two
controls separate while preserving the other fifteen ground-truth checks.

~~ Source-backed, copy-ready attribution ~~

Two eval runs found output defects independent of message prose: one invented a
Copilot noreply trailer without evidence, and another placed a valid trailer
outside the fence where it would not be copied into the commit. Accept an email
only from relevant commit authors, co-author trailers, or a non-null user email;
house-style trailers are not evidence.

Put every verified trailer inside the fenced commit message after a blank line.
Only a missing-context notice for a contributing human whose email cannot be
verified remains outside the fence.

~~ Evals that discriminate judgement ~~

The original eval pass scored 33/35 for the revision and 32/35 for the baseline,
inside run-to-run noise. Its prompts supplied conclusions, numbered notes gave
away topic counts, and one assertion hard-coded a section count; both graders
identified the assertions as non-discriminating.

Replace those cases with seven raw-evidence scenarios containing the stale
claims that caused the real review corrections: a contradicted workflow
universal, the wrong stack dependency, an unsafe configuration unification,
stale measurements, shared guarantees, attribution evidence, and a compact
single-topic control.

The rebuilt suite scored 39/41 for the revised skill and 36/41 for the baseline,
with no case regressing and wins on immediate dependencies, shared-mechanism
placement, and concrete safety claims. The universal and coverage rules were
already handled by both configurations, so they remain defensive rules rather
than measured wins. Trailer-sensitive reruns passed every assertion after the
output-contract fixes.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants