[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699H9J2NWQXE4BDT6R0FH7S":3,"skill-same:01M699H9J2NWQXE4BDT6R0FH7S":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M699H9J2NWQXE4BDT6R0FH7S","testfx-acceptance-validation",null,"Validate TestFx shipping paths and capable CI execution using packed consumers, package\u002Fcache provenance, exact exits and artifacts, and selected-versus-executed test evidence. Use for acceptance regressions, package\u002FMSBuild\u002Flauncher\u002Fprotocol changes, or skipped-only CI results; not for unrelated unit-only or documentation changes.","microsoft\u002Ftestfx","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699C71CJ91B5WZ3AXG3GG2M",1059,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"acceptance","validation","testfx acceptance validation","cache","for","paths","ci results","unit","protocol","results","shipping","unrelated","documentation","provenance","artifacts","use","package","only","execution","ci","launcher","evidence","msbuild","test","2026-11-10 10:12:30",false,"---\nname: testfx-acceptance-validation\ndescription: Validate TestFx shipping paths and capable CI execution using packed consumers, package\u002Fcache provenance, exact exits and artifacts, and selected-versus-executed test evidence. Use for acceptance regressions, package\u002FMSBuild\u002Flauncher\u002Fprotocol changes, or skipped-only CI results; not for unrelated unit-only or documentation changes.\n---\n\n# TestFx acceptance validation\n\nProduce evidence that the changed product ships correctly **and that the intended\nregressions execute**. A successful build, discovered tests, published TRX, or green\njob alone is not proof. Keep the work bounded to the changed contract.\n\n## Runtime choice\n\nThe Python execution gate is a measured exception to the repository's conditional\nPowerShell preference. A native PowerShell candidate did not meet the\nno-performance-regression condition for the documented standalone CLI path.\nOn Windows with Python 3.12.10 and PowerShell 7.6.6, three warmups followed by\n15 interleaved fresh-process samples per workload produced these medians,\nincluding process startup:\n\n| Workload | Python median, ms | PowerShell candidate median, ms |\n| --- | ---: | ---: |\n| Empty runtime startup | 76 | 528 |\n| One passed case | 208 | 898 |\n| 29 skipped cases | 200 | 819 |\n| 1,000 passed cases | 222 | 1,330 |\n| 10,000 passed cases | 222 | 3,882 |\n| 10,000 failed cases | 305 | 3,983 |\n\nRetain the existing gate and all 16 regression scenarios rather than accepting\nthat slowdown or weakening validation. This feasibility assessment does not\nestablish complete feature\u002Fsecurity parity, compare a warmed persistent host,\nor prove that every PowerShell implementation or other OS is slower.\nA future port must preserve the same input-validation and failure contracts,\ndemonstrate feature\u002Fsecurity parity, and avoid a performance regression on the\nsupported invocation paths, including startup where applicable.\n\n## 1. Choose the smallest shipping contract\n\nBefore implementation, record the following in the maintained feature decision\nrecord required by [feature-delivery](..\u002Ffeature-delivery\u002FSKILL.md). For non-feature\nfixes, use the session or existing issue\u002FPR evidence rather than creating an\nadditional planning file:\n\n| Decision | Required detail |\n| --- | --- |\n| Producer and consumer | Owning projects, exact NuGet IDs\u002Fversions, shipping binaries\u002Fsidecars\u002Fextensions, TFM\u002FRID\u002Farchitecture, SDK, and release branch that must work together. |\n| Lifecycle | Who launches, connects, cancels, disposes, and cleans up; required handshake and intentionally absent handshake; unsupported\u002Fundeclared versus explicitly disabled capability. |\n| Observable result | Exact parent and child exits, selected test identities\u002Fcounts, expected artifacts\u002Fcontent, and fallback rules. An outer acceptance test can pass while asserting an intentionally failing child. |\n| Scope | One representative real consumer per changed boundary; additional scenarios only where the change can affect them. Explain material exclusions. |\n| Delivery owner | One owner through dependency flow, downstream rollout, release-branch proof\u002Fbackports, and removal of temporary flags\u002Fdenylists. |\n\nAn assertion-only change can need just its focused unit test. A package layout,\nMSBuild launcher, process\u002Fprotocol, SDK, or independently shipped component change\nneeds a packed consumer, not just mocks or in-repo project references. For an SDK\nintegration, a fake SDK is useful protocol coverage but cannot replace the real\nshipping SDK invocation.\n\nBefore enabling a downstream feature, validate the branch\u002Fpackages that will ship\nand decide whether supported release branches need servicing\u002Fbackports. A rollout\nflag does not replace compatibility or composed-product proof.\n\nUse this risk table to choose cases, not to impose a full matrix on every change:\n\n| Changed boundary | Representative proof |\n| --- | --- |\n| Package\u002Ftargets | Inspect actual `.nupkg` entries and restore a generated consumer; assert resolved props\u002Ftargets\u002Fruntime assets and aligned dependencies. |\n| CLI\u002Flauncher\u002Frouting | Real execution plus discovery (`--list-tests`); help\u002Finfo if changed; a named launch profile with distinctive arguments\u002Fenvironment if profile routing is affected. Assert the marker\u002Ffilter reaches the actual packaged host\u002Fsidecar, not merely the outer command. |\n| Handshake\u002Fcapability | Normal handshake, intentionally suppressed\u002Fno-handshake path, and one old\u002Fincompatible consumer when relevant. A successful no-work child must not become a false parent failure; a missing required handshake must not become false success. |\n| Failure\u002Ffallback | Nonzero child exit, zero-result selection, partial\u002Fmissing input, and missing\u002Fstale\u002Fincompatible data where fallback is supported. Assert which work actually runs, not only a message saying fallback ran. |\n| Orchestration | Cancellation with bounded teardown and one mixed-success multi-module\u002FTFM run. Verify every module's artifacts and the aggregate parent exit; do not let one passed module conceal a missing or failed module. |\n| Reporter\u002Fresult mapping | Real packed runner with multiple distinguishable results; parse the final artifact or captured publishing request and assert each name, external identity\u002Fgrouping key, outcome, and relevant metadata association. One correct reporter does not prove another. |\n| UI\u002Flayout | Inspect the actual rendered affected surface at representative normal\u002Fconstrained dimensions, with relevant long-content and interaction states. HTML\u002FJSON source checks are not rendering proof; record unavailable hosted\u002FIDE UI checks explicitly. |\n\nFor display-name changes, choose multiple rows of one method and, when relevant,\ndifferent methods with the same row label. Assert distinct rows remain distinct\nthrough the consumer's identity\u002Fgrouping rules, not merely that the title field\ncontains the right string. Cover the affected default, full-name override,\narguments-only override, and method-display-name paths without multiplying\nequivalent cases. Folded rows sharing a UID and reflection\u002Fsource-generated\nexecution need separate cases when the changed mapping treats them differently.\nPreserve expected per-row counts and associations even if ordering is variable.\n\nPair automated content\u002Fidentity checks with\n[rendered-surface validation](..\u002Ffeature-delivery\u002FSKILL.md#4-demonstrate-the-feature-and-prepare-the-pr).\nA captured Azure DevOps publishing request is useful E2E evidence for the\npublisher boundary, but does not establish how the live Tests tab renders or\ngroups it. Record that limitation rather than broadening execution into an\nunauthorized external publish. Apply the same distinction to IDE discovery and\nHTML source versus their rendered UI.\n\n## 2. Pack and establish provenance\n\nRun from the worktree root. Use `.\\build.cmd -pack -c Release -bl` on Windows\n(`.\u002Fbuild.sh -pack -c Release -bl` on Linux\u002FmacOS). Capture the exit immediately and\nstop on failure. Repack after every source change. Do not pack\u002Fbuild concurrently\nagainst the same outputs. Do not run the full integration matrix solely to validate\nthis skill or another documentation-only change.\n\nInspect these current sources before adapting commands:\n\n| Source | What it establishes |\n| --- | --- |\n| `global.json`, `eng\\Versions.props`, `Directory.Packages.props` | Pinned repository SDK\u002Fruntime and dependency versions. Do not substitute a globally installed SDK. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\Constants.cs` | Configuration-matched `artifacts\\packages\\\u003CConfiguration>\\Shipping`, `NonShipping`, and `artifacts\\tmp\\\u003CConfiguration>\\packages` feeds. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\TestAsset.cs` | Generated `NuGet.config`, local feeds, and public-feed\u002Fsource-mapping behavior. A local feed in the config alone does not prove the resolved package came from it. |\n| `test\\IntegrationTests\\Microsoft.Testing.Platform.Acceptance.IntegrationTests\\Helpers\\AcceptanceFixture.cs` | A fresh random `.packages` cache for generated consumers each assembly run. The fixture also links into MSTest acceptance. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\TestAssetFixtureBase.cs`, `AcceptanceSourceGen.cs`, `TestHost.cs` | Generated builds and separate reflection\u002Fsource-generation outputs. Building a variant is not evidence that a test executed that variant. |\n| `test\\Directory.Build.targets` | MTP diagnostics\u002Freporting and `UsingDotNetTest=true` wiring for TRX\u002Fresults directories. |\n\nRecord commit\u002Fdirty source state, pack configuration\u002Fexit, exact package filenames\nand SHA-256 hashes, consumer restore\u002Fbuild command, generated `obj\\project.assets.json`\nand `*.nuget.g.props`\u002F`*.nuget.g.targets`, and loaded\u002Fexecuted binary paths. Check\npackage IDs\u002Fversions, restore `packageFolders`, chosen TFM\u002FRID assets, and physical\npackage\u002Fbinary content. Compare relevant cached package payloads with the current\npack; same version does not imply same bits. Keep MSTest and MTP version families\ndistinct while checking alignment within each contract.\n\nThe outer acceptance runner may reference source projects; the inner generated\nconsumer must consume the shipping package for the boundary under test.\n`TestAsset.GenerateAssetAsync`, `DotnetCli.RunAsync`, `TestHost.LocateFrom`, and\n`TestHost.ExecuteAsync` are existing building\u002Flaunching helpers. Prefer them over\nnew ad-hoc runners, but assert the real shipping layout when apphost versus DLL,\npublished output, controller, or package identity matters.\n\nUseful existing examples are `WindowsApplicationModelPackageTests` (physical\npackage entries), `PackagedAppIntegrationTests` (real packed consumer targets,\ncustom\u002Fsuppressed launchers, incompatible payloads, and multi-target exits), and\n`PackagedWinUITests` (real activation, package identity, native shipping SDK, and\nTRX). The first two are under MSTest acceptance; the last is under MTP acceptance.\nFor CLI descriptions, update the corresponding `HelpInfoTests` and\n`HelpInfoAllExtensionsTests` expectations rather than testing only option parsing.\n\nFor an independently constructed consumer, use a unique run-owned `NUGET_PACKAGES`\ncache and explicit feeds; do not clear shared\u002Fglobal caches. The existing acceptance\nfixture already isolates generated-consumer restores. CI's outer runner uses\n`eng\\pipelines\\variables\\test-env-vars.yml` (`DOTNET_ROOT=.dotnet`,\n`NUGET_PACKAGES=.packages`); distinguish that cache from the inner fixture's cache.\n\nWhen a consumer uses a different SDK, invoke the outer acceptance project through\n`dotnet test`, not only its apphost. The CLI exports `MSBuildSDKsPath`,\n`MSBuildExtensionsPath`, and `DOTNET_ROOT_X64` to the test host. A child `global.json`\nand a successful `dotnet --version` do not prevent mixed-SDK targets\u002Ftask loading.\nUse `AcceptanceTestBase.ConfigureDotnetSdkEnvironment` for the isolated native\nSDK, preserving shared cache\u002Ftooling settings. Verify actual build provenance\n(`NETCoreSdkVersion`, `MSBuildToolsPath`, extensions and SDK paths) alongside the\nreal packaged-host results.\n\nKeep CI's `DOTNET_CLI_CONTEXT_VERBOSE=1` enabled during native CLI validation.\nSDK tracing can name the sidecar executable even when help\u002Fdiscovery correctly\ncomes from the activated host, and ANSI color\u002Freset-only lines can interrupt an\notherwise deterministic block. Normalize presentation only, preserve the\ndiagnostics, and assert host usage or the delimited JSON payload rather than\nrequiring the entire mixed CLI output to be a payload.\n\n## 3. Run a focused regression and verify execution\n\nThis Windows example runs one existing packed-package regression. It is a package\nlayout check, **not** evidence of real UWP\u002FWinUI activation. Adapt the project\u002Ffilter\nand expected names for the changed contract. Use a unique results directory, retain\nlogs\u002Fbinlogs, and do not infer expectations from the report being verified.\n\n```powershell\n# After the successful configuration-matched pack above.\n$project = 'test\\IntegrationTests\\MSTest.Acceptance.IntegrationTests\\MSTest.Acceptance.IntegrationTests.csproj'\n$case = 'PackedMSTestTestAdapter_ContainsRequiredWindowsApplicationModelAssets'\n$results = Join-Path (Get-Location).Path ('artifacts\\TestResults\\Release\\acceptance-' + [Guid]::NewGuid().ToString('N'))\nNew-Item -ItemType Directory -Path $results | Out-Null\n\n$packages = @(Get-ChildItem -LiteralPath artifacts\\packages\\Release\\Shipping `\n    -Filter 'MSTest.TestAdapter.*.nupkg' -File)\nif ($packages.Count -ne 1) { throw \"Expected one current adapter package, found $($packages.Count).\" }\n$packages | Get-FileHash -Algorithm SHA256 | ConvertTo-Json |\n    Set-Content -LiteralPath \"$results\\package-provenance.json\" -Encoding UTF8\n\n& .\\.dotnet\\dotnet.exe build $project -c Release \"-bl:$results\\build.binlog\"\nif ($LASTEXITCODE -ne 0) { throw \"Acceptance build failed: $LASTEXITCODE\" }\n\n$filter = \"FullyQualifiedName~WindowsApplicationModelPackageTests.$case\"\n# Blank these global properties so discovery does not inherit execution-only reporters.\n& .\\.dotnet\\dotnet.exe test --project $project -c Release --no-build `\n    --list-tests --filter $filter -p:UsingDotNetTest=true `\n    -p:TestingPlatformCommandLineArguments= -p:TestRunnerAdditionalArguments= `\n    \"-bl:$results\\discovery.binlog\" 2>&1 | Tee-Object -FilePath \"$results\\discovery.log\"\n$discoveryExit = $LASTEXITCODE\nif ($discoveryExit -ne 0) { throw \"Acceptance discovery failed: $discoveryExit\" }\n# Reconcile discovery.log with the one source-declared case before executing.\n\n# The plan comes from source\u002Fdata rows and independent discovery, not this run's TRX.\n$expectedPath = Join-Path $results 'expected-tests.json'\nConvertTo-Json -InputObject @($case) | Set-Content -LiteralPath $expectedPath -Encoding UTF8\n$started = [DateTimeOffset]::UtcNow.ToString('o')\n& .\\.dotnet\\dotnet.exe test --project $project -c Release --no-build `\n    --filter $filter `\n    -p:UsingDotNetTest=true \"-p:ArtifactsTestResultsDir=$results\" `\n    \"-bl:$results\\test.binlog\" --show-test-results all `\n    2>&1 | Tee-Object -FilePath \"$results\\execution.log\"\n$testExit = $LASTEXITCODE\n\n$reports = @(Get-ChildItem -LiteralPath $results -Filter '*.trx' -File)\nif ($reports.Count -ne 1) { throw \"Expected one outer acceptance TRX, found $($reports.Count). Exit: $testExit\" }\npython .github\\skills\\testfx-acceptance-validation\\scripts\\verify_execution.py `\n    --trx $reports[0].FullName --expected-tests $expectedPath `\n    --started-after $started --process-exit-code $testExit\nif ($LASTEXITCODE -ne 0) { throw 'Acceptance execution proof failed.' }\n```\n\nThe verifier is standard-library Python and checks one **outer acceptance** TRX\nper module\u002FTFM. The JSON plan is a nonempty array of exact TRX `testName` strings,\nincluding data-row display names and multiplicity. Establish them from source,\ndata expansion, and separate discovery; reconcile discovery with the plan before\nexecution. Neither `--list-tests` nor a list copied from a passing report proves\nexecution. Record discovery's own exit\u002Foutput and use the same selector for the run.\n\nThe output distinguishes planned, reported-selected, executed, passed, failed, and\nskipped counts. It requires all planned cases to be present and passed, consistent\ncounters, a fresh run start, unique execution IDs, and outer exit zero. Zero tests,\n`NotExecuted`\u002Finconclusive\u002Fskipped results, missing modules, stale artifacts, and a\nnonzero exit fail the gate. Run it separately for each planned module with that\nmodule's expected names; aggregate success only after every gate passes. Legitimate\nunrelated skips belong in a separate selection\u002Freport, not a lowered proof bar.\nFor negative\u002Fdiscovery\u002Fhelp-only product commands, assert their contractual exits\nand output inside passing acceptance cases; do not pass their child TRX to this gate.\n\n### Regression sensitivity across production states\n\nApply [feature-delivery](..\u002Ffeature-delivery\u002FSKILL.md)'s red\u002Fgreen evidence contract\nto new behavioral regressions. Retain the same outer acceptance tests and their\nassertions while removing the relevant production behavior in an isolated\ncomparison. Rebuild\u002Frepack **each** state and establish separate package\u002Fcache\u002F\nconsumer provenance before execution. An outer test can pass while its child\nfails intentionally; the red phase must fail the intended **outer assertion**,\nnot merely observe that expected child failure.\n\nThe execution verifier above is a **green-phase** gate: it requires all planned\nouter cases to pass and exit zero. Do not use it as a red-phase validator or\nweaken it to accept failures. Preserve red-phase reports\u002Flogs separately and\nverify the planned tests actually executed and failed at the intended assertions.\nCompilation, restore\u002Flaunch failures, skips, zero tests, and stale packages are\nnot regression proof. Record labeled behavior-removal\u002Fmutation comparisons for\nnew APIs, or an explicit sensitivity gap when no safe comparison is feasible.\n\n## 4. Prove the capable CI job will run the cases\n\nInspect `azure-pipelines.yml` and the actual referenced templates on the branch\nthat will ship. Trace change detection\u002Fjob conditions, `SkipTests`, configuration,\nproject\u002Fmodule selection, filter\u002Fcategory, conditional attributes, and environment\nall the way to each consuming test step. A category missing from a new test means\nthe dedicated filter will never select it.\n\nFor real Windows app-model changes:\n\n- The blocking `WindowsAppModel` job uses\n  `eng\\pipelines\\steps\\test-windows-app-model.yml`, Release packs\u002Fbuilds, and\n  `eng\\pipelines\\test-windows-app-model-preflight.ps1`. Preflight requires an\n  interactive\u002Felevated AppX-capable Windows session, appropriate VS\u002FUWP tooling,\n  and installed SDKs. A Windows image label alone is insufficient.\n- Real activation classes use `[TestCategory(\"WindowsApplicationModel\")]`,\n  `TESTFX_RUN_WINDOWS_APP_MODEL_TESTS=1`, and relevant OS\u002Fmember conditions.\n  `WindowsApplicationModelPackageTests` is instead selected by its own FQN filter;\n  package-content checks do not substitute for activation.\n- Native .NET 10 tests need `TESTFX_DOTNET_10_PATH` pointing to the isolated\n  installation from that template, including the required .NET 8 runtime.\n  Verify the variable on **every** consuming MSTest\u002FMTP step, not just where the\n  installation happens. Copy current pinned versions from the template, not this\n  skill. The repository SDK and the isolated shipping SDK have different roles.\n- WinApp interoperability additionally requires\n  `TESTFX_RUN_WINAPP_CLI_INTEROP_TESTS=1`, `TESTFX_WINAPP_CLI_PATH`, and the pinned,\n  hash-verified WinApp CLI. Do not enable it for unrelated changes.\n\nCompare local planned identities\u002Fcounts with CI's actual selection and executed\noutcomes. Read TRX\u002FTestResults and the test-step log, not merely the job badge or\nsuccessful `PublishTestResults`. Reconcile retries per attempt\u002Fmodule; do not sum\nduplicate retry reports. If the capable job is gated out or prerequisites are\nmissing, report **CI execution unproven\u002Fblocked** even if a different job is green.\nRecord build\u002Fjob\u002Fattempt identity and diagnostic artifact location. Never fix that\nby weakening conditions or treating skipped regressions as validated.\n\nHistorical failure modes motivating these gates:\n[missing category in #11614](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11614#discussion_r4130429859),\n[29 NotExecuted cases and missing consuming SDK path in #11805](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11805#discussion_r4216105096),\nand [packed-host launch-profile\u002Fdiscovery routing in #11804](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11804#discussion_r4216242074).\nThese are examples, not instructions to modify those PRs.\n\n## 5. Preserve evidence and clean up only owned state\n\nRetain exact commands and component versions, working directory\u002Fenvironment\noverrides (no secrets), exits, expected\u002Fobserved identities and counts, pack hashes,\nresolved\u002Fexecuted paths, and meaningful output\u002Fartifact assertions. Explain which\ncontract cases and release branches were exercised and which remain blocked.\nReuse existing PR evidence when publication is requested; do not publish by default.\nRead back and verify any published body.\n\nGenerated assets normally live under\n`artifacts\\tmp\\\u003CConfiguration>\\testsuite\\\u003Crandom-id>`. Setting\n`Microsoft_Testing_TestInfrastructure_TempDirectory_Cleanup=0` retains asset\ndirectories for diagnostics, but `AcceptanceFixture.AssemblyCleanup` still removes\nits cache. Capture provenance before fixture cleanup if the cache is needed.\nPrefer `finally` cleanup and existing cancellation tokens\u002Fbounded command helpers.\nTerminate only owned PIDs, unregister only exact run-owned package identities,\nand restore modified environment\u002Fstate. Never remove broad shared caches,\nregistrations, or workspace roots.\n\nThe app-model pipeline runs `-Mode LeakCheck` and publishes binlogs\u002FTRX\u002Flayout\u002F\nmanifest\u002Fresolved-assets\u002Flog diagnostics even on failure. On a shared local machine,\ndo **not** use `-RemoveStaleTestPackages` without verifying ownership: that pipeline\nswitch removes reserved-prefix packages for the current user. Preserve failures\nand evidence first; successful cleanup must not overwrite the test failure.\n\n## Maintaining this skill\n\nFor changes confined to this directory, validate the executable gate with:\n\n```powershell\npython -m unittest discover -s .github\\skills\\testfx-acceptance-validation\\scripts -p \"test_*.py\"\n```\n\nCheck referenced repository paths, command flags, and CI\u002Fhelper behavior against\nthe current branch. These self-tests validate the evidence gate, not the product.\nDo not claim a composed-product or CI run from documentation\u002Fscript checks.\n","# TestFx acceptance validation\n\nProduce evidence that the changed product ships correctly **and that the intended\nregressions execute**. A successful build, discovered tests, published TRX, or green\njob alone is not proof. Keep the work bounded to the changed contract.\n\n## Runtime choice\n\nThe Python execution gate is a measured exception to the repository's conditional\nPowerShell preference. A native PowerShell candidate did not meet the\nno-performance-regression condition for the documented standalone CLI path.\nOn Windows with Python 3.12.10 and PowerShell 7.6.6, three warmups followed by\n15 interleaved fresh-process samples per workload produced these medians,\nincluding process startup:\n\n| Workload | Python median, ms | PowerShell candidate median, ms |\n| --- | ---: | ---: |\n| Empty runtime startup | 76 | 528 |\n| One passed case | 208 | 898 |\n| 29 skipped cases | 200 | 819 |\n| 1,000 passed cases | 222 | 1,330 |\n| 10,000 passed cases | 222 | 3,882 |\n| 10,000 failed cases | 305 | 3,983 |\n\nRetain the existing gate and all 16 regression scenarios rather than accepting\nthat slowdown or weakening validation. This feasibility assessment does not\nestablish complete feature\u002Fsecurity parity, compare a warmed persistent host,\nor prove that every PowerShell implementation or other OS is slower.\nA future port must preserve the same input-validation and failure contracts,\ndemonstrate feature\u002Fsecurity parity, and avoid a performance regression on the\nsupported invocation paths, including startup where applicable.\n\n## 1. Choose the smallest shipping contract\n\nBefore implementation, record the following in the maintained feature decision\nrecord required by [feature-delivery](..\u002Ffeature-delivery\u002FSKILL.md). For non-feature\nfixes, use the session or existing issue\u002FPR evidence rather than creating an\nadditional planning file:\n\n| Decision | Required detail |\n| --- | --- |\n| Producer and consumer | Owning projects, exact NuGet IDs\u002Fversions, shipping binaries\u002Fsidecars\u002Fextensions, TFM\u002FRID\u002Farchitecture, SDK, and release branch that must work together. |\n| Lifecycle | Who launches, connects, cancels, disposes, and cleans up; required handshake and intentionally absent handshake; unsupported\u002Fundeclared versus explicitly disabled capability. |\n| Observable result | Exact parent and child exits, selected test identities\u002Fcounts, expected artifacts\u002Fcontent, and fallback rules. An outer acceptance test can pass while asserting an intentionally failing child. |\n| Scope | One representative real consumer per changed boundary; additional scenarios only where the change can affect them. Explain material exclusions. |\n| Delivery owner | One owner through dependency flow, downstream rollout, release-branch proof\u002Fbackports, and removal of temporary flags\u002Fdenylists. |\n\nAn assertion-only change can need just its focused unit test. A package layout,\nMSBuild launcher, process\u002Fprotocol, SDK, or independently shipped component change\nneeds a packed consumer, not just mocks or in-repo project references. For an SDK\nintegration, a fake SDK is useful protocol coverage but cannot replace the real\nshipping SDK invocation.\n\nBefore enabling a downstream feature, validate the branch\u002Fpackages that will ship\nand decide whether supported release branches need servicing\u002Fbackports. A rollout\nflag does not replace compatibility or composed-product proof.\n\nUse this risk table to choose cases, not to impose a full matrix on every change:\n\n| Changed boundary | Representative proof |\n| --- | --- |\n| Package\u002Ftargets | Inspect actual `.nupkg` entries and restore a generated consumer; assert resolved props\u002Ftargets\u002Fruntime assets and aligned dependencies. |\n| CLI\u002Flauncher\u002Frouting | Real execution plus discovery (`--list-tests`); help\u002Finfo if changed; a named launch profile with distinctive arguments\u002Fenvironment if profile routing is affected. Assert the marker\u002Ffilter reaches the actual packaged host\u002Fsidecar, not merely the outer command. |\n| Handshake\u002Fcapability | Normal handshake, intentionally suppressed\u002Fno-handshake path, and one old\u002Fincompatible consumer when relevant. A successful no-work child must not become a false parent failure; a missing required handshake must not become false success. |\n| Failure\u002Ffallback | Nonzero child exit, zero-result selection, partial\u002Fmissing input, and missing\u002Fstale\u002Fincompatible data where fallback is supported. Assert which work actually runs, not only a message saying fallback ran. |\n| Orchestration | Cancellation with bounded teardown and one mixed-success multi-module\u002FTFM run. Verify every module's artifacts and the aggregate parent exit; do not let one passed module conceal a missing or failed module. |\n| Reporter\u002Fresult mapping | Real packed runner with multiple distinguishable results; parse the final artifact or captured publishing request and assert each name, external identity\u002Fgrouping key, outcome, and relevant metadata association. One correct reporter does not prove another. |\n| UI\u002Flayout | Inspect the actual rendered affected surface at representative normal\u002Fconstrained dimensions, with relevant long-content and interaction states. HTML\u002FJSON source checks are not rendering proof; record unavailable hosted\u002FIDE UI checks explicitly. |\n\nFor display-name changes, choose multiple rows of one method and, when relevant,\ndifferent methods with the same row label. Assert distinct rows remain distinct\nthrough the consumer's identity\u002Fgrouping rules, not merely that the title field\ncontains the right string. Cover the affected default, full-name override,\narguments-only override, and method-display-name paths without multiplying\nequivalent cases. Folded rows sharing a UID and reflection\u002Fsource-generated\nexecution need separate cases when the changed mapping treats them differently.\nPreserve expected per-row counts and associations even if ordering is variable.\n\nPair automated content\u002Fidentity checks with\n[rendered-surface validation](..\u002Ffeature-delivery\u002FSKILL.md#4-demonstrate-the-feature-and-prepare-the-pr).\nA captured Azure DevOps publishing request is useful E2E evidence for the\npublisher boundary, but does not establish how the live Tests tab renders or\ngroups it. Record that limitation rather than broadening execution into an\nunauthorized external publish. Apply the same distinction to IDE discovery and\nHTML source versus their rendered UI.\n\n## 2. Pack and establish provenance\n\nRun from the worktree root. Use `.\\build.cmd -pack -c Release -bl` on Windows\n(`.\u002Fbuild.sh -pack -c Release -bl` on Linux\u002FmacOS). Capture the exit immediately and\nstop on failure. Repack after every source change. Do not pack\u002Fbuild concurrently\nagainst the same outputs. Do not run the full integration matrix solely to validate\nthis skill or another documentation-only change.\n\nInspect these current sources before adapting commands:\n\n| Source | What it establishes |\n| --- | --- |\n| `global.json`, `eng\\Versions.props`, `Directory.Packages.props` | Pinned repository SDK\u002Fruntime and dependency versions. Do not substitute a globally installed SDK. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\Constants.cs` | Configuration-matched `artifacts\\packages\\\u003CConfiguration>\\Shipping`, `NonShipping`, and `artifacts\\tmp\\\u003CConfiguration>\\packages` feeds. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\TestAsset.cs` | Generated `NuGet.config`, local feeds, and public-feed\u002Fsource-mapping behavior. A local feed in the config alone does not prove the resolved package came from it. |\n| `test\\IntegrationTests\\Microsoft.Testing.Platform.Acceptance.IntegrationTests\\Helpers\\AcceptanceFixture.cs` | A fresh random `.packages` cache for generated consumers each assembly run. The fixture also links into MSTest acceptance. |\n| `test\\Utilities\\Microsoft.Testing.TestInfrastructure\\TestAssetFixtureBase.cs`, `AcceptanceSourceGen.cs`, `TestHost.cs` | Generated builds and separate reflection\u002Fsource-generation outputs. Building a variant is not evidence that a test executed that variant. |\n| `test\\Directory.Build.targets` | MTP diagnostics\u002Freporting and `UsingDotNetTest=true` wiring for TRX\u002Fresults directories. |\n\nRecord commit\u002Fdirty source state, pack configuration\u002Fexit, exact package filenames\nand SHA-256 hashes, consumer restore\u002Fbuild command, generated `obj\\project.assets.json`\nand `*.nuget.g.props`\u002F`*.nuget.g.targets`, and loaded\u002Fexecuted binary paths. Check\npackage IDs\u002Fversions, restore `packageFolders`, chosen TFM\u002FRID assets, and physical\npackage\u002Fbinary content. Compare relevant cached package payloads with the current\npack; same version does not imply same bits. Keep MSTest and MTP version families\ndistinct while checking alignment within each contract.\n\nThe outer acceptance runner may reference source projects; the inner generated\nconsumer must consume the shipping package for the boundary under test.\n`TestAsset.GenerateAssetAsync`, `DotnetCli.RunAsync`, `TestHost.LocateFrom`, and\n`TestHost.ExecuteAsync` are existing building\u002Flaunching helpers. Prefer them over\nnew ad-hoc runners, but assert the real shipping layout when apphost versus DLL,\npublished output, controller, or package identity matters.\n\nUseful existing examples are `WindowsApplicationModelPackageTests` (physical\npackage entries), `PackagedAppIntegrationTests` (real packed consumer targets,\ncustom\u002Fsuppressed launchers, incompatible payloads, and multi-target exits), and\n`PackagedWinUITests` (real activation, package identity, native shipping SDK, and\nTRX). The first two are under MSTest acceptance; the last is under MTP acceptance.\nFor CLI descriptions, update the corresponding `HelpInfoTests` and\n`HelpInfoAllExtensionsTests` expectations rather than testing only option parsing.\n\nFor an independently constructed consumer, use a unique run-owned `NUGET_PACKAGES`\ncache and explicit feeds; do not clear shared\u002Fglobal caches. The existing acceptance\nfixture already isolates generated-consumer restores. CI's outer runner uses\n`eng\\pipelines\\variables\\test-env-vars.yml` (`DOTNET_ROOT=.dotnet`,\n`NUGET_PACKAGES=.packages`); distinguish that cache from the inner fixture's cache.\n\nWhen a consumer uses a different SDK, invoke the outer acceptance project through\n`dotnet test`, not only its apphost. The CLI exports `MSBuildSDKsPath`,\n`MSBuildExtensionsPath`, and `DOTNET_ROOT_X64` to the test host. A child `global.json`\nand a successful `dotnet --version` do not prevent mixed-SDK targets\u002Ftask loading.\nUse `AcceptanceTestBase.ConfigureDotnetSdkEnvironment` for the isolated native\nSDK, preserving shared cache\u002Ftooling settings. Verify actual build provenance\n(`NETCoreSdkVersion`, `MSBuildToolsPath`, extensions and SDK paths) alongside the\nreal packaged-host results.\n\nKeep CI's `DOTNET_CLI_CONTEXT_VERBOSE=1` enabled during native CLI validation.\nSDK tracing can name the sidecar executable even when help\u002Fdiscovery correctly\ncomes from the activated host, and ANSI color\u002Freset-only lines can interrupt an\notherwise deterministic block. Normalize presentation only, preserve the\ndiagnostics, and assert host usage or the delimited JSON payload rather than\nrequiring the entire mixed CLI output to be a payload.\n\n## 3. Run a focused regression and verify execution\n\nThis Windows example runs one existing packed-package regression. It is a package\nlayout check, **not** evidence of real UWP\u002FWinUI activation. Adapt the project\u002Ffilter\nand expected names for the changed contract. Use a unique results directory, retain\nlogs\u002Fbinlogs, and do not infer expectations from the report being verified.\n\n```powershell\n# After the successful configuration-matched pack above.\n$project = 'test\\IntegrationTests\\MSTest.Acceptance.IntegrationTests\\MSTest.Acceptance.IntegrationTests.csproj'\n$case = 'PackedMSTestTestAdapter_ContainsRequiredWindowsApplicationModelAssets'\n$results = Join-Path (Get-Location).Path ('artifacts\\TestResults\\Release\\acceptance-' + [Guid]::NewGuid().ToString('N'))\nNew-Item -ItemType Directory -Path $results | Out-Null\n\n$packages = @(Get-ChildItem -LiteralPath artifacts\\packages\\Release\\Shipping `\n    -Filter 'MSTest.TestAdapter.*.nupkg' -File)\nif ($packages.Count -ne 1) { throw \"Expected one current adapter package, found $($packages.Count).\" }\n$packages | Get-FileHash -Algorithm SHA256 | ConvertTo-Json |\n    Set-Content -LiteralPath \"$results\\package-provenance.json\" -Encoding UTF8\n\n& .\\.dotnet\\dotnet.exe build $project -c Release \"-bl:$results\\build.binlog\"\nif ($LASTEXITCODE -ne 0) { throw \"Acceptance build failed: $LASTEXITCODE\" }\n\n$filter = \"FullyQualifiedName~WindowsApplicationModelPackageTests.$case\"\n# Blank these global properties so discovery does not inherit execution-only reporters.\n& .\\.dotnet\\dotnet.exe test --project $project -c Release --no-build `\n    --list-tests --filter $filter -p:UsingDotNetTest=true `\n    -p:TestingPlatformCommandLineArguments= -p:TestRunnerAdditionalArguments= `\n    \"-bl:$results\\discovery.binlog\" 2>&1 | Tee-Object -FilePath \"$results\\discovery.log\"\n$discoveryExit = $LASTEXITCODE\nif ($discoveryExit -ne 0) { throw \"Acceptance discovery failed: $discoveryExit\" }\n# Reconcile discovery.log with the one source-declared case before executing.\n\n# The plan comes from source\u002Fdata rows and independent discovery, not this run's TRX.\n$expectedPath = Join-Path $results 'expected-tests.json'\nConvertTo-Json -InputObject @($case) | Set-Content -LiteralPath $expectedPath -Encoding UTF8\n$started = [DateTimeOffset]::UtcNow.ToString('o')\n& .\\.dotnet\\dotnet.exe test --project $project -c Release --no-build `\n    --filter $filter `\n    -p:UsingDotNetTest=true \"-p:ArtifactsTestResultsDir=$results\" `\n    \"-bl:$results\\test.binlog\" --show-test-results all `\n    2>&1 | Tee-Object -FilePath \"$results\\execution.log\"\n$testExit = $LASTEXITCODE\n\n$reports = @(Get-ChildItem -LiteralPath $results -Filter '*.trx' -File)\nif ($reports.Count -ne 1) { throw \"Expected one outer acceptance TRX, found $($reports.Count). Exit: $testExit\" }\npython .github\\skills\\testfx-acceptance-validation\\scripts\\verify_execution.py `\n    --trx $reports[0].FullName --expected-tests $expectedPath `\n    --started-after $started --process-exit-code $testExit\nif ($LASTEXITCODE -ne 0) { throw 'Acceptance execution proof failed.' }\n```\n\nThe verifier is standard-library Python and checks one **outer acceptance** TRX\nper module\u002FTFM. The JSON plan is a nonempty array of exact TRX `testName` strings,\nincluding data-row display names and multiplicity. Establish them from source,\ndata expansion, and separate discovery; reconcile discovery with the plan before\nexecution. Neither `--list-tests` nor a list copied from a passing report proves\nexecution. Record discovery's own exit\u002Foutput and use the same selector for the run.\n\nThe output distinguishes planned, reported-selected, executed, passed, failed, and\nskipped counts. It requires all planned cases to be present and passed, consistent\ncounters, a fresh run start, unique execution IDs, and outer exit zero. Zero tests,\n`NotExecuted`\u002Finconclusive\u002Fskipped results, missing modules, stale artifacts, and a\nnonzero exit fail the gate. Run it separately for each planned module with that\nmodule's expected names; aggregate success only after every gate passes. Legitimate\nunrelated skips belong in a separate selection\u002Freport, not a lowered proof bar.\nFor negative\u002Fdiscovery\u002Fhelp-only product commands, assert their contractual exits\nand output inside passing acceptance cases; do not pass their child TRX to this gate.\n\n### Regression sensitivity across production states\n\nApply [feature-delivery](..\u002Ffeature-delivery\u002FSKILL.md)'s red\u002Fgreen evidence contract\nto new behavioral regressions. Retain the same outer acceptance tests and their\nassertions while removing the relevant production behavior in an isolated\ncomparison. Rebuild\u002Frepack **each** state and establish separate package\u002Fcache\u002F\nconsumer provenance before execution. An outer test can pass while its child\nfails intentionally; the red phase must fail the intended **outer assertion**,\nnot merely observe that expected child failure.\n\nThe execution verifier above is a **green-phase** gate: it requires all planned\nouter cases to pass and exit zero. Do not use it as a red-phase validator or\nweaken it to accept failures. Preserve red-phase reports\u002Flogs separately and\nverify the planned tests actually executed and failed at the intended assertions.\nCompilation, restore\u002Flaunch failures, skips, zero tests, and stale packages are\nnot regression proof. Record labeled behavior-removal\u002Fmutation comparisons for\nnew APIs, or an explicit sensitivity gap when no safe comparison is feasible.\n\n## 4. Prove the capable CI job will run the cases\n\nInspect `azure-pipelines.yml` and the actual referenced templates on the branch\nthat will ship. Trace change detection\u002Fjob conditions, `SkipTests`, configuration,\nproject\u002Fmodule selection, filter\u002Fcategory, conditional attributes, and environment\nall the way to each consuming test step. A category missing from a new test means\nthe dedicated filter will never select it.\n\nFor real Windows app-model changes:\n\n- The blocking `WindowsAppModel` job uses\n  `eng\\pipelines\\steps\\test-windows-app-model.yml`, Release packs\u002Fbuilds, and\n  `eng\\pipelines\\test-windows-app-model-preflight.ps1`. Preflight requires an\n  interactive\u002Felevated AppX-capable Windows session, appropriate VS\u002FUWP tooling,\n  and installed SDKs. A Windows image label alone is insufficient.\n- Real activation classes use `[TestCategory(\"WindowsApplicationModel\")]`,\n  `TESTFX_RUN_WINDOWS_APP_MODEL_TESTS=1`, and relevant OS\u002Fmember conditions.\n  `WindowsApplicationModelPackageTests` is instead selected by its own FQN filter;\n  package-content checks do not substitute for activation.\n- Native .NET 10 tests need `TESTFX_DOTNET_10_PATH` pointing to the isolated\n  installation from that template, including the required .NET 8 runtime.\n  Verify the variable on **every** consuming MSTest\u002FMTP step, not just where the\n  installation happens. Copy current pinned versions from the template, not this\n  skill. The repository SDK and the isolated shipping SDK have different roles.\n- WinApp interoperability additionally requires\n  `TESTFX_RUN_WINAPP_CLI_INTEROP_TESTS=1`, `TESTFX_WINAPP_CLI_PATH`, and the pinned,\n  hash-verified WinApp CLI. Do not enable it for unrelated changes.\n\nCompare local planned identities\u002Fcounts with CI's actual selection and executed\noutcomes. Read TRX\u002FTestResults and the test-step log, not merely the job badge or\nsuccessful `PublishTestResults`. Reconcile retries per attempt\u002Fmodule; do not sum\nduplicate retry reports. If the capable job is gated out or prerequisites are\nmissing, report **CI execution unproven\u002Fblocked** even if a different job is green.\nRecord build\u002Fjob\u002Fattempt identity and diagnostic artifact location. Never fix that\nby weakening conditions or treating skipped regressions as validated.\n\nHistorical failure modes motivating these gates:\n[missing category in #11614](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11614#discussion_r4130429859),\n[29 NotExecuted cases and missing consuming SDK path in #11805](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11805#discussion_r4216105096),\nand [packed-host launch-profile\u002Fdiscovery routing in #11804](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fpull\u002F11804#discussion_r4216242074).\nThese are examples, not instructions to modify those PRs.\n\n## 5. Preserve evidence and clean up only owned state\n\nRetain exact commands and component versions, working directory\u002Fenvironment\noverrides (no secrets), exits, expected\u002Fobserved identities and counts, pack hashes,\nresolved\u002Fexecuted paths, and meaningful output\u002Fartifact assertions. Explain which\ncontract cases and release branches were exercised and which remain blocked.\nReuse existing PR evidence when publication is requested; do not publish by default.\nRead back and verify any published body.\n\nGenerated assets normally live under\n`artifacts\\tmp\\\u003CConfiguration>\\testsuite\\\u003Crandom-id>`. Setting\n`Microsoft_Testing_TestInfrastructure_TempDirectory_Cleanup=0` retains asset\ndirectories for diagnostics, but `AcceptanceFixture.AssemblyCleanup` still removes\nits cache. Capture provenance before fixture cleanup if the cache is needed.\nPrefer `finally` cleanup and existing cancellation tokens\u002Fbounded command helpers.\nTerminate only owned PIDs, unregister only exact run-owned package identities,\nand restore modified environment\u002Fstate. Never remove broad shared caches,\nregistrations, or workspace roots.\n\nThe app-model pipeline runs `-Mode LeakCheck` and publishes binlogs\u002FTRX\u002Flayout\u002F\nmanifest\u002Fresolved-assets\u002Flog diagnostics even on failure. On a shared local machine,\ndo **not** use `-RemoveStaleTestPackages` without verifying ownership: that pipeline\nswitch removes reserved-prefix packages for the current user. Preserve failures\nand evidence first; successful cleanup must not overwrite the test failure.\n\n## Maintaining this skill\n\nFor changes confined to this directory, validate the executable gate with:\n\n```powershell\npython -m unittest discover -s .github\\skills\\testfx-acceptance-validation\\scripts -p \"test_*.py\"\n```\n\nCheck referenced repository paths, command flags, and CI\u002Fhelper behavior against\nthe current branch. These self-tests validate the evidence gate, not the product.\nDo not claim a composed-product or CI run from documentation\u002Fscript checks.\n",{"name":5,"description":7},"main","2a8ebadb17a3b388b62bbb0cedd407999e3ce10a",".github\u002Fskills\u002Ftestfx-acceptance-validation",315,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 14:01:43",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add microsoft\u002Ftestfx --skill testfx-acceptance-validation",{"tool":68,"command":69},"bunx","bunx skills add microsoft\u002Ftestfx --skill testfx-acceptance-validation",{"tool":71,"command":72},"pnpm","pnpm dlx skills add microsoft\u002Ftestfx --skill testfx-acceptance-validation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002FSKILL.md",true,[76,82],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Ftest_verify_execution.py","SCRIPT","脚本",10058,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002Fscripts\u002Ftest_verify_execution.py",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fverify_execution.py",5539,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002Fscripts\u002Fverify_execution.py",[87,114,137,157,175,195],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":48},"01M70GYY0AV0JGMTHE2CN6TNYK","dotnet-breaking-changes","Use before changing .NET\u002FC# code whose callers you do not control: a NuGet library, or a repo with PublicAPI.Shipped\u002FUnshipped.txt, ApiCompat, multiple TargetFrameworks, InternalsVisibleTo, or generated (.g.cs) partials. Green builds miss silent breaks from optional parameters, parameter names, sealing, const values, nullability, and #if. USE FOR: \"without breaking existing callers\"; adding a public method, overload, optional parameter, or interface member to a shipped library; renaming a public method or an internal helper a friend assembly uses; consolidating duplicated logic; changing a signature, nullability, default, or attribute; adding a target framework; RS0016\u002FRS0017 or ApiCompat errors; \"is this PR breaking?\". For a rename, extract, or merge, also invoke csharp-refactoring. DO NOT USE FOR: an executable whose callers all live in one project; renaming a local variable or private member, even in a shipped library; formatting; framework\u002FSDK\u002FNuGet upgrades (use dotnet-upgrade).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdotnet-breaking-changes\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"dotnet","dotnet breaking changes","changes","green","project","default","local","errors","interface","generated","upgrade","invoke","you","code","refactoring","merge","rename","library","live","assembly",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":121,"publishedAt":48},"01M699HHE9DTZWAMPB1ZR7ZKSW","testfx-test-value-evidence","Apply the vendored test-value-evidence skill with TestFx toolchain, assertion, parallel-safety, packed-consumer, and review conventions. Use when implementing or reviewing behavior-changing TestFx PRs or commits, including source-only changes.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-test-value-evidence\u002FSKILL.md",[120],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[47,122,123,45,124,125,126,127,128,129,130,41,39,131,132,133,96,134,135,136],"testfx test value evidence","test value evidence","value","review","parallel","toolchain","commits","implementing","prs","when","apply","with","behavior","Safety","conventions",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":48},"01M699HEYWH1B9XGNBFY8J2FZS","testfx-parallel-safety-preflight","Check concurrency and isolation before implementing or refactoring TestFx tests, lifecycle code, helpers, shared-state declarations, or production paths those tests exercise. Use before narrowing DoNotParallelize or ResourceLock, changing parallelization settings, or introducing asynchronous workers; repeat against the final diff.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-parallel-safety-preflight\u002FSKILL.md",[],[144,135,145,126,146,147,129,148,107,149,108,29,150,151,152,153,154,155,39,156],"testfx parallel safety preflight","preflight","shared","asynchronous","exercise","concurrency","isolation","helpers","diff","parallelization","lifecycle","tests","workers",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":48},"01M699HC61ZV9GJ2C8JV03951G","testfx-localization-validation","Validate generated TestFx localization catalogs, resource IDs, placeholders and locked tokens. Use for RESX\u002FXLF changes, OneLoc PRs, localization build failures, duplicate targets or units, and orphaned translation entries.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-localization-validation\u002FSKILL.md",[],[164,25,165,166,167,168,28,169,170,130,103,39,171,172,96,173,174],"testfx localization validation","localization","validate","translation","ids","tokens","entries","units","duplicate","targets","build",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":48},"01M699H70BB999BT4F627T1PHE","session-delivery-hygiene","Gate local-session scope, persistent delivery, live PR state, integration provenance, and owned cleanup. Use before implementing guidance changes, changing or pushing PR work, diagnosing package\u002Foutput mismatches, or handing off implementation.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsession-delivery-hygiene\u002FSKILL.md",[],[182,183,184,185,186,129,100,187,188,112,189,40,39,37,190,191,96,192,193,194],"session delivery hygiene","delivery","session","hygiene","scope","cleanup","work","pr","output","state","integration","guidance","gate",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":48},"01M699H4M0M24835C1F8B4TZE0","post-release-activities","Systematic activities that need to be performed after a release is done.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpost-release-activities\u002FSKILL.md",[],[202,203,204,205,206,207],"post release activities","release","post","post release","done","systematic"]