You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: document the DCO signoff requirement in AGENTS.md (and mirror it) #1979
The repo runs a DCO check on every PR (the probot DCO app) that fails unless every commit carries a Signed-off-by: trailer. It is a hard merge gate, and it is documented nowhere — not in AGENTS.md, CONTRIBUTING.md, README.md, or .github/copilot-instructions.md.
That combination is the problem: the rule is invisible until it fails, and by then the remedy is a history rewrite. It blocked #1978, where both commits had to be re-signed via git rebase --signoff and force-pushed.
What to add
A bullet in AGENTS.md's "When work is complete" list, beside the other PR-hygiene gates (Closes #<ISSUE_NUMBER>, the version label), covering:
The requirement — every commit needs Signed-off-by: Author Name <[email protected]>; the DCO check fails the PR otherwise.
The prevention — git commit -s, or git config format.signOff true once per clone so it is automatic. This is the part worth emphasizing: the failure mode is discovering it after pushing.
The repair — if commits are already pushed unsigned: git rebase HEAD~<n> --signoff then git push --force-with-lease. Note the standard rebase caveat (sole author, nobody else based on the branch).
Mirror it in the same PR
AGENTS.md's own maintenance rule names "the PR hygiene rules (Closes #N, version label)" as review-relevant, and requires review-relevant changes to be mirrored into .github/copilot-instructions.md in the same PR. So this is a two-file change — adding it to AGENTS.md alone would violate the rule being added. Keep the mirror a distillation (a line or two), not a copy.
Deliberately not CONTRIBUTING.md
External contributors do not open PRs here by policy — they file issues — so DCO never applies to them. Documenting it there would muddy the "issues, not PRs" message. This is a maintainer-facing gate, which is AGENTS.md's audience.
Activity
test(smoke): exercise the real teardown path, not just removeSafe
docs: document the DCO signoff requirement