Add build infrastructure agent guidance - #68279
Draft
PureWeen wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3e38d320-317f-480e-81fa-e98a8374d9de
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.
Add build infrastructure agent guidance
Ground build infrastructure changes in repository-specific instructions
Description
Adds path-scoped guidance for humans and coding agents changing ASP.NET Core's MSBuild and build infrastructure. The guidance captures concrete review lessons from #68254 without changing that PR or any build behavior:
dotnetor IDE evaluation, which can use different defaults;UsingTaskdeclarations/imports and account for registration conditions such asDesignTimeBuild;eng/commonand use existing build entry points with the repository SDK activated.A source comment beside the conditional RepoTasks import records that task invocations must not run when the tasks are not registered.
No Vally eval is included. The current
eng/skill-evalsexperiment discovers skill evals and variesenvironment.skills, mapping each eval to.github/skills/${eval.parent}. Attaching a path-specific.github/instructions/*.instructions.mdfile would require a separate instruction-overlay experiment surface, which is broader than this focused grounding change.Validation:
applyTopatterns.Directory.Build.propswithxmllint.git diff --check, including an equivalent whitespace check for the instruction before it was staged.This PR only adds guidance and a comment; it does not alter evaluated MSBuild behavior.