iFacto.AICodeReview

0.6.2

AI-powered code review system for Business Central (AL) development in Azure DevOps pipelines. Model-agnostic design supports Azure AI Foundry, Claude, OpenAI, GitHub Models, and more. Provides automated PR reviews with actionable feedback as Azure DevOps warnings/errors.

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name iFacto.AICodeReview -RequiredVersion 0.6.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name iFacto.AICodeReview -Version 0.6.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Dynex bv. All rights reserved.

Package Details

Author(s)

  • waldo

Tags

AL BusinessCentral CodeReview AI AzureDevOps Claude OpenAI GPT DevOps CICD PullRequest StaticAnalysis Azure

Functions

Invoke-AICodeReview Invoke-AICodeReviewPipeline Get-ChangedFiles ConvertTo-ADOLogFormat Test-AICodeReview Publish-PRComments

Dependencies

This module has no dependencies.

Release Notes

# Release Notes - v0.6.2

## Changes
- PR builds diff the build's merge commit against its first parent (the target as it was when the
 build's merge was made), in Get-ChangedFiles and Get-FileDiff alike (shared Resolve-DiffRange).
 Commits merged into the target while the build runs no longer enter the review.
- No review-time refetch of the target branch in a PR build.
- The review clone checks out Build.SourceVersion fetched by SHA, not refs/pull/<id>/merge as it is
 at review time. Not resolvable: warning and skip, never a review of another commit.
- Outside a PR merge commit: three-dot (merge-base) instead of two-dot; missing merge-base after
 one deepen: warning and skip.
- Build log shows "Base commit: <sha> (merge parent 1)" and the number of changed files.

## Previous Releases

### v0.1.10
- Fixed missing else block in Get-FileDiff (syntax error from v0.1.9)

### v0.1.9
- Removed iFacto-specific rules from module (module is now fully generic)
- Rules path resolution fixed for external rule files
- Module now accepts rules via -RulesPath parameter
- Ready for pipeline integration with generated rules

### v0.1.5
- Azure OpenAI GPT-5.2-chat support
- Automatic .env file loading
- Single Object Per File rule added

### v0.1.0 - Initial Release
- Model-agnostic AI code review (supports Azure AI Foundry, Claude, OpenAI, GitHub Models)
- Native git diff extraction for changed AL files
- Azure DevOps logging command integration
- Configurable severity levels (error, warning, info)
- Retry logic for transient API failures

For full documentation, see the DevOps Templates repository.

FileList

Version History

Version Downloads Last updated
0.7.0 46 11/10/2026
0.6.2 (current version) 19 11/10/2026
0.6.1 13,057 3/13/2026
0.6.0 185 3/12/2026
0.5.0 569 2/25/2026
0.4.9 7 2/25/2026
0.4.8 12 2/25/2026
0.4.7 7 2/25/2026
0.4.6 12 2/25/2026
0.4.5 881 1/30/2026
0.4.4 8 1/30/2026
0.4.3 10 1/30/2026
0.4.2 7 1/30/2026
0.4.1 7 1/30/2026
0.4.0 7 1/30/2026
0.3.7 7 1/30/2026
0.3.6 7 1/30/2026
0.3.5 6 1/30/2026
0.3.4 191 1/27/2026
0.3.3 8 1/27/2026
0.3.2 9 1/27/2026
0.3.0 8 1/27/2026
0.2.14 350 1/19/2026
0.2.13 158 1/13/2026
0.2.12 64 1/12/2026
0.2.11 16 1/12/2026
0.2.10 39 1/11/2026
0.2.9 13 1/11/2026
0.2.8 12 1/11/2026
0.2.7 9 1/11/2026
0.2.6 8 1/11/2026
0.2.5 9 1/11/2026
0.2.4 8 1/11/2026
0.2.3 14 1/11/2026
0.2.2 17 1/11/2026
0.2.1 7 1/11/2026
0.2.0 8 1/11/2026
0.1.17 6 1/11/2026
0.1.16 6 1/11/2026
0.1.15 7 1/11/2026
0.1.14 9 1/11/2026
0.1.13 8 1/11/2026
0.1.12 7 1/11/2026
0.1.10 13 1/11/2026
0.1.9 9 1/10/2026
0.1.8 8 1/10/2026
0.1.7 8 1/10/2026
0.1.6 10 1/9/2026
0.1.5 9 1/9/2026
0.1.4 8 1/9/2026
0.1.3 8 1/9/2026
0.1.2 7 1/9/2026
0.1.1 10 1/9/2026
0.1.0 7 1/9/2026
Show more