You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require AI disclosure in expert-reviewer review body
The review body must begin with a 🤖 AI disclosure note so readers
know the review is AI-generated, not human-written. Added as a
non-negotiable delivery rule in Wave 5.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/agents/expert-reviewer.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -488,7 +488,7 @@ Execute review in five waves, each building on the previous.
488
488
gh api repos/{owner}/{repo}/pulls/{number}/reviews \
489
489
--method POST \
490
490
--field event=COMMENT \
491
-
--field 'body=Expert AI review — see inline comments for findings.' \
491
+
--field 'body=*🤖 This review was generated by AI (@expert-reviewer agent). Findings may contain inaccuracies — please verify independently.*' \
492
492
--field 'comments=[
493
493
{"path":"src/Compiler/Checking/CheckDeclarations.fs","line":2750,"body":"**[Test Coverage]** This code path lacks a test. Add a test exercising this branch."},
494
494
{"path":"src/Compiler/CodeGen/IlxGen.fs","line":1234,"body":"**[IL Emission]** Call `stripTyEqns` before this match to handle type abbreviations."}
@@ -502,7 +502,7 @@ Execute review in five waves, each building on the previous.
502
502
3.**If no significant issues found**, post an approving review:
--body "Expert AI review: no significant issues found across applicable dimensions."
505
+
--body "*🤖 AI review (@expert-reviewer): no significant issues found across applicable dimensions. Please verify independently.*"
506
506
```
507
507
508
508
4.**Apply the label and request human review:**
@@ -511,6 +511,7 @@ Execute review in five waves, each building on the previous.
511
511
```
512
512
513
513
**Delivery rules:**
514
+
- The review body MUST begin with an AI disclosure note (the `🤖` line above). This is non-negotiable — readers must know this is AI-generated, not human-written.
514
515
- At most 10 inline comments — prioritize Behavioral over Quality over Nitpick.
515
516
- Every comment must reference a specific file and line from the diff.
516
517
- Never post duplicate content if reviews already exist on the PR.
0 commit comments