Nov 11, 4:19pm

Short answer: there is no single official standard for "human verified", but Git's trailer mechanism plus existing open-source conventions cover it well. Here's the landscape:

The closest thing to a standard: kernel-style trailers

Git itself has no dedicated field for verification, but commit trailers (key-value lines at the end of the message, parsed by git interpret-trailers) are the established mechanism. The Linux kernel conventions are the de facto standard for human sign-off:

  • Reviewed-by: — a human has reviewed the code and considers it appropriate
  • Tested-by: — a human has tested the change
  • Signed-off-by: — the DCO legal attestation: the signer takes responsibility for the contribution (Git docs)

The AI side of the convention

For disclosing that a commit involved an LLM, the emerging convention is:

  • Assisted-by: — recommended by the Linux kernel, Mesa, and LLVM; the human stays sole author and keeps legal responsibility (All Things Open, CodeLifter)
  • Generated-by: — when nearly all the code was machine-generated (Mesa)
  • Co-authored-by: — GitHub renders it specially, but Mesa explicitly reserves it for humans; avoid it for AI (CodeLifter)

LLVM's AI policy is a good model: a human must read and review all LLM-generated code before submission, and the trailer records that disclosure happened.

Practical recommendation for "thoroughly human-verified"

Combine the two sides in one commit:

text
feat: add retry with backoff to pricing client

Assisted-by: Claude (AI)
Reviewed-by: Benjamin Loison <benjamin@example.com>
Signed-off-by: Benjamin Loison <benjamin@example.com>

You can also define a custom trailer like Human-verified: full as a team convention, enforce it with a commit-msg hook or CI check, and audit it with git log --grep="Reviewed-by:" or git log --format=... --trailer. There is an IETF draft (identity-attributed commits) formalizing tiered attribution, but it is not a standard yet (IETF draft).

One caveat: trailers are self-reported metadata, not proof. A Reviewed-by line can be added without actual review, so treat it as an accountability convention, and back it with real review gates (PR approvals, branch protection) where it matters (Refolk).

Nov 11, 4:19pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more