Error
The Signed-off-by trailer doesn't match the expected identity.
Why this matters
The Signed-off-by trailer must match your configured git identity. If your organization enforces signoff policies, a mismatch means the commit won't pass validation.
How to fix
Check your git configuration:
git config user.name git config user.emailUpdate if needed:
git config user.name "Your Name" git config user.email "your.email@klaudiu.sh"Confirm the signoff matches:
# The -s flag uses your configured identity git commit -sS -m "message"
Configuration
Specify expected signoff in config.toml:
[validators.git.commit.message]
expected_signoff = "Your Name <your.email@klaudiu.sh>"
Or disable signoff identity checking:
[validators.git.commit.message]
expected_signoff = ""
Hook output
When this error is triggered, klaudiush writes JSON to stdout:
permissionDecisionReason (shown to Claude):
[GIT015] Signed-off-by trailer doesn't match expected identity. Use correct signoff identity: git config user.name and user.email
systemMessage (shown to user): Formatted error with fix hint and reference URL.
additionalContext (behavioral guidance):
Automated klaudiush validation check. Fix the reported errors and retry the same command.