-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Require AI-generated content disclosure in copilot instructions and skills #125842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -125,6 +125,8 @@ public class Bench | |||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| Post a comment on the PR to trigger EgorBot with your benchmark. The general format is: | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| > 📝 **AI-generated content disclosure:** When posting benchmark comments to GitHub under a user's credentials — i.e., the account is **not** a dedicated "copilot" or "bot" account/app — you **MUST** include a concise, visible note (e.g. a `> [!NOTE]` alert) indicating the content was AI/Copilot-generated. Skip this if the user explicitly asks you to omit it. | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| @EgorBot [targets] [options] [BenchmarkDotNet args] | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
Comment on lines
126
to
131
|
||||||||||||||||||||||||||||||||||
| Post a comment on the PR to trigger EgorBot with your benchmark. The general format is: | |
| > 📝 **AI-generated content disclosure:** When posting benchmark comments to GitHub under a user's credentials — i.e., the account is **not** a dedicated "copilot" or "bot" account/app — you **MUST** include a concise, visible note (e.g. a `> [!NOTE]` alert) indicating the content was AI/Copilot-generated. Skip this if the user explicitly asks you to omit it. | |
| @EgorBot [targets] [options] [BenchmarkDotNet args] | |
| Post a comment on the PR to trigger EgorBot with your benchmark. Structure the comment as follows: | |
| 1. (Required when posting under a human user's credentials; optional for dedicated bot accounts) Add a visible AI-generated-content disclosure **before** the `@EgorBot` line in the comment. Do **not** place this disclosure between the `@EgorBot` command line and the benchmark code block. For example: | |
| > 📝 **AI-generated content disclosure:** When posting benchmark comments to GitHub under a user's credentials — i.e., the account is **not** a dedicated "copilot" or "bot" account/app — you **MUST** include a concise, visible note (e.g. a `> [!NOTE]` alert) indicating the content was AI/Copilot-generated. Skip this if the user explicitly asks you to omit it. | |
| 2. On a new line after the disclosure (or at the top of the comment if no disclosure is needed), add the EgorBot command: | |
| @EgorBot [targets] [options] [BenchmarkDotNet args] | |
| 3. Immediately after the `@EgorBot` line, add your benchmark code block, with no intervening text: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The disclosure section uses a level-2 heading (
##), but later the document starts a major section with a level-1 heading (# Building & Testing...). This makes the heading hierarchy inconsistent (a#heading appears after a##heading). Consider making the disclosure section a#heading too, or adjusting subsequent headings so the hierarchy stays consistent.