Enhance mpg-sdk-migration skill for autonomous build-fix operation#56705
Closed
Enhance mpg-sdk-migration skill for autonomous build-fix operation#56705
Conversation
- Rewrite Phase 8 as Autonomous Build-Fix Loop with decision trees for error classification, fix selection, and batch strategy - Add autonomous fix recipes for each error pattern (CS0234, CS0051, CS0246, CS0111, CS1729, AZC0030, AZC0032, CS0535, CS0115) - Add autonomous rename resolution strategy using old API surface - Add generator bug detection checklist and fix vs workaround decision - Add batch fix strategy to minimize regeneration cycles - Add SQL error tracking with attempt counters and escalation criteria - Update safety rules: autonomous mode permits spec and custom code changes without asking; define clear escalation boundaries - Enhance Discovery phase: snapshot old API, extract autorest renames, identify custom code folder convention - Add ApiCompat autonomous fix recipes with code examples - Consistent @@clientName namespace syntax across both files Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
After a generator fix is applied and code is regenerated with RegenSdkLocal.ps1, any custom code workarounds previously added for the same issue must be cleaned up. Stale workarounds cause CS0111 (duplicate definition) or silently override correct generated code. Updated in SKILL.md: - Fix Recipe: Generator Bug - explicit cleanup step with instructions - Sub-Agent Strategy - added cleanup agent step after generator regen Updated in error-reference.md: - Added pitfall #17 about cleaning up stale custom workarounds Co-authored-by: Copilot <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
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.
Summary
Enhances the
mpg-sdk-migrationCopilot skill to enable autonomous operation during the build-fix loop. Copilot can now work through build errors without asking the user, following structured decision trees and fix recipes.Changes
SKILL.md
RegenSdkLocal.ps1regeneration + cleanup of stale custom code workaroundsclient.tspspec changes and custom code additions without asking; clear escalation boundarieserror-reference.md