Repository navigation
ci(dco): allow signed remediation without rewriting contributor commits - #173
Merged
Merged
Conversation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This was referenced Nov 21, 2026
vitormattos
marked this pull request as ready for review
November 21, 2026 14:27
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.
Why this PR exists
LibreCodeCoop/extract#172 preserves the full commit history of external contribution #168. Technical CI is green, but the DCO GitHub App reports 58 historic commits without sign-offs (50 authored by
openhands, 6 by Dony Wibowo, 2 by Cline).DCO App normally requires rebasing these commits to add trailers, which would rewrite all downstream commit SHAs and undermine the goal of preserving contributors' original commits.
Change
Enable the DCO App's documented remediation mechanism in
.github/dco.yml, on the default branch:individual: trueallows the original author to add a later explicit declaration for their historic SHA.thirdParty: truepermits a different person who has the legal right to certify the contribution to provide a specific on-behalf-of declaration. This must not be used to assert someone else's rights without authorization.The DCO requirement itself remains enforced. This change does not greenlight #172 automatically: it enables genuine, traceable author/authorized-representative attestations without rewriting the underlying commits. Existing unsigned commits remain failures until they have valid remediation messages.
Validation
lib/dco.js: both settings and SHA-specific remediation clauses are supported.Governance
This is a repository-wide DCO policy expansion, not a CI bypass. Draft for explicit maintainer approval; do not merge automatically. Associated PR: #172.