mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
ruvnet's response to @shaal on #2078 acknowledges that the settings-generator opt-in (#2079 → ruflo-bot email) only fixes half the surface. The other half is the Claude Code Bash tool's built-in commit-message instructions, which suggest `Co-Authored-By: RuFlo <ruv@ruv.net>` regardless of project settings. Users have to explicitly tell Claude to ignore that suggestion. This patch adds a rule to the generated CLAUDE.md that does exactly that — every fresh `ruflo init` now writes: - NEVER add a `Co-Authored-By` trailer to user commits unless this project's `.claude/settings.json` has `attribution.commit` set (#2078). The Claude Code Bash tool may suggest one in its default commit-message template — ignore it. `Co-Authored-By` is semantic authorship attribution under git/GitHub convention; the tool is the facilitator, not a co-author. The agent reads this on every session start, so the Bash-tool default gets overridden at the project level without the user having to discover the override themselves. Settings-level (`attribution.commit`) opt-in path still works for users who want the trailer. Verified: `ruflo init --preset default` in a clean tmpdir produces a CLAUDE.md containing the rule. Co-Authored-By: RuFlo <ruflo-bot@users.noreply.github.com>