Skip to content

Commit e2677ed

Browse files
Sodawyxclaude
andcommitted
docs(agents): require DCO signoff on every commit
Document the existing DCO signoff requirement (git commit -s) under a new "Commit Requirements" section so contributors and AI assistants don't push unsigned commits and have to re-create them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Sodawyx <sodawyx@126.com>
1 parent a6c0561 commit e2677ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@ docs/
9999
- **Cross-link integrity.** When adding a new page or renaming an anchor, update the references in `docs/{en,zh}/index.md`, the two READMEs, and any sibling pages. Anchors use GitHub-slug form (`## Sub-group``#sub-group`; Chinese headings preserve the Unicode characters, e.g. `## file 子命令组``#file-子命令组`).
100100
- **Source of truth = the code.** Never document options that do not exist in the Click definitions. When the design doc (`docs_inner/cli-design-*.md`) and the code disagree, the code wins — update the user-facing docs to match the code, and flag the divergence in your PR description.
101101
- **No partial updates.** A PR that modifies a command without updating both language versions of the user-facing docs is incomplete; reviewers should block it.
102+
103+
## Commit Requirements
104+
105+
- **Sign off every commit.** All commits in this repository must carry a DCO `Signed-off-by:` trailer. Use `git commit -s` (or pass `-s` alongside `-m`); never push a commit without it. CI / merge gates reject unsigned-off commits, so amending or re-creating commits to add the trailer after the fact is wasted work.

0 commit comments

Comments
 (0)