Skip to content

Commit 5ea172f

Browse files
T-GroCopilot
andcommitted
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>
1 parent b2c9e0b commit 5ea172f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/agents/expert-reviewer.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ Execute review in five waves, each building on the previous.
488488
gh api repos/{owner}/{repo}/pulls/{number}/reviews \
489489
--method POST \
490490
--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.*' \
492492
--field 'comments=[
493493
{"path":"src/Compiler/Checking/CheckDeclarations.fs","line":2750,"body":"**[Test Coverage]** This code path lacks a test. Add a test exercising this branch."},
494494
{"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.
502502
3. **If no significant issues found**, post an approving review:
503503
```bash
504504
gh pr review {number} --repo {owner}/{repo} --approve \
505-
--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.*"
506506
```
507507

508508
4. **Apply the label and request human review:**
@@ -511,6 +511,7 @@ Execute review in five waves, each building on the previous.
511511
```
512512

513513
**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.
514515
- At most 10 inline comments — prioritize Behavioral over Quality over Nitpick.
515516
- Every comment must reference a specific file and line from the diff.
516517
- Never post duplicate content if reviews already exist on the PR.

0 commit comments

Comments
 (0)