Skip to content

Document the required pre-merge CodeQL check - #210

Merged
Yoshiofthewire merged 2 commits into
masterfrom
fix/code-scanning
Nov 18, 2026
Merged

Yoshiofthewire merged 2 commits into
masterfrom
fix/code-scanning

Conversation

@Yoshiofthewire

@Yoshiofthewire Yoshiofthewire commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

PRs must pass CodeQL on their current head before merging. This documents the gate added to the live default-branch ruleset after Scorecard identified a merged PR whose head had no CodeQL result.

  • Contributors must wait for the trusted CodeQL result, including when administrator bypass is available.
  • The assurance case names CodeQL alongside the existing required CI checks and records the configured Go, Python and Actions coverage.
  • Agent guidance points to the same contribution policy.

Review this: CONTRIBUTING.md defines the merge gate; ASSURANCE-CASE.md describes its enforcement and the retained administrator bypass. Product code is unchanged.
Checked: mdbook build docs and python3 docs/check-links.py passed (11 HTML pages, 283 links/fragments). Full local make ci passed at documentation commit d285519: release-note checks, tidy, formatting, vet with ordinary and e2e,goolm tags, and the uncached race suite. These ran serially in the documented 2 GiB / 2 CPU scope with persistent caches. After merging the updated base, all 19 CI checks and the authenticated autonomous security review pass on 6be657e9b8cd9d79a99b7ae3aa423db900d3ad9d.
Not checked: a deliberately blocked live merge; the live ruleset was read back and the current open PR's trusted CodeQL result was verified instead.
Decided for you: require the existing CodeQL check from GitHub Advanced Security (app 57789), preserving all existing checks and bypass settings.
You need to: review and merge this documentation; all CI checks and the autonomous security review are clear.

Detail

The live default-branch ruleset now requires CodeQL in addition to test (ubuntu-latest, stable), test (ubuntu-latest, 1.26.x) and vulncheck. It binds CodeQL to its trusted GitHub app rather than accepting an arbitrary status with the same name. All other rule fields were compared with the saved original and preserved.

Scorecard's SAST check examines the heads of merged PRs. PR #206's head (704cf0ab) had no CodeQL suite; its merged commit (597ec940) was subsequently scanned successfully. That later scan cannot supply the missing pre-merge result. Alert #9 remains open until this historical gap leaves Scorecard's sampled history; it was not dismissed as a false positive.

The two weak-hashing alerts (#48/#49) were independently confirmed as false positives and dismissed with source-specific evidence: their reported input is a Compose secret name/file reference, and their SHA-256 sink is deployment change detection. No password-verifier code changed.

Material AI assistance: GPT-6.1 Sol investigated alerts, changed the GitHub ruleset, updated these documents and ran the recorded checks. Independent Sol and Claude Opus 5 diagnosis reviews informed the classifications and preventive gate.

DOX: the owning root guidance and assurance/contribution contracts are updated. The documentation child contract and parent workspace index remain unchanged because ownership, structure and manual workflow are unchanged.

Document the trusted current-head CodeQL gate added to the default-branch ruleset after a PR merged without its SAST result. Keep administrator bypass visible while requiring contributors to wait for the scan.

AI-assisted-by: GPT-6.1 Sol (Codex)
@Yoshiofthewire

Yoshiofthewire commented Nov 17, 2026 •

Copy link
Copy Markdown
Member Author

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪

🧪 No relevant tests

🔒 No security concerns identified

⚡ No major issues detected


Advisory only: this comment never gates the pull request.
claude-sonnet-5-5 using pr-agent on behalf of Yoshi

@Yoshiofthewire

Yoshiofthewire commented Nov 17, 2026 •

Copy link
Copy Markdown
Member Author

Security review - cleared

Detail withheld: this repository is public, and posting an unfixed finding here would be public disclosure. The full report was posted to the hand-off board at https://myslop.urlxl.us/f/pr-reviewer-busnes-app-kyquickstart-210, where it is readable by the operator and expires seven days after the last post.


gpt-6.1-sol using security-audit on behalf of Yoshi

@Yoshiofthewire

Yoshiofthewire commented Nov 17, 2026 •

Copy link
Copy Markdown
Member Author

Autonomous review - 1/1 personas cleared

  • security: cleared

Merging remains a human decision; this bot never approves.


gpt-6.1-sol using security-audit on behalf of Yoshi

@Yoshiofthewire
Yoshiofthewire merged commit f2af41f into master Nov 18, 2026
19 checks passed
@Yoshiofthewire
Yoshiofthewire deleted the fix/code-scanning branch November 18, 2026 00:13
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