What happens
Code and fix agents sometimes include Signed-off-by trailers in their commits (via git commit -s). This causes gitlint failures in repos with body-max-line-length=72 because the bot noreply email makes the trailer ~90 characters.
What should happen
Agents should never produce Signed-off-by trailers. DCO is a human attestation — agents are not people. The DCO app already waives the check when it recognizes the commit author as a bot.
Two changes needed
- Skill instructions: Add explicit instruction to code and fix agent skills to never use
git commit -s or append Signed-off-by trailers
- Post-script linter: Add a check in post-code and post-fix scripts that fails if any agent commit contains a
Signed-off-by trailer
Mirrored from fullsend-ai#2236
What happens
Code and fix agents sometimes include
Signed-off-bytrailers in their commits (viagit commit -s). This causes gitlint failures in repos withbody-max-line-length=72because the bot noreply email makes the trailer ~90 characters.What should happen
Agents should never produce
Signed-off-bytrailers. DCO is a human attestation — agents are not people. The DCO app already waives the check when it recognizes the commit author as a bot.Two changes needed
git commit -sor appendSigned-off-bytrailersSigned-off-bytrailerMirrored from fullsend-ai#2236