#2402 Move Copilot review engine into AL-Go
AL-Go gains a built-in Copilot pull request review. A new SetupBCQuality action installs and filters the BCQuality plugin, and a new ReviewAgent action runs the review and posts comments. Generated Per Tenant Extension and AppSource App templates get a two-workflow integration, configured through new BCQuality and CodeReviewAgent settings.
- 57files
- 30AL files
- 0objects
Pull request · merged into main on 2026-10-20 by WaelAbuSeada · 57 files (+14057 -30), 30 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New ReviewAgent action runs in four phases (context, prepare, generate, post). Review generation is read-only, and a separate job with write permissions publishes the results.
- New SetupBCQuality action is the only place BCQuality is installed. It filters the plugin by layers, skills and knowledge rules.
- Per Tenant Extension and AppSource App templates get CopilotPRReview and CopilotPRReviewRunner workflows. The runner starts through workflow_run and reads trusted settings from the base repository.
- New BCQuality and CodeReviewAgent settings split AL knowledge selection from review orchestration policy.
- Review is bound to the validated PR head SHA, and untrusted PR code is never used as workflow configuration or review infrastructure.
- Behaviour changes for users or extensions.
AL objects touched
Actions/.Modules/ReadSettings.psm1: modified, not in the BC? snapshotActions/.Modules/settings.schema.json: modified, not in the BC? snapshotActions/AL-Go-Helper.ps1: modified, not in the BC? snapshotActions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1: modified, not in the BC? snapshotActions/ReviewAgent/ReviewAgent.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/action.yaml: added, not in the BC? snapshot yetActions/ReviewAgent/schemas/review-run-diagnostics.schema.json: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/Artifacts.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/BCQualityContextAndMetrics.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/CommentPublishing.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/CopilotCli.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/FindingDeduplication.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/FindingPlacement.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/Git.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/GitHub.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/Invoke-CopilotPRReview.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/Invoke-CopilotPRReview.psm1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/LoggingAndValidation.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/ReportParsing.ps1: added, not in the BC? snapshot yetActions/ReviewAgent/scripts/ReviewExecution.ps1: added, not in the BC? snapshot yetActions/SetupBCQuality/README.md: added, not in the BC? snapshot yetActions/SetupBCQuality/SetupBCQuality.ps1: added, not in the BC? snapshot yetActions/SetupBCQuality/SetupBCQuality.psm1: added, not in the BC? snapshot yetActions/SetupBCQuality/action.yaml: added, not in the BC? snapshot yetActions/package-lock.json: added, not in the BC? snapshot yetActions/package.json: added, not in the BC? snapshot yetTemplates/AppSource App/.github/workflows/CopilotPRReview.yaml: added, not in the BC? snapshot yetTemplates/AppSource App/.github/workflows/CopilotPRReviewRunner.yaml: added, not in the BC? snapshot yetTemplates/Per Tenant Extension/.github/workflows/CopilotPRReview.yaml: added, not in the BC? snapshot yetTemplates/Per Tenant Extension/.github/workflows/CopilotPRReviewRunner.yaml: added, not in the BC? snapshot yet
Context
- Systems: copilot, development, platform
Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).