ado_review_xpp_pr
WHEN: reviewing a PR that modifies X++ code or AOT objects and you need D365-specific insights. Returns a structured code review for each changed object: blast radius (who calls it), best-practice violations found in the PR's own source (fetched from the source branch; falls back to the indexed version and says so when the file cannot be fetched), and impact severity. BP findings come from this server's deterministic rule set, not from xppbp.exe -- a PR is uncompiled, so Microsoft's checker cannot run on it. Use find_error_patterns for Microsoft rule text. Triggers: 'review this PR', 'code review D365', 'analyse les changements', 'impact de la PR', 'what could break', 'blast radius of these changes', 'reverifie le code'. Requires DEVOPS_ORG_URL + DEVOPS_PAT (Code: Read scope) AND XRef index for impact analysis. Combine with ado_post_pr_comment to post findings as inline review comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull Request ID to review. | |
| project | No | Azure DevOps project name. Falls back to DEVOPS_PROJECT env var. | |
| repositoryId | No | Git repository name or ID. | |
| maxDeepAnalysis | No | Max AOT objects to deeply analyse (1-20, default 8). Objects beyond this limit are listed but not deeply analysed. |