Skip to content

[infra] Align release ecosystem references with dnceng - #4910

Merged
mattleibow merged 3 commits into
mainfrom
mattleibow-dnceng-release-alignment
Sep 1, 2026
Merged

mattleibow merged 3 commits into
mainfrom
mattleibow-dnceng-release-alignment

Conversation

@mattleibow

@mattleibow mattleibow commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Aligns SkiaSharp's repository-owned CI observers, Component Governance audit, shared-feed documentation, and complete repository release framing with the current dnceng ecosystem.

This independently ports the coherent dnceng observer/feed scope from source commit 086f728b32d3423dc234cbb3e5a0bbec083d1cfe in #4889. It now builds directly on main after #4907 merged the BAR-specific pre-publication approval implementation:

  • ci-status models public validation plus skiasharp-package (1642) and its connected skiasharp-tests (1630) run in dnceng/internal.
  • security-audit queries Component Governance from the combined skiasharp-package Build that owns native and managed assets.
  • Arcade routes shipping outputs to dotnet-libraries and non-shipping build inputs to dotnet-libraries-transport; ordinary CI/nightly consumers use those shared feeds.
  • the team selects the exact connected Build, Tests, and BAR family before publication. The merged [release] Resolve BAR packages for release approval #4907 implementation asks Maestro which BAR produced the version, resolves that BAR asset's GUID-backed per-build V3/flat-container feed through Darc, and validates SkiaSharp, SkiaSharp.HarfBuzz, and derived HarfBuzzSharp against the selected build's source branch and commit.
  • [release] Resolve BAR packages for release approval #4907 propagates the resolved GUID feed and exact versions through every runner and generated integration project; dotnet-public supplies dependencies. Those implementation/integration files are inherited from main and absent from [infra] Align release ecosystem references with dnceng #4910's direct diff.
  • failed required coverage blocks human release approval, while release-testing never publishes packages or changes BAR state. NuGet.org belongs only to later protected team publication.
  • documentation/dev/releasing.md, all three root AGENTS.md references, and the release-testing description in documentation/site/ai/index.html render that complete final flow; the guide explicitly excludes NuGet.org from approval planner/runner sources.
  • the AI site now explains that repository-owned workflows and PowerShell scripts perform release mutations while release skills remain thin guidance and observation layers.

The repository-wide audit confirmed that no stale public-smoke phrases remain outside historical release artifacts. Retained old feed names are intentional: manage-nuget-feed.ps1 is the historical xamarin migration utility, while the merged #4907 checked-in fallback config is overridden in approval runs by the resolved GUID feed. SkiaSharp-Tests in tests-apple.cake is a simulator name rather than a pipeline reference.

Related issues

Context: #4907

Context: #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 — infrastructure and contributor documentation only; no public API or runtime behavior changes.

Testing

  • Compiled 15 alignment Python files and validated the ci-status, security-audit, and release-testing skill frontmatters.
  • Validated representative CI-status and security-audit reports with their repository validators.
  • Ran all 38 release-testing Python tests and the guarded PowerShell preparation behavior suite inherited from main.
  • Ran the live planner for SkiaSharp 4.150.3 with BAR 329644; it selected build 4.150.3+20260828.7, source release/4.150.3@f8a404ff3375872d042404a29189ceb8e3001a41, and GUID feed 8bf0dc6d-5564-4f8e-8ff2-8167b63c6306 for all three anchors and every runner command.
  • Ran python3 scripts/infra/caching/repo-deps.py validate (4,800 tracked files, 0 uncovered).
  • Parsed changed JSON and NuGet XML configuration files and confirmed the merged [release] Resolve BAR packages for release approval #4907 implementation/integration files are inherited from main and absent from the direct diff.
  • Resolved current nightlies through dotnet-libraries and confirmed both shared feed service indexes return HTTP 200.
  • externals-download completed from dotnet-libraries-transport: 18 wrapper packages produced 462 native files (3.2 GB).
  • docs-download-output completed from dotnet-libraries-transport: _nugets plus three dependency chunks produced 41 NuGet packages (570 MB).
  • Restored SkiaSharp 4.150.3 and HarfBuzzSharp 14.2.1.3 through the resolved GUID feed with dotnet-public dependencies; integration SmokeTests passed 3/3.
  • Track - Benchmarks run 33565525986 completed successfully on this head with all 20 jobs passing.
  • Verified three direct commits and 25 direct files: the non-framing alignment plus final framing in AGENTS.md, documentation/dev/releasing.md, and documentation/site/ai/index.html.
  • Verified no stale public-smoke phrases remain in the live tree outside historical release artifacts; retained-reference boundaries and git diff --check pass.

Checklist

  • Tests added or updated (merged BAR feed propagation exercised)
  • Changes above lists all public API and behavioral changes (None)
  • New/changed public API? N/A
  • Native change? N/A

@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 -- 4910

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4910/packages --name skiasharp-pr-4910
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-4910

@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

📊 SkiaSharp benchmarks — PR #4910

⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS

Informational only — this never blocks the PR. 🟢 faster / less allocation · 🔴 slower / more allocation; moves under 5% are hidden as noise.

⏱️ Times are raw BenchmarkDotNet means, and the ⭐ PR and baseline legs run on separate CI runners, so microbenchmarks can swing run-to-run — treat small time deltas as noise. Allocations are deterministic and the reliable signal. The interactive perf-dashboard (linked below) applies smoothing for the trend view.

Highlights

⏱️ Time — 🔴 34 slower · 🟢 11 faster

  • 🔴 MatrixMapPointsBenchmark.MapVector(Points: 4096) · macOS · 45.26 µs → 118.41 µs (+162%)
  • 🔴 RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) · Windows · 94.40 µs → 127.02 µs (+35%)
  • 🔴 PathBoundsBenchmark.TightBounds(Points: 1024) · Windows · 15.48 µs → 20.75 µs (+34%)
  • 🔴 PathBoundsBenchmark.TightBounds(Points: 64) · Windows · 1.52 µs → 2.02 µs (+33%)
  • 🟢 BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) · macOS · 1.09 ms → 753.92 µs (-31%)
  • …and 40 more (see details below)
Full per-OS benchmark deltas

Linux

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.26431.1)

Benchmark baseline this PR Δ
PathBoundsBenchmark.TightBounds(Points: 1024) 11.02 µs 13.12 µs 🔴 +19%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 213.5 ns 234.4 ns 🔴 +10%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 100.70 µs 109.84 µs 🔴 +9%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 11.44 µs 12.11 µs 🔴 +6%

Windows

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.26431.1)

Benchmark baseline this PR Δ
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 94.40 µs 127.02 µs 🔴 +35%
PathBoundsBenchmark.TightBounds(Points: 1024) 15.48 µs 20.75 µs 🔴 +34%
PathBoundsBenchmark.TightBounds(Points: 64) 1.52 µs 2.02 µs 🔴 +33%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 255.41 µs 300.63 µs 🔴 +18%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 144.33 µs 168.55 µs 🔴 +17%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 8.98 µs 10.45 µs 🔴 +16%
MatrixMapPointsBenchmark.MapVector(Points: 256) 7.76 µs 8.85 µs 🔴 +14%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 123.78 µs 140.43 µs 🔴 +13%
MatrixOpsBenchmark.Concat(Count: 4096) 227.36 µs 254.40 µs 🔴 +12%
MatrixMapPointsBenchmark.MapRect(Points: 256) 7.28 µs 8.07 µs 🔴 +11%
ColorParseBenchmark.Parse(Iterations: 1000) 75.38 µs 83.49 µs 🔴 +11%
CanvasDrawBenchmark.Draw(Shapes: 512) 21.10 ms 23.34 ms 🔴 +11%
CanvasDrawBenchmark.Draw(Shapes: 64) 2.65 ms 2.93 ms 🔴 +11%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 127.35 µs 138.07 µs 🔴 +8%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 12.26 µs 11.61 µs 🟢 -5%
ColorMathBenchmark.ToColor(Colors: 4096) 14.96 µs 15.74 µs 🔴 +5%
MatrixOpsBenchmark.Invert(Count: 4096) 130.76 µs 137.39 µs 🔴 +5%

macOS

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.26431.1)

Benchmark baseline this PR Δ
MatrixMapPointsBenchmark.MapVector(Points: 4096) 45.26 µs 118.41 µs 🔴 +162%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 1.09 ms 753.92 µs 🟢 -31%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 792.57 µs 564.67 µs 🟢 -29%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 2.99 ms 2.18 ms 🟢 -27%
CanvasDrawBenchmark.Draw(Shapes: 64) 1.97 ms 1.48 ms 🟢 -25%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 775.63 µs 611.64 µs 🟢 -21%
RuntimeEffectShaderBenchmark.DrawFrame 537.08 µs 644.53 µs 🔴 +20%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 70.78 µs 83.51 µs 🔴 +18%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 6.52 ms 5.44 ms 🟢 -17%
PathBoundsBenchmark.TightBounds(Points: 64) 905.1 ns 1.04 µs 🔴 +14%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 163.7 ns 186.9 ns 🔴 +14%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 212.83 µs 242.47 µs 🔴 +14%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 1.60 ms 1.39 ms 🟢 -13%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 108.06 µs 122.14 µs 🔴 +13%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 64) 177.48 µs 200.08 µs 🔴 +13%
MatrixOpsBenchmark.Concat(Count: 4096) 116.09 µs 130.28 µs 🔴 +12%
MatrixMapPointsBenchmark.MapVector(Points: 256) 2.72 µs 2.42 µs 🟢 -11%
ColorMathBenchmark.ToColor(Colors: 4096) 19.97 µs 17.80 µs 🟢 -11%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 1.29 µs 1.41 µs 🔴 +10%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 1.77 µs 1.93 µs 🔴 +9%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 56.39 µs 51.48 µs 🟢 -9%
ColorMathBenchmark.PreMultiply(Colors: 4096) 8.29 µs 9.00 µs 🔴 +9%
SceneRenderBenchmark.RenderFrame(Complexity: 1) 1.27 ms 1.37 ms 🔴 +8%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 7.67 µs 8.12 µs 🔴 +6%

📈 Full interactive perf-dashboard & run details →

@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

📦 Artifact size report

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

Total .nupkg size: 569.6 MB → 569.3 MB (−377.5 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.6 MB 🟢 −498.7 KB -0.4%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 69.7 MB 🔴 +63.9 KB +0.1%

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

Per-file changes

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-x86/native/libGLESv2.pdb 67.3 MB → 67.1 MB (🟢 −160.0 KB)
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.4 MB (🟢 −128.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.5 MB (🟢 −112.0 KB)

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

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from cea6fb0 to 3f2097c Compare September 1, 2026 10:23
@mattleibow
mattleibow changed the base branch from main to mattleibow-release-testing-split September 1, 2026 10:23
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from 3f2097c to d92b50c Compare September 1, 2026 11:45
@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch 2 times, most recently from 921bf90 to b986d8c Compare September 1, 2026 12:33
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from b986d8c to 235d9f6 Compare September 1, 2026 12:51
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from 235d9f6 to e690acb Compare September 1, 2026 13:23
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from e690acb to 604d254 Compare September 1, 2026 15:18
@mattleibow

This comment has been minimized.

@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from 604d254 to 09923df Compare September 1, 2026 21:35
@mattleibow

This comment has been minimized.

Base automatically changed from mattleibow-release-testing-split to main September 1, 2026 21:47
Copilot AI added 2 commits September 1, 2026 23:50
Port the dnceng observer and feed alignment from source commit 086f728 onto main. Track the combined skiasharp-package and skiasharp-tests pipeline chain, query Component Governance from the combined Build, and direct live package consumers to the shared dotnet-libraries feeds.

Keep the independently owned release workflow changes and the historical feed migration utility out of this commit.

Co-authored-by: Copilot App <[email protected]>
Document that the release-testing planner verifies the three public package anchors on NuGet.org, then runners restore those exact versions from dotnet-libraries with dependencies from dotnet-public. Runner restores do not independently prove publication or cross-feed identity.

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

Copilot-Session: bf167f1b-f839-446f-b8f4-3ea09a9f9b1c
@mattleibow
mattleibow force-pushed the mattleibow-dnceng-release-alignment branch from 09923df to 3caca7b Compare September 1, 2026 21:53
@mattleibow

This comment has been minimized.

State that release-testing physically validates selected CI/BAR artifacts before publication and never uses NuGet.org as a planner or runner source. Describe release skills as thin guidance and observation layers over repository-owned workflows and PowerShell scripts.

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

Copilot-Session: bf167f1b-f839-446f-b8f4-3ea09a9f9b1c
@mattleibow

Copy link
Copy Markdown
Contributor Author
[infra] Align release ecosystem references with dnceng (#4910)

Context: https://github.com/mono/SkiaSharp/pull/4803
Context: https://github.com/mono/SkiaSharp/pull/4889
Context: https://github.com/mono/SkiaSharp/pull/4907
Context: https://github.com/mono/SkiaSharp/commit/086f728b32d3423dc234cbb3e5a0bbec083d1cfe
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 f8a404ff3375872d042404a29189ceb8e3001a41. 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
mattleibow merged commit ef1746b into main Sep 1, 2026
81 of 86 checks passed
@mattleibow
mattleibow deleted the mattleibow-dnceng-release-alignment branch September 1, 2026 23:13
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