X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/42b4acd4ba70d3c12da4513d139717e592eefe4a..9346d20fe4297dce1aa16171749a7ef3e41ce7bd:/.agents/skills/commit/SKILL.md?ds=inline diff --git a/.agents/skills/commit/SKILL.md b/.agents/skills/commit/SKILL.md index d25a3fb..11b5eb2 100644 --- a/.agents/skills/commit/SKILL.md +++ b/.agents/skills/commit/SKILL.md @@ -5,12 +5,18 @@ description: Commit procedure and message rules. Use for every commit. # Commit +The procedure applies to normal repository commits, including code and +documentation commits. Each must use the configured signing key. +Internal git-bug commits for issues, comments, status changes, and other +tracker metadata are exempt from signing and may be unsigned. This +exception does not permit unsigned code or documentation commits. + ## Procedure 1. Confirm that the configured signing key is available. If signing is unavailable or fails, stop and report the problem. Never disable signing, bypass it with a command or configuration override, or - create an unsigned commit. + create an unsigned normal repository commit. 2. Do the `check` skill. All checks must pass before you commit. 3. Stage only the files that belong to this change. Keep unrelated changes in separate commits. @@ -22,10 +28,10 @@ description: Commit procedure and message rules. Use for every commit. the configured key, using `git commit -S -F MESSAGE_FILE` on the same file. Do not add or change trailers after the check. The normal commit hook still runs. Never skip it with `--no-verify`. -6. Cryptographically verify each new commit's signature against the - configured key before reporting completion. A signature header alone - is not verification. If verification fails, stop and report it. Do - not claim completion or publish the commit. +6. Cryptographically verify each new normal commit's signature against + the configured key before reporting completion. A signature header + alone is not verification. If verification fails, stop and report it. + Do not claim completion or publish the commit. ## Size