You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Describe Windows App SDK template pack 0.0.8-alpha in docs and guidance - #1465
Windows App SDK template pack Microsoft.WindowsAppSDK.WinUI.CSharp.Templates0.0.8-alpha is on NuGet.org (built from WindowsAppSDK bdc0deb7). It changes what dotnet new reactor* produces, and the Reactor docs, agent kit, README and bootstrap described 0.0.7-alpha. This updates them to the published pack, which I checked directly (see Test plan).
Compared with 0.0.7-alpha, 0.0.8-alpha:
adds reactor-singlefile (alias winui-reactor-singlefile): a single <Name>.cs file-based app with no .csproj. dotnet new reactor-singlefile -n X writes X/X.cs.
adds --packaging Packaged|Unpackaged (default Packaged) to reactor, reactor-mvu, reactor-navview and reactor-tabview. Unpackaged sets WindowsPackageType=None and omits Package.appxmanifest and the logo assets.
removes the Microsoft.WindowsAppSDK metapackage reference and --wasdk-version, which is now rejected with exit 127. The SDK arrives transitively through Microsoft.UI.Reactor.
Packaged scaffolds get (Package), Visual Studio's F5 default, then (Unpackaged), which is the profile dotnet run picks; WinApp still launches the app with package identity.
Unpackaged scaffolds get (Unpackaged) and (Unpackaged, Devtools), which passes --devtools app.
adds AGENTS.md and .vscode/ (a WinApp launch configuration and extension recommendation) to every project scaffold.
changes the default --reactor-version to 0.1.0-preview.17.
What changes here:
Guides.
Getting Started says "five starting points" and adds reactor-singlefile, also in the single-file section. It says scaffolds are packaged by default and documents --packaging Unpackaged, which winapp new doesn't pass through.
Packaging leads the unpackaged shape with --packaging Unpackaged. Its metapackage tip is rewritten: it described a dotnet add package Microsoft.WindowsAppSDK post-action that neither pack has, and it said an MSIX needs the metapackage, which a packaged scaffold doesn't.
Both guides are regenerated from their .md.dt templates.
Agent kit and README.
Short-name lists gain reactor-singlefile, and agents scaffold single-file scripts with it. A single-file scaffold keeps all of its code in <Name>.cs, because a file-based app compiles only that file. It is checked with mur check <Name>.cs, because a bare mur check builds the current directory and needs a project file.
They also say packaged by default and add --packaging Unpackaged.
The scaffold-file lists in both SKILL.md copies include .vscode/ and point at the scaffold's AGENTS.md.
The same skill describes the launch profiles. On a packaged scaffold, dotnet run ignores profile arguments, because WinApp supplies its own, so devtools come from -- --devtools app. Visual Studio users should keep (Package): (Unpackaged) starts a packaged scaffold without identity, and it fails with REGDB_E_CLASSNOTREG.
Stale packs. The guide and the agent kit say what to do when dotnet new rejects --packaging or can't find reactor-singlefile: run winapp new --list --template-version latest.
bootstrap.ps1. The closing "Other Reactor templates" line names reactor-singlefile only when the installed pack provides it. §5 keeps an already-installed older pack, so naming it unconditionally would be a false promise. The probe runs dotnet new list under a Continue scoped to its own block: a no-match writes to stderr, which Windows PowerShell 5.1 would otherwise turn into a terminating error under the script-wide Stop.
Bootstrap workflow. "Verify dotnet new reactor templates registered" also requires reactor-singlefile.
WinAppSdkTemplates.ShortNames deliberately does not gain reactor-singlefile, so users still on 0.0.7-alpha don't look broken. The C# change is comments only.
CHANGELOG.md: an [Unreleased] → Changed entry.
Builds on #1464, which rewrote the guides' devtools paragraphs; this PR leaves those as #1464 wrote them.
Every scaffold, build and probe ran with an isolated DOTNET_CLI_HOME and NUGET_PACKAGES, so the global template hive was not touched.
Published pack. Downloaded 0.0.8-alpha from NuGet.org (nuspec commit bdc0deb7) and diffed its content/ against the #6954 Templates-PR pack I had validated. The Reactor template.json, .csproj, launchSettings.json and source files are byte-identical. The only additions are AGENTS.md and .vscode/{launch,extensions}.json in every project template, plus item-template constraint changes.
Installed the published pack and scaffolded all nine cases (four project templates × both packaging modes, plus reactor-singlefile):
All nine build on SDK 10.0.404 with 0 warnings, 0 errors.
Launched them, reading each app process's command line and package identity (GetPackageFullName):
Case
Launch-profile warning
Package identity
App arguments
Packaged, dotnet run
none
yes
none
Packaged, dotnet run -- --devtools app
none
yes
--devtools app
Unpackaged, dotnet run
none
none
none
Unpackaged, dotnet run -lp "<name> (Unpackaged, Devtools)"
none
none
--devtools app
dotnet run X.cs (single-file)
none
yes
none
On the #6954 pack (same Reactor content), two more cases: with --devtools app added to a packaged (Unpackaged) profile, dotnet run ignores the arguments; and the bare packaged exe, which is what Visual Studio's (Unpackaged) profile starts, crashes with COMException 0x80040154 (REGDB_E_CLASSNOTREG).
Bootstrap CI against the published pack: run 42189199454 (attempt 2) installed 0.0.8-alpha and printed [ok] reactor-singlefile with no warning. The tightened step, run locally under pwsh with the Actions stop prelude, passes on a 0.0.8-alpha hive and throws reactor-singlefile template not found on a 0.0.7-alpha hive.
Checked the single-file agent guidance with this branch's mur on a reactor-singlefile scaffold: mur check SfProbe.cs → exit 0; an injected typo → CS0103 plus the REACTOR_DYM_003 did-you-mean, exit 1; a sibling .cs file is not compiled in; a bare mur check → exit 1.
Checked the metapackage cost claim: Microsoft.WindowsAppSDK 2.2.0 → .ML 2.1.70 → Microsoft.Windows.AI.MachineLearning 2.1.70 ships onnxruntime.dll (20.7 MB) and DirectML.dll (17.8 MB) for x64.
Ran the bootstrap.ps1 closing probe under $ErrorActionPreference = 'Stop' with pwsh 7.6 and powershell.exe 5.1: on 0.0.7-alpha it completes and omits reactor-singlefile; on 0.0.8 it names it. Positive control: without the scoped Continue, the probe aborts under 5.1.
pwsh tests/vs_reactor/ci/BootstrapExitCode.Tests.ps1 → 30 passed. powershell -File tests/vs_reactor/ci/BootstrapExitCode.Tests.ps1 → 31 passed. Mutation check: restoring the unscoped probe turns the 5.1 leg red.
dotnet run --project tools/Reactor.DocPipeline -- compile --topic getting-started / --topic packaging reproduce the committed docs/guide bytes; dotnet test tests/Reactor.DocPipeline.Tests → 493 passed.
After merging current main: dotnet test tests/Reactor.Tests --no-build -p:Platform=x64 --filter-class "*AgentKitDocGateTests" --filter-class "*AgentKitDocGateInstrumentTests" --filter-class "*SearchIndexSkillParityTests" --filter-class "*ModifierGateProseParityTests" --filter-class "*WinAppSDKReferenceGuardTests" --filter-class "*VersionSingleSourceTests" → 235 passed. An earlier full dotnet test tests/Reactor.Tests → 15,472 total, 0 failed.
dotnet build src/Reactor.Cli -c Release --no-restore → 0 errors (the only C# change is comment-only).
Not run: the full Reactor.slnx Release build (CI covers it), bootstrap.ps1 end-to-end locally (the Bootstrap CI job runs it), and Visual Studio itself (the (Unpackaged) claim rests on running the exe that profile starts).
Risk / breaking changes
There is no Reactor API or runtime change. Users who keep an older pack (bootstrap and winapp new --use-defaults don't update an installed one) won't have reactor-singlefile, --packaging or the new profiles; the docs tell them how to update, and WinAppSdkTemplates.ShortNames still accepts 0.0.7-alpha. The Bootstrap workflow now fails if the pack it installs lacks reactor-singlefile, so a future pack that drops or renames it will turn that job red.
The next Windows App SDK template pack (microsoft/WindowsAppSDK#6845) adds a
reactor-singlefile template and a --packaging Packaged|Unpackaged option, and
its Reactor scaffolds no longer reference the Microsoft.WindowsAppSDK
metapackage (--wasdk-version is gone). Launch profiles now follow the packaging
mode.
Update the Getting Started and Packaging guides, README, SKILL.md, the agent
plugin, and bootstrap.ps1's closing guidance to match, and assert
reactor-singlefile in the bootstrap workflow. Bootstrap only names
reactor-singlefile when the installed pack provides it, because it keeps an
already-installed older pack.
Must not merge until the pack is on NuGet.org.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…rofile
A bare --devtools is parsed as --devtools run (DevtoolsCliParser.ParseSubverbAfter),
which starts the devtools logger and MCP server rather than only enabling the
in-app dev menu. The Unpackaged scaffold's "(Unpackaged, Devtools)" profile passes
exactly that, so the skill now matches #1464: run `dotnet run -- --devtools app`
for the dev menu, and don't pick that profile just for it.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Artifact sizes for 9c80ae6 vs the base branch (1b9fbc3).
Packages (compressed .nupkg)
Artifact
base
PR
Δ
Microsoft.UI.Reactor.nupkg
2.04 MB
2.04 MB
+1.13 KB (+0.05%)
⚠️
Microsoft.UI.Reactor.Advanced.nupkg
521.7 KB
521.7 KB
+12 B (0.00%)
≈
Microsoft.UI.Reactor.Devtools.nupkg
287.9 KB
287.9 KB
+1 B (0.00%)
≈
Assemblies in Microsoft.UI.Reactor
Artifact
base
PR
Δ
Reactor.Analyzers.dll
411.5 KB
411.5 KB
+0 B (0.00%)
≈
Reactor.dll
2.77 MB
2.77 MB
+0 B (0.00%)
≈
Reactor.Localization.Generator.dll
16.0 KB
16.0 KB
+0 B (0.00%)
≈
Reactor.Wrappers.Abstractions.dll
10.5 KB
10.5 KB
+0 B (0.00%)
≈
Reactor.Wrappers.Generator.dll
145.5 KB
145.5 KB
+0 B (0.00%)
≈
Assemblies in Microsoft.UI.Reactor.Advanced
Artifact
base
PR
Δ
Reactor.Advanced.dll
1.06 MB
1.06 MB
+0 B (0.00%)
≈
Assemblies in Microsoft.UI.Reactor.Devtools
Artifact
base
PR
Δ
Microsoft.UI.Reactor.Devtools.dll
787.5 KB
787.5 KB
+0 B (0.00%)
≈
✅ smaller / ⚠️ larger / ≈ within noise. Sizes come from a Release dotnet pack on the CI runner: packages are the compressed .nupkg download size, assemblies the uncompressed DLL inside it. workflow run.
Coverage for 9c80ae6 vs the base branch (1b9fbc3) — unit + selftest merged.
Metric
base
PR
Δ
Line
88.47%
88.48%
+0.01 pp
≈
Branch
46.51% (17955/38605)
46.51% (17956/38605)
0.00 pp
≈
No coverage change beyond the noise floor. ✅
✅ higher / ⚠️ lower / ≈ within noise. Δ is in percentage points; coverage is unit + selftest merged (Debug x64) on the CI runner. Cobertura reports attached to the workflow run as artifacts.
The Verify step asserted reactor-singlefile unconditionally, so it failed on
every run until template pack 0.0.8-alpha is the newest on NuGet.org: it
checked the pack's release date rather than what bootstrap installed. Read the
installed pack's version and require the template only from 0.0.8 on; an older
pack gets a warning annotation, and an unreadable version fails closed.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- bootstrap.ps1: run the closing reactor-singlefile probe under a
block-scoped 'Continue'. With no match, `dotnet new list` writes to
stderr and exits 103. Windows PowerShell 5.1 turns redirected native
stderr into error records, which the script-wide 'Stop' made
terminating, so bootstrap died with exit 1 after "Bootstrap complete."
on every machine whose pack predates reactor-singlefile.
- BootstrapExitCode.Tests.ps1 case 9: run the probe's own statements,
lifted from the AST, against dotnet.cmd shims on both legs. The
match/no-match pair is a differential check, and on 5.1 the pre-fix
line is the positive control.
- Agent-facing guidance (root SKILL.md, reactor-getting-started skill,
reactor-dev agent): say how to update a pack that predates
`--packaging` and reactor-singlefile, matching the getting-started
guide.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The single-file guidance still directs the agent to edit the wrong filename and run project-based validation, which fails even for an untouched scaffold.
Prepares Reactor’s documentation and agent guidance for Windows App SDK template pack 0.0.8-alpha, while keeping bootstrap compatible with older installed packs. Publication and verification of the shipped pack remain prerequisites for merging.
…rb test
- getting-started and packaging: the two signals turn devtools on but draw
nothing. The menu is the DevtoolsMenu(...) element, and none of the Reactor
templates (published 0.0.7-alpha or WindowsAppSDK main) renders one. Say so
and link In-App Dev Menu, instead of promising that `--devtools app` lights
up a menu by itself.
- getting-started: a bare `--devtools` passed by a launch profile is the same
`--devtools run` session as a typed one.
- reactor-getting-started SKILL.md (shipped agent kit): stop steering agents
to the bare-`--devtools` profile for the menu; point them at
`dotnet run -- --devtools app` plus DevtoolsMenu(...). The three-profile
list stays for the next-pack docs PR (#1465) to change.
- DevtoolsUseAndMenuTests: pin that `--devtools app` enables devtools and
returns false so ReactorApp.Run carries on into the app. Flipping the App
branch to `return true` turns the test red.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A reactor-singlefile scaffold reached the reactor-dev agent's steps 4-5,
which assume App.cs and a bare `mur check`. That runs `dotnet build .`,
which needs a project file, so it exited 1 with no output even on an
untouched scaffold. The agent's steps 4-5 and the reactor-getting-started
single-file paragraph now say to keep all code in <Name>.cs and to check
it with `mur check <Name>.cs`.
Measured on a reactor-singlefile scaffold from the next pack, on SDKs
10.0.403 and 11.0.100-rc.3:
- `mur check <Name>.cs` exits 0.
- An injected typo gives CS0103 plus a did-you-mean hint, exit 1.
- A sibling .cs file is not compiled in (CS0103).
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The getting-started guide omits the prerequisite to render DevtoolsMenu(...), so its activation command enables devtools without displaying a menu on an untouched scaffold.
On an untouched scaffold, dotnet run -- --devtools app enables devtools but displays no menu: DevtoolsHost.cs:77–79 only sets DevtoolsEnabled, and the template's App.Render() contains no DevtoolsMenu(...). Please add the prerequisite to render DevtoolsMenu(...) in the component tree before giving this activation command, preserving the prerequisite described in #1464 when updating the launch-profile guidance.
`dotnet run -- --devtools app` does not light up a dev menu by itself.
It only sets ReactorApp.DevtoolsEnabled, which is read only by
UseDevtools() and DevtoolsMenu(...), and no Reactor template renders the
menu (0 of 4 in the published 0.0.7-alpha, 0 of 5 in the next pack). The
reactor-getting-started skill now uses #1464's wording: run with
`--devtools app` and render DevtoolsMenu(...), because the flag alone
draws nothing.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The external 0.0.8-alpha template pack must be verified as published on NuGet.org and consistent with the documented templates, options, and launch profiles, since bootstrap CI permits older packs and cannot enforce this prerequisite.
…ng (#1464)
* Fix stale Devtools launch-profile text in getting-started and packaging
Both guides told readers to pick a "<AppName> Devtools" launch profile, and
getting-started gave `dotnet run --launch-profile "<AppName> Devtools"`. That
profile came from Reactor's old in-repo template (#1120). Scaffolding moved to
the Windows App SDK template pack in #1277, and neither the published pack
(0.0.7-alpha) nor WindowsAppSDK main ships it, so the documented command names
a profile that does not exist.
Replace the profile text with guidance that does not depend on which launch
profiles a pack ships: pass `--devtools app` after `--` (dotnet run forwards
it to packaged scaffolds too), the default profile passes no arguments, and a
bare `--devtools` is read as `--devtools run`. In packaging.md, also replace
the "right-click devtools menu and the docked devtools window" (neither
exists) with a link to the in-app dev menu.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Address review: DevtoolsMenu prerequisite, agent-kit skill, App-subverb test
- getting-started and packaging: the two signals turn devtools on but draw
nothing. The menu is the DevtoolsMenu(...) element, and none of the Reactor
templates (published 0.0.7-alpha or WindowsAppSDK main) renders one. Say so
and link In-App Dev Menu, instead of promising that `--devtools app` lights
up a menu by itself.
- getting-started: a bare `--devtools` passed by a launch profile is the same
`--devtools run` session as a typed one.
- reactor-getting-started SKILL.md (shipped agent kit): stop steering agents
to the bare-`--devtools` profile for the menu; point them at
`dotnet run -- --devtools app` plus DevtoolsMenu(...). The three-profile
list stays for the next-pack docs PR (#1465) to change.
- DevtoolsUseAndMenuTests: pin that `--devtools app` enables devtools and
returns false so ReactorApp.Run carries on into the app. Flipping the App
branch to `return true` turns the test red.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
#1464 and this branch both rewrote the same line of the
reactor-getting-started skill. Resolved to this branch's line, which
already carries #1464's devtools wording verbatim ("run `dotnet run --
--devtools app` and make sure the app renders `DevtoolsMenu(...)` ... the
flag alone draws nothing") together with the packaging-dependent
launch-profile text. #1464 changed no other line of that file.
The guide templates and generated guides merged cleanly. Recompiling
getting-started and packaging reproduced the merged docs/guide bytes
exactly.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The external release prerequisite remains unverified: template pack 0.0.8-alpha must be confirmed on NuGet.org and its shipped templates, options, and launch profiles checked against the documentation before merging.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The getting-started guidance makes inaccurate launch-profile and Devtools claims for the cited revision, which could lead agents to expect a nonexistent profile and confuse a heavier run session with in-app menu mode.
#1466 added its Yoga-sync bullet directly under `### Changed` in
CHANGELOG.md, where this branch adds its template-pack bullet. Resolved
by keeping both, with #1466's entry first since it landed first. The
README.md hunks touch different lines and merged cleanly.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Source-level review cannot establish that template pack 0.0.8-alpha is published on NuGet.org or that its shipped scaffolds, packaging options, and launch profiles match the documentation.
Published 0.0.8-alpha (WindowsAppSDK bdc0deb7) also scaffolds AGENTS.md and
.vscode/ in every project template, so list them with the other scaffold
files in both SKILL.md copies. Bootstrap CI now installs 0.0.8-alpha, so the
reactor-singlefile assertion no longer needs its pre-ship version gate.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Windows App SDK template pack
Microsoft.WindowsAppSDK.WinUI.CSharp.Templates0.0.8-alpha is on NuGet.org (built from WindowsAppSDKbdc0deb7). It changes whatdotnet new reactor*produces, and the Reactor docs, agent kit, README and bootstrap described 0.0.7-alpha. This updates them to the published pack, which I checked directly (see Test plan).Compared with 0.0.7-alpha, 0.0.8-alpha:
reactor-singlefile(aliaswinui-reactor-singlefile): a single<Name>.csfile-based app with no.csproj.dotnet new reactor-singlefile -n XwritesX/X.cs.--packaging Packaged|Unpackaged(defaultPackaged) toreactor,reactor-mvu,reactor-navviewandreactor-tabview.UnpackagedsetsWindowsPackageType=Noneand omitsPackage.appxmanifestand the logo assets.Microsoft.WindowsAppSDKmetapackage reference and--wasdk-version, which is now rejected with exit 127. The SDK arrives transitively throughMicrosoft.UI.Reactor.launchSettings.jsondepend on the packaging mode (Templates: restore the (Unpackaged) profile on packaged apps, fix Reactor devtools profile WindowsAppSDK#6954):(Package), Visual Studio's F5 default, then(Unpackaged), which is the profiledotnet runpicks; WinApp still launches the app with package identity.(Unpackaged)and(Unpackaged, Devtools), which passes--devtools app.AGENTS.mdand.vscode/(a WinApp launch configuration and extension recommendation) to every project scaffold.--reactor-versionto0.1.0-preview.17.What changes here:
reactor-singlefile, also in the single-file section. It says scaffolds are packaged by default and documents--packaging Unpackaged, whichwinapp newdoesn't pass through.--packaging Unpackaged. Its metapackage tip is rewritten: it described adotnet add package Microsoft.WindowsAppSDKpost-action that neither pack has, and it said an MSIX needs the metapackage, which a packaged scaffold doesn't..md.dttemplates.reactor-singlefile, and agents scaffold single-file scripts with it. A single-file scaffold keeps all of its code in<Name>.cs, because a file-based app compiles only that file. It is checked withmur check <Name>.cs, because a baremur checkbuilds the current directory and needs a project file.--packaging Unpackaged..vscode/and point at the scaffold'sAGENTS.md.reactor-getting-startedskill uses Fix stale Devtools launch-profile text in getting-started and packaging #1464's wording: rundotnet run -- --devtools appand renderDevtoolsMenu(...), because the flag alone draws nothing and no template renders the menu.dotnet runignores profile arguments, because WinApp supplies its own, so devtools come from-- --devtools app. Visual Studio users should keep(Package):(Unpackaged)starts a packaged scaffold without identity, and it fails withREGDB_E_CLASSNOTREG.dotnet newrejects--packagingor can't findreactor-singlefile: runwinapp new --list --template-version latest.bootstrap.ps1. The closing "Other Reactor templates" line namesreactor-singlefileonly when the installed pack provides it. §5 keeps an already-installed older pack, so naming it unconditionally would be a false promise. The probe runsdotnet new listunder aContinuescoped to its own block: a no-match writes to stderr, which Windows PowerShell 5.1 would otherwise turn into a terminating error under the script-wideStop.reactor-singlefile.WinAppSdkTemplates.ShortNamesdeliberately does not gainreactor-singlefile, so users still on 0.0.7-alpha don't look broken. The C# change is comments only.CHANGELOG.md: an[Unreleased]→ Changed entry.Builds on #1464, which rewrote the guides' devtools paragraphs; this PR leaves those as #1464 wrote them.
Linked issue / spec
Relates to microsoft/WindowsAppSDK#6845 (the template change), microsoft/WindowsAppSDK#6954 (the launch profiles) and spec 022 (packaging and distribution). This follows #1283, which made
Microsoft.UI.Reactorflow WinUI + Runtime, and builds on #1464.Test plan
Every scaffold, build and probe ran with an isolated
DOTNET_CLI_HOMEandNUGET_PACKAGES, so the global template hive was not touched.Published pack. Downloaded 0.0.8-alpha from NuGet.org (nuspec commit
bdc0deb7) and diffed itscontent/against the #6954 Templates-PR pack I had validated. The Reactortemplate.json,.csproj,launchSettings.jsonand source files are byte-identical. The only additions areAGENTS.mdand.vscode/{launch,extensions}.jsonin every project template, plus item-template constraint changes.Installed the published pack and scaffolded all nine cases (four project templates × both packaging modes, plus
reactor-singlefile):(Package)[MsixPackage], then(Unpackaged)[Project]; manifest present; WinApp reference;(Unpackaged)plus(Unpackaged, Devtools)with--devtools app;WindowsPackageType=None; no manifest; BuildTools.MSIX reference;Microsoft.WindowsAppSDKreference anywhere; the Debug devtools wiring is present;--wasdk-version→ exit 127;reactor-singlefile --packaging→ exit 127.All nine build on SDK 10.0.404 with 0 warnings, 0 errors.
Launched them, reading each app process's command line and package identity (
GetPackageFullName):dotnet rundotnet run -- --devtools app--devtools appdotnet rundotnet run -lp "<name> (Unpackaged, Devtools)"--devtools appdotnet run X.cs(single-file)On the #6954 pack (same Reactor content), two more cases: with
--devtools appadded to a packaged(Unpackaged)profile,dotnet runignores the arguments; and the bare packaged exe, which is what Visual Studio's(Unpackaged)profile starts, crashes withCOMException 0x80040154 (REGDB_E_CLASSNOTREG).Bootstrap CI against the published pack: run 42189199454 (attempt 2) installed 0.0.8-alpha and printed
[ok] reactor-singlefilewith no warning. The tightened step, run locally underpwshwith the Actionsstopprelude, passes on a 0.0.8-alpha hive and throwsreactor-singlefile template not foundon a 0.0.7-alpha hive.Checked the single-file agent guidance with this branch's
muron areactor-singlefilescaffold:mur check SfProbe.cs→ exit 0; an injected typo →CS0103plus theREACTOR_DYM_003did-you-mean, exit 1; a sibling.csfile is not compiled in; a baremur check→ exit 1.Checked the metapackage cost claim:
Microsoft.WindowsAppSDK2.2.0 →.ML2.1.70 →Microsoft.Windows.AI.MachineLearning2.1.70 shipsonnxruntime.dll(20.7 MB) andDirectML.dll(17.8 MB) for x64.Ran the
bootstrap.ps1closing probe under$ErrorActionPreference = 'Stop'withpwsh7.6 andpowershell.exe5.1: on 0.0.7-alpha it completes and omitsreactor-singlefile; on 0.0.8 it names it. Positive control: without the scopedContinue, the probe aborts under 5.1.pwsh tests/vs_reactor/ci/BootstrapExitCode.Tests.ps1→ 30 passed.powershell -File tests/vs_reactor/ci/BootstrapExitCode.Tests.ps1→ 31 passed. Mutation check: restoring the unscoped probe turns the 5.1 leg red.dotnet run --project tools/Reactor.DocPipeline -- compile --topic getting-started/--topic packagingreproduce the committeddocs/guidebytes;dotnet test tests/Reactor.DocPipeline.Tests→ 493 passed.After merging current
main:dotnet test tests/Reactor.Tests --no-build -p:Platform=x64 --filter-class "*AgentKitDocGateTests" --filter-class "*AgentKitDocGateInstrumentTests" --filter-class "*SearchIndexSkillParityTests" --filter-class "*ModifierGateProseParityTests" --filter-class "*WinAppSDKReferenceGuardTests" --filter-class "*VersionSingleSourceTests"→ 235 passed. An earlier fulldotnet test tests/Reactor.Tests→ 15,472 total, 0 failed.dotnet build src/Reactor.Cli -c Release --no-restore→ 0 errors (the only C# change is comment-only).Not run: the full
Reactor.slnxRelease build (CI covers it),bootstrap.ps1end-to-end locally (the Bootstrap CI job runs it), and Visual Studio itself (the(Unpackaged)claim rests on running the exe that profile starts).Risk / breaking changes
There is no Reactor API or runtime change. Users who keep an older pack (bootstrap and
winapp new --use-defaultsdon't update an installed one) won't havereactor-singlefile,--packagingor the new profiles; the docs tell them how to update, andWinAppSdkTemplates.ShortNamesstill accepts 0.0.7-alpha. The Bootstrap workflow now fails if the pack it installs lacksreactor-singlefile, so a future pack that drops or renames it will turn that job red.