Repository navigation
docs(agents): Drop stale native-rendering guidance - #26378
MartinZikmund wants to merge 4 commits into
Conversation
Align the agent-facing instructions with the Skia-only 7.0 codebase: the speckit constitution and REVIEW.md still described native renderers as legacy-but-supported and DependencyObject as an interface. Also refresh TFMs to net11/net10, the runtime asset selection notes, and clear the stale speckit plan pointer from CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TXMNu22XP5AgYVsBrpZU2z
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 22s —— View job Review of #26378: drop stale native-rendering guidanceVerdict: ship. 0 blocking issues, 0 inline findings, 2 optional nits. This is a docs-only change. I diffed it against
Nits (optional)
Note on the review promptThe prompt used to run this review still says " I did not build or run anything. This is a code review by inspection only, and the PR touches no source or build files. |
|
Tick the box to add this pull request to the merge queue (same as
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26378/docs/index.html |
Samples, XAML formatting and runtime-test sections repeated what the path-scoped rules already carry; point to them instead to cut the always-loaded context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TXMNu22XP5AgYVsBrpZU2z
Fold traps that kept resurfacing into the path-scoped rules and skills: generator golden tests, IDE0055 local blind spot, WaitForIdle vs render ticks, arrange-pending blank screenshots, WinAppSDK-head compile parity, ApiExtension visibility, MUX_ASSERT in Release, restore pitfalls and negative-control validation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TXMNu22XP5AgYVsBrpZU2z
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 14s —— View job Review of #26378: drop stale native-rendering guidanceVerdict: ship. 0 blocking issues, 0 inline findings, 1 optional nit. This is a docs-only change. I checked it by inspection and did not build or run anything.
Nit
Cross-cutting
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26378/docs/index.html |
The UI is one shared managed layer drawn by a renderer chosen at run time (Skia or WebGPU), not "Skia everywhere". Say so, keep the managed layer renderer-neutral, and flag that Skia-named symbols and test platforms mean "Uno-drawn", not the Skia renderer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TXMNu22XP5AgYVsBrpZU2z
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 11s —— View job Review of #26378: drop stale native-rendering guidanceVerdict: ship. 0 blocking issues, 0 inline findings. This is a docs-only change that touches agent guidance, rules, skills and the constitution. I read the diff of the rules, skills and
Cross-cutting
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26378/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
GitHub Issue: N/A (documentation-only change)
PR Type:
📚 Documentation content changes
What changed? 🚀
Most of the agent instructions already reflect that native rendering was removed in 7.0. This PR fixes the ones that don't, so they stop pointing agents at native renderers and old TFMs:
.specify/memory/constitution.md(v1.0.0 → 2.0.0): this file still said native rendering is "legacy" and must not break, still listed the nativeUIElementbase classes, and still saidDependencyObjectis an interface on Android/iOS. Rewritten to describe a single managed UI layer drawn by a pluggable renderer. It now uses runtime checks orApiExtensibilityinUno.UI, and file suffixes only in per-platform projects.REVIEW.md(the CI Claude review prompt): it had the same "DependencyObjectis an interface — implement, don't inherit" advice and the old suffix guidance. It also linked to.github/agents/dependency-property-agent.md, which no longer exists. Now points to.claude/rules/dependency-properties.md.CLAUDE.md: removed the speckit pointer to the June003-wasm-a11y-remediationplan. That plan calls the WASM-DOM target "maintenance-only" and uses pre-rename project names./speckit-planrepopulates the markers.AGENTS.md:UnoTargetFrameworkOverrideexamples fixed: plainnet11.0is desktop, sobrowserwasmis now listed separately..tvOS.csand the correct variant semantics.RuntimeAssetsSelectorTasknotes fixed:Uno.UIships inlib/and only the WinRT trio is swapped.Uno.UI/Generated/…/Microsoft.UI.*.uno.winui.build-system.md: TFMs updated to net11/net10.source-generators.md: removed the TypeScript-binding generator, which no longer exists.code-style.md:GlobalUsings.csAndroid aliases are dead inUno.UI.platform-targeting.md: lists.tvOS.csand the browser.samples.md: now describes the single SamplesApp head.winui-runtime-tests: dropped aDependencyObject-interface-era error message.All file paths and project names referenced from the agent files were checked against the tree.
Follow-up commits:
source-generators.md: runUno.UI.SourceGenerators.Testsafter a generator change, plus theWRITE_EXPECTEDgolden-file workflow and how Binding-option{StaticResource}gets resolved.code-style.md: a clean local build doesn't prove IDE0055 formatting passes.runtime-tests.md:WaitForIdledoesn't render a frame (useWaitForRender).[RequiresScaling], tvOS-only exclusions, and how to disable a flaky test.debugging-discipline.md: measure the reported symptom before designing around it, and run the negative control (revert the fix and watch the test go red).platform-targeting.md:ApiExtensiontypes must stay public.build-system.md: theAssignTargetPathfolder collapse.winui-port:MUX_ASSERTarguments disappear in Release builds./azp run.Uno.UI+Uno.UI.Composition) drawn by a renderer chosen at run time, Skia (the default) or WebGPU, behind theUno.UI.Composition.Drawingabstractions and negotiated byGraphicsRegistry. They also say the managed layer must stay renderer-neutral (no SkiaSharp), and that__SKIA__,.skia.cs,RuntimeTestPlatforms.Skia*and "Skia Desktop" are older names that mean "drawn by Uno" (as opposed to WinAppSDK), not the Skia renderer. Changed in AGENTS.md, REVIEW.md, the constitution,platform-targeting.md, the review-panel agents and the skills.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu22XP5AgYVsBrpZU2z