Skip to content

docs(pr-workflow): signature source-of-truth is the API; systemic failures get central fixes - #137

Merged
CybotTM merged 2 commits into
mainfrom
docs/review-verification-principles
Aug 5, 2026
Merged

docs(pr-workflow): signature source-of-truth is the API; systemic failures get central fixes#137
CybotTM merged 2 commits into
mainfrom
docs/review-verification-principles

Conversation

@CybotTM

@CybotTM CybotTM commented Aug 5, 2026

Copy link
Copy Markdown
Member

What

Two promoted review principles (/retro promote, batch 6):

  • Signature verification: gh api …/commits/SHA --jq .commit.verification is the source of truth; local %G? = E only means the reviewer's keyring lacks the key — flagging it as "unsigned" produced a finding that had to be publicly retracted (jira-skill#98).
  • Systemic failure modes get central fixes: a one-path fix for an every-path failure is reworked at the central layer during review — not merged narrow with a "centralize later" follow-up issue (the follow-up is the smell). Documented next to the finding-triage section, with the one accepted split condition.

Came from /retro: yes

…lures get central fixes

%G?=E means key-not-imported, not unsigned — a false finding built on
it had to be retracted. And a fix for one path of a systemic failure
mode gets reworked at the central layer during review, not merged
narrow with a follow-up issue.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI lite review requested due to automatic review settings August 5, 2026 06:08
@github-actions github-actions Bot added documentation Improvements or additions to documentation skill labels Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Git workflow PR review reference documentation with two additional review principles aimed at reducing false findings and encouraging structurally correct fixes during review.

Changes:

  • Document that commit signature truth should be determined via the GitHub API (.commit.verification), not the reviewer’s local keyring status.
  • Add guidance that systemic failure modes should be addressed with a central fix (middleware/base hook), rather than a narrow symptom fix plus a follow-up issue.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/git-workflow/references/pull-request-workflow.md Outdated
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

skills/git-workflow/references/pull-request-workflow.md:296

  • %G? status E is broader than “key not imported”; Git documents it as “cannot check signature” (which can happen for multiple reasons, including missing public key). Wording it as “cannot check” avoids an overly specific claim while still supporting the point that E ≠ “unsigned”.
Local `git log --show-signature` / `--format='%G?'` only consults the reviewer's local keyring — a status of `E` means "key not imported here", NOT "unsigned". Flagging `%G? = E` as a missing signature produces a false finding the contributor cannot fix (one such finding had to be publicly retracted; GitHub showed "verified" all along).

@CybotTM
CybotTM merged commit e41b8cd into main Aug 5, 2026
22 checks passed
@CybotTM
CybotTM deleted the docs/review-verification-principles branch August 5, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants