Skip to content

docs: stop Codex false-alarm on DCO sign-off - #8561

Merged
delock merged 2 commits into
deepspeedai:masterfrom
delock:codex-dco-false-alarm
Sep 17, 2026
Merged

delock merged 2 commits into
deepspeedai:masterfrom
delock:codex-dco-false-alarm

Conversation

@delock

@delock delock commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

What

Adds one review-scope rule to AGENTS.md/CLAUDE.md: commit trailers are not visible in a diff, so reviewers must verify Signed-off-by via git log/commits API before flagging it as missing.

Why

Codex (chatgpt-codex-connector[bot]) alarms "Add the required DCO sign-off" on PRs whose commits are already signed off (#8543, #8537). Root cause: its review context is diff-only and includes only commit titles (review_request.rs), while the review rubric mandates rule attribution against AGENTS.md — so the model asserts a missing trailer it cannot see. The rubric states user instructions about review scope take precedence, so this rule suppresses the false alarm at the source while keeping the sign-off requirement for commit creation.

Full analysis: #8558 (comment).

Fixes #8558

Codex review alarms 'Add the required DCO sign-off' on PRs whose
commits are already signed off (e.g. deepspeedai#8543, deepspeedai#8537). Its review context
is diff-only (openai/codex codex-rs/prompts/src/review_request.rs
passes only commit titles), so the Signed-off-by trailer is invisible,
while the review rubric mandates rule attribution against AGENTS.md L8.
The model then asserts a missing trailer it cannot see.

rubric.md states user instructions about review scope take precedence,
so teach reviewers here to verify trailers via git log before flagging.
CLAUDE.md kept in sync with AGENTS.md as required by the file header.

Fixes deepspeedai#8558

Signed-off-by: Ma, Guokai <[email protected]>
@delock
delock enabled auto-merge September 17, 2026 03:55
@delock
delock added this pull request to the merge queue Sep 17, 2026
Merged via the queue into deepspeedai:master with commit 327190b Sep 17, 2026
13 checks passed
@delock
delock deleted the codex-dco-false-alarm branch September 17, 2026 06:38
@auto-pr-labeler-with-jev auto-pr-labeler-with-jev Bot added the skip-gpu-test Requires positive evidence that every changed behavior can be validated without a GPU. label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-gpu-test Requires positive evidence that every changed behavior can be validated without a GPU.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codex false-alarm on "Add the required DCO sign-off"

2 participants