Back to all errors

GIT015

GIT

Signoff identity mismatch

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

  1. Check your git configuration:

    git config user.name
    git config user.email
  2. Update if needed:

    git config user.name "Your Name"
    git config user.email "your.email@klaudiu.sh"
  3. 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.

  • GIT001 - Missing signoff flag
  • GIT010 - Missing required flags

© 2026 Smykla Skalski Labs