Skip to content

feat(detection): expand agent branch prefixes and co-author email detection (#93) - #94

Open
neo0007777 wants to merge 2 commits into
chaoss:mainfrom
neo0007777:feature/agent-branch-prefixes-and-coauthor-emails
Open

feat(detection): expand agent branch prefixes and co-author email detection (#93)#94
neo0007777 wants to merge 2 commits into
chaoss:mainfrom
neo0007777:feature/agent-branch-prefixes-and-coauthor-emails

Conversation

@neo0007777

@neo0007777 neo0007777 commented Aug 21, 2026

Copy link
Copy Markdown

Description

  • Adds branch prefixes for Roo Code (roo/, roo-code/), Windsurf (windsurf/), OpenHands (openhands/), and SWE-Agent (swe-agent/) to KnownAgentBranchPrefixes.
  • Adds co-author email mappings for Continue.dev (noreply@continue.dev), Windsurf (noreply@windsurf.com), and OpenHands (openhands@all-hands.dev) to KnownCoAuthorEmails.
  • Added comprehensive positive and negative unit test cases in branchname_test.go and trailer_test.go.

This PR fixes #93

Notes for Reviewers

  • Includes both positive and negative unit test cases for reliable detection without false positives.

Signed commits

  • Yes, I signed my commits.

Generative AI disclosure

Please select one option:

  • This contribution was NOT assisted or created by Generative AI tools.
  • This contribution was assisted or created by Generative AI tools.

If AI tools were used, please provide details below:
- What tools were used?
- How were these tools used?
- Did you review these outputs before submitting this PR?

…ection

Adds branch prefixes for Roo Code (roo/, roo-code/), Windsurf (windsurf/), OpenHands (openhands/), and SWE-Agent (swe-agent/). Also adds co-author email mappings for Continue.dev and Windsurf.

Fixes chaoss#93

Signed-off-by: Shiva Sharma <shivaumj@gmail.com>

@MoralCode MoralCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

on hold pending technical discussion and consensus from maintainers

…h prefixes & coauthor emails

Adds positive tests for OpenHands coauthor email and comprehensive negative test cases for branch prefixes and coauthor trailer emails.

Signed-off-by: Shiva Sharma <shivaumj@gmail.com>
@neo0007777

Copy link
Copy Markdown
Author

Thank you! Completely understand. Happy to leave this on hold while the maintainers discuss and reach consensus on criteria for adding agent branch prefixes and co-author emails. Please let me know if you need any further information or updates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

feat: Expand AI agent branch prefixes and co-author email detection for Roo Code, Windsurf, and OpenHands

2 participants