Skip to content

docs: require AI disclosure in GitHub comments#359

Merged
jdx merged 1 commit intomainfrom
docs/github-ai-comment-disclosure
Apr 28, 2026
Merged

docs: require AI disclosure in GitHub comments#359
jdx merged 1 commit intomainfrom
docs/github-ai-comment-disclosure

Conversation

@jdx
Copy link
Copy Markdown
Contributor

@jdx jdx commented Apr 28, 2026

Summary

  • Add a github_interactions rule to the shared agent instructions.
  • Require GitHub PR and Discussion comments to disclose which AI assistant generated them.
  • Include examples for Codex and Claude.

Validation

  • git diff --check

Note

Low Risk
Low risk: documentation/instruction-only change that does not affect runtime behavior or build output.

Overview
Adds a new github_interactions section to .rules requiring that any GitHub PR/Discussion comments include an explicit disclosure of which AI assistant generated the comment, with example disclosures for Codex and Claude.

Reviewed by Cursor Bugbot for commit 8df117e. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 28, 2026

Greptile Summary

Adds a github_interactions rule to .rules that instructs AI assistants to disclose which tool generated a GitHub PR or Discussion comment, with Codex and Claude as example phrasings. The change is minimal, correctly formatted, and consistent with the existing style of the file.

Confidence Score: 5/5

Safe to merge — single-file documentation addition with no code changes.

The PR adds three lines to a configuration/rules file. The new block follows the established format of the file, introduces no logic, and has no risk of breakage.

No files require special attention.

Important Files Changed

Filename Overview
.rules Adds a github_interactions section requiring AI-generated GitHub comments to name the assistant; format is consistent with existing YAML-like rule blocks in the file.

Reviews (1): Last reviewed commit: "docs: require AI disclosure in GitHub co..." | Re-trigger Greptile

@jdx jdx merged commit 9b32166 into main Apr 28, 2026
19 checks passed
@jdx jdx deleted the docs/github-ai-comment-disclosure branch April 28, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant