Repository navigation
fix(ai): detect Devin's default co-author line - #638
Conversation
The App installs today and needs no workflow file, so the README offers it right after the introduction, before the demo, and lists it first in the "Everywhere else" table. PyPI shows the same README, so the line is plain Markdown rather than a GitHub alert.
Take main's README: the wording note from 5a40411 is dropped here.
Devin credits itself as `Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>`, which the Devin pattern did not match: it wanted the address right after "Devin". The same pattern accepted any address after a bare "Devin", so a person who signs as `Devin <[email protected]>` was reported as the tool. Match "Devin AI" with any address, a bare "Devin" only with no address or the app's, and the app's address under any name, as for Copilot and Cursor.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #638 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 14 14
Lines 2429 2429
=========================================
Hits 2429 2429 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will not alter performance1 warning
Performance Changes
Comparing Footnotes
|



Before: with
ai_attribution = "forbid"(or"disclose"), the line Devin adds to its commits passed, and a person who signs with just the name "Devin" was reported as the tool:After: the other way round:
The Devin pattern wanted an address right after "Devin", so
Devin AI <…>never matched, and it took any address after a bare "Devin".How: Devin now matches as
Devin AIwith any address, as a bareDevinonly with no address or with Devin's app address, and as any name with thedevin-ai-integration[bot]address. This is the same approach the Copilot and Cursor patterns use. The PR adds tests for each form and for the person named Devin.The diff is only
ai_signatures_data.pyand tests. The merge commit on the branch drops a README wording commit left over from #637, somain's README is unchanged.Summary by CodeRabbit