Skip to content

Conversation

@vim-zz
Copy link
Collaborator

@vim-zz vim-zz commented May 18, 2025

Documentation: Add AI Rules section for Copilot and Cursor PRs

Enhance Dependabot version bump detection in plugins

Add AI tracking files for Copilot and Cursor tools

✨ PR Description

Purpose and impact: This PR introduces automated labeling for PRs assisted by AI tools (Copilot and Cursor) using a data-driven approach with structured logging.

Main changes:

  • Adds "Label by AI Rules" option for both Copilot and Cursor, using .cm/ai.log file to track AI usage
  • Introduces AI logging instructions for Copilot and Cursor to ensure consistent, structured logging
  • Implements gitStream automation to label PRs as "ai-assisted" based on .cm/ai.log changes

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀

Documentation: Add AI Rules section for Copilot and Cursor PRs

Enhance Dependabot version bump detection in plugins

Add AI tracking files for Copilot and Cursor tools
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@gitstream-cm
Copy link
Contributor

gitstream-cm bot commented May 18, 2025

Please mark which AI tools you used for this PR by checking the appropriate boxes:

  • GitHub Copilot
  • Cursor
  • ChatGPT
  • Tabnine
  • JetBrains AI Assistant
  • VSCode IntelliCode
  • Claude
  • Gemini
  • Other AI tool
  • No AI tools were used

Tip: If you want to avoid this comment in the future, you can add a label of the format 🤖 ai-* when creating your PR.

Comment on lines 11 to 12
labels:
- ai-tool-usage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
labels:
- ai-tool-usage
labels:
- ai-assisted

@gitstream-cm
Copy link
Contributor

gitstream-cm bot commented May 18, 2025

A screenshot of the relevant part of docs after the changes is a life saver 🛟

@gitstream-cm gitstream-cm bot requested a review from a team May 18, 2025 09:56
@gitstream-cm

This comment has been minimized.

@vim-zz vim-zz requested a review from MishaKav May 18, 2025 10:15
Copy link
Collaborator

@MishaKav MishaKav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@gitstream-cm gitstream-cm bot requested a review from a team May 18, 2025 10:19
@vim-zz vim-zz merged commit 4415eeb into main May 18, 2025
15 checks passed
@vim-zz vim-zz deleted the add-rules-to-label-ai-usage branch May 18, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants