Repository navigation
docs: stop Codex false-alarm on DCO sign-off - #8561
Merged
Merged
Conversation
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]>
sfc-gh-truwase
approved these changes
Sep 17, 2026
delock
enabled auto-merge
September 17, 2026 03:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds one review-scope rule to
AGENTS.md/CLAUDE.md: commit trailers are not visible in a diff, so reviewers must verifySigned-off-byviagit 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