Add breaking-changes knowledge domain and review leaf skill (#44)

Seed a new breaking-changes (AL API stability) knowledge domain with six
articles plus good/bad AL samples, a new al-breaking-changes-review leaf
skill, and minimal wiring into al-code-review and the README.

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Jesper Schulz-Wedde 2026-06-25 12:33:30 +02:00 committed by GitHub
parent f19f0618fb
commit 6140a52b03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 503 additions and 3 deletions

View file

@ -0,0 +1,16 @@
codeunit 50300 "Discount Api Good"
{
// Published contract signature kept exactly as it shipped.
procedure CalculateDiscount(Amount: Decimal): Decimal
begin
exit(Amount * 0.05);
end;
// New capability added as a separate overload, so existing callers of
// CalculateDiscount(Amount) keep compiling. The return value is named, which
// is the one signature change that is always safe to make.
procedure CalculateDiscountWithRate(Amount: Decimal; Rate: Decimal) Discount: Decimal
begin
Discount := Amount * Rate;
end;
}