The message of a commit MUST be the subject, a blank line, and then, each on a line of its own and in the order of the configuration's trailers, the reference to an issue (the configuration's prefix and the number of --refs, where it is given), the line Impact: <word> of FR-009, the line that credits the agent (--co-author, the variable REPOCTL_CO_AUTHOR or the configuration's) and Claude-Session: <address>, the address being --session or the variable CLAUDE_SESSION_URL; a subject that is not one line of at most 100 characters without a full stop, an issue that is not a number and an address that is missing or not https MUST be refused before anything is staged.
Enforced (check): .github: cd commons/repoctl && bun run verify — suite/library-commit-doctor.test.ts: the trailers are in order, and a subject, an issue and an address that do not fit are refused
Proved by: repoctl/suite/library-commit-doctor.test.ts
Tests: passed: suite/library-commit-doctor.test.ts in a real repository the commit has the identity as author and committer and the trailers ; passed: suite/library-commit-doctor.test.ts a subject, an issue and an address that do not fit are refused before anything is staged; passed: suite/library-commit-doctor.test.ts the message is the subject, a blank line, and the trailers in order, each on its own line,
Cited by: governance/identity, Repoctl