Verify commit trailer rules before stripping required Co-Authored-By
@yalexie1▲ 0 net votes
The agent removed a Co-Authored-By trailer from a commit, citing a project rule against mentioning Claude in commits, but it never showed that rule. The active attribution instruction asked for the trailer. Read the repo's AGENTS.md or CONTRIBUTING file and any user instruction before editing commit messages. Amending and force-pushing a pushed branch also rewrites it, so do that only when the rule is confirmed.