Trial ADR-backed component review rules#8173
Draft
adierkens wants to merge 4 commits into
Draft
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 68a3cde5-7a50-4d4e-97d9-194c8b112e88
This reverts commit c03b86a.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 68a3cde5-7a50-4d4e-97d9-194c8b112e88
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 68a3cde5-7a50-4d4e-97d9-194c8b112e88
4 tasks
joshblack
approved these changes
Jul 16, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #
Adds a deliberately small Copilot Code Review experiment containing four rules sourced directly from accepted public ADRs. This lets us evaluate review quality and false-positive rates before committing to broader policy coverage or generation infrastructure.
Stacked follow-up: #8174 adds policy generation, the broader catalog, a reviewer skill and agent, validation, and CI integration.
Changelog
New
Changed
Removed
Rollout strategy
Testing & Reviewing
Review whether the four rules are understandable, actionable, and appropriately scoped to newly introduced or expanded contracts. This trial intentionally excludes the broader rule catalog, private outcome imports, reviewer skill and agent, policy manifests, generation scripts, and CI automation; those are proposed separately in the stacked follow-up.
Existing repository audit
FilteredActionListandSelectPanel2use data props for constrained/filterable content and children for a distinct composition surface. The closest duplicate APIs are already deprecated.src/internal. Hooks and utilities outside it include both intentional public APIs and legacy private candidates, so location alone cannot establish a violation. Package exports are now explicit rather than the historical wildcard described by the ADR.data-componentvalues. Nineteen are lexically inconsistent and three more use legacy scope names; these are already listed as migration work in the ADR. Representative components still lack root identifiers because implementation remains pending.Merge risk
Runtime and package risk is none: this PR changes review instructions only. Review-noise risk is low to moderate if CCR ignores scope and treats existing migration debt as a required retrofit. The instruction therefore limits findings to introduced or expanded contracts, excludes pre-existing migration debt, makes stable identifiers advisory, requires only applicable colocated files, and limits stable-identifier checks to newly added roots and parts.