diff --git a/v3/@claude-flow/cli/.claude/settings.json b/v3/@claude-flow/cli/.claude/settings.json index 95d945161c..029f8c6380 100644 --- a/v3/@claude-flow/cli/.claude/settings.json +++ b/v3/@claude-flow/cli/.claude/settings.json @@ -115,7 +115,7 @@ ] }, "attribution": { - "commit": "Co-Authored-By: claude-flow ", + "commit": "Co-Authored-By: ruflo-bot ", "pr": "Generated with [claude-flow](https://github.com/ruvnet/claude-flow)" }, "claudeFlow": { diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.ts index be2ad31ccc..b847c131d0 100644 --- a/v3/@claude-flow/cli/src/init/settings-generator.ts +++ b/v3/@claude-flow/cli/src/init/settings-generator.ts @@ -46,9 +46,15 @@ export function generateSettings(options: InitOptions): object { // line into the user's commits — that pattern silently inflated GitHub // contributor graphs and was hard to undo without rewriting history. Pass // `--attribution` (or `attribution: true` in InitOptions) to enable. + // + // #2078 — when the user DOES opt in, write a no-reply bot email so GitHub + // treats this as a tool, not a personal contribution. Personal emails get + // added to user repos' contributor graphs even when the trailer is opt-in. + // `ruflo-bot@users.noreply.github.com` is GitHub's no-reply convention and + // is excluded from contributor graphs / mapped to a tool identity. if (options.attribution === true) { settings.attribution = { - commit: 'Co-Authored-By: RuFlo ', + commit: 'Co-Authored-By: ruflo-bot ', pr: '🤖 Generated with [RuFlo](https://github.com/ruvnet/ruflo)', }; } diff --git a/v3/@claude-flow/codex/AGENTS.md b/v3/@claude-flow/codex/AGENTS.md index 2974111d91..d18d5783d4 100644 --- a/v3/@claude-flow/codex/AGENTS.md +++ b/v3/@claude-flow/codex/AGENTS.md @@ -103,7 +103,7 @@ Use `$skill-name` syntax to invoke: [optional body] -Co-Authored-By: claude-flow +Co-Authored-By: ruflo-bot ``` Types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore` diff --git a/v3/@claude-flow/codex/src/generators/agents-md.ts b/v3/@claude-flow/codex/src/generators/agents-md.ts index 0b1a219dc1..938f1fe8a7 100644 --- a/v3/@claude-flow/codex/src/generators/agents-md.ts +++ b/v3/@claude-flow/codex/src/generators/agents-md.ts @@ -232,7 +232,7 @@ Use MCP tools for coordination, then keep coding: [optional body] -Co-Authored-By: claude-flow +Co-Authored-By: ruflo-bot \`\`\` Types: \`feat\`, \`fix\`, \`docs\`, \`style\`, \`refactor\`, \`perf\`, \`test\`, \`chore\`