-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbot-signatures.js
More file actions
49 lines (41 loc) · 1.95 KB
/
Copy pathbot-signatures.js
File metadata and controls
49 lines (41 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* Curated, versioned signatures that identify non-human committers — AI coding
* agents AND automation bots (dependabot, github-actions, ...). For the Vibe
* Index, any of these counts as "not hand-written by a human".
*
* IMPORTANT: these patterns are matched against commit *identities* — the
* author "Name <email>" and each "Co-Authored-By:" identity — NOT against the
* free-text commit message. They are deliberately anchored to vendor email
* domains and bot-account markers so that a human who merely mentions an AI in
* a message, or who happens to be named "Claude", is never misclassified.
*
* This list is maintained with the action and expanded in new releases. Users
* do NOT edit this file: they add their own regexes via the `extra-bot-patterns`
* input, which is merged on top of these signatures at run time.
*
* Each entry is a case-insensitive RegExp tested against an identity string
* such as `Claude <noreply@anthropic.com>` or `dependabot[bot] <...>`.
*
* Last reviewed: 2026-08-07
*/
const BOT_SIGNATURES = [
// GitHub App / automation bot accounts: "dependabot[bot] <...>",
// "github-actions[bot] <...>", "renovate[bot] <...>".
/\[bot\]/i,
// Anthropic — Claude / Claude Code sign as "Claude <...@anthropic.com>".
/@anthropic\.com\b/i,
// OpenAI — ChatGPT / Codex service identities.
/@openai\.com\b/i,
// GitHub Copilot coding agent: "Copilot <...@users.noreply.github.com>".
/\bcopilot\b[^<]*<[^>]*@users\.noreply\.github\.com>/i,
// JetBrains Junie: "Junie <junie@jetbrains.com>". Anchored to the name so
// that human JetBrains employees on the same domain stay human.
/\bjunie\b[^<]*<[^>]*@jetbrains\.com>/i,
// Cursor agent.
/@cursor\.(com|sh)\b/i,
// Devin (Cognition Labs).
/@(devin\.ai|cognition\.ai|cognition-labs\.com)\b/i,
// Sourcegraph Cody, Codeium / Windsurf service accounts.
/@(sourcegraph\.com|codeium\.com|codeiumdev\.com)\b/i,
];
module.exports = { BOT_SIGNATURES };