Skip to content

Clarify Components agent validation guidance - #68799

Merged
javiercn merged 3 commits into
mainfrom
javiercn-components-agent-guidance
Aug 26, 2026
Merged

javiercn merged 3 commits into
mainfrom
javiercn-components-agent-guidance

Conversation

@javiercn

@javiercn javiercn commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • distinguish the mandatory production implementation workflow from scoped research, review, alternatives, and throwaway prototype work
  • encourage faithful sample-project and browser validation without requiring permanent unit or E2E tests outside implementation work
  • require task-scoped render-mode and lifecycle validation before broader compatibility testing
  • strengthen browser evidence and moved-file git-history research guidance
  • refine validate-blazor-feature routing so isolated alternatives or native-browser API/HTML/CSS research uses a minimal browser probe when no Blazor implementation is being validated
  • require red/green verification for every parameterized-test row and inspection of per-case output when InlineData rows cannot be filtered individually

The git-history note is somewhat general, but it is placed under Components-specific implementation research because Components and template files frequently move. The skill exclusion applies only to isolated research; validation of an actual Blazor change continues to use the canonical Components samples and browser workflow.

Tests

Not run (documentation-only changes).

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 453fd627-1b4c-4c34-90b6-24a2fc0beb5a
Copilot AI lite review requested due to automatic review settings August 26, 2026 10:41
@javiercn
javiercn requested a review from a team as a code owner August 26, 2026 10:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the Components agent workflow guidance in src/Components/AGENTS.md, clarifying when the full “sample-to-E2E” implementation workflow is mandatory versus when scoped research/review/prototype work should stay lightweight, and strengthening expectations around faithful browser validation and historical-path investigation.

Changes:

  • Clarifies that permanent automated tests (unit/E2E) are mandatory for production implementation work, but not for scoped research/review/throwaway prototype tasks.
  • Strengthens guidance to validate DOM-/browser-dependent claims in a real browser, and to treat synthesized search results as non-authoritative.
  • Adds guidance to define the required render-mode/lifecycle validation scope before expanding compatibility testing, and adds a note about resolving moved-file history before git show.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/Components/AGENTS.md
For implementation work:
- For a behavioral fix, reproduce the problem at the faithful boundary before attempting the fix. If faithful validation is impractical, state the observed boundary and limitation and do not call the behavioral claim verified.
- Research the problem area using the microsoft docs, existing code, git history, and logging on the sample project.
- Components and template files move. Resolve historical paths with `git log --follow --name-status` or `git ls-tree` before using `git show <commit>:<path>`.
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 453fd627-1b4c-4c34-90b6-24a2fc0beb5a
@javiercn
javiercn requested review from a team and wtgodbe as code owners August 26, 2026 10:51
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 453fd627-1b4c-4c34-90b6-24a2fc0beb5a
@javiercn
javiercn merged commit 7159221 into main Aug 26, 2026
14 checks passed
@javiercn
javiercn deleted the javiercn-components-agent-guidance branch August 26, 2026 17:46
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants