Skip to content

Recognize CLA signatures across co-author email aliases - #2

Merged
clarkbw merged 1 commit into
fix/openwatersfrom
fix/coauthor-identities
Nov 3, 2026
Merged

clarkbw merged 1 commit into
fix/openwatersfrom
fix/coauthor-identities

Conversation

@clarkbw

@clarkbw clarkbw commented Nov 3, 2026 •

Copy link
Copy Markdown

Recognize existing CLA signatures when a co-author uses a legacy GitHub noreply address or a verified email address. GitHub resolves the account ID for primary authors and co-authors; the action no longer guesses IDs from trailer text.

Keep Claude credit exemptions, require the authenticated human opener to sign, and preserve the authorship guard. Apply wildcard exemptions to whole values and show each linked account once after exemptions. Unlinked authors still receive account-linking guidance. Unreadable authors and commits with more than 100 authors fail the check.

Stacked on #1. The signature file format and runtime dependencies are unchanged.

Validation

  • 17 suites passed: 148 tests passed, one historical-baseline placeholder skipped.
  • Build, formatting, Knip, and publint passed. The committed bundle was rebuilt.
  • Five additional bundled action scenarios passed, including forged-email rejection and a rejected same-repository storage write preserving the file.
  • The actual GraphQL query succeeded against an Open Waters PR, including its linked Claude co-author. The CLA App's own commit also returned its linked account identity.
  • The Node 24 Linux CI build passed, including fresh installation, lint, tests, and the committed-bundle drift check. The local Docker daemon was unavailable for this revision.

Review

Three completed rounds: Codex, Claude Opus, and Claude Sonnet in round 1; Opus and Sonnet in rounds 2 and 3. Copilot was unavailable.

Reviews found lost email exemptions, duplicate linked identities, an overly broad opener exemption, and wildcard substring matches. Those were fixed with regression tests. The third round flagged a bot exception to the authorship guard and its diagnostic output. After that round, the maintainer chose to retain the upstream guard for bots: the exception was removed and a regression test verifies both the hard failure and output. No fourth model round ran; the three-round review limit was observed. Documentation and compatibility notes were also clarified after that round.

Live GitHub responses resolved questions about the authors connection and linked App accounts. The opener guard, account-linking requirement, and fail-closed author limit are intentional. Whole-value wildcard matching requires *[bot] for bot suffixes; both rollout workflows already use it. Remaining low findings: a mismatch notice can repeat an account with multiple emails, and the pre-existing empty-identity/empty-allowlist behavior remains. Neither changes signature storage.

Limits: the fake tests verify how returned identities are used, not GitHub's email-resolution implementation. Existing dependency advisories and the upstream comment-before-persistence behavior remain. A rejected write fails the workflow; the workflow result and signature file are authoritative.

Signed-off-by: Bryan Clark <clarkbw@gmail.com>
@clarkbw
clarkbw added this pull request to stack #3 November 3, 2026 16:27
@clarkbw
clarkbw merged commit b82a49d into master Nov 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant