Commit f2f686f
docs(charter): code_scanning ruleset-tool-mismatch = flagship v0.1 squabbler move (#10)
Adds the CodeQL-vs-Hypatia/Scorecard `code_scanning` ruleset deadlock to
the v0.1 fight playbook as the **flagship** move.
## Why
A branch ruleset's `code_scanning` rule lists a tool in
`code_scanning_tools` that never uploads a per-PR SARIF analysis
(Hypatia = gated via a status-check context, not a code-scanning upload;
Scorecard = uploads 0 analyses estate-wide). The rule then waits
forever, so every PR sticks on "Waiting for code scanning results from
<tool> …". A permanent deadlock, not a transient failure.
## Why it's the flagship
- **Confirmed + recurring in production** the week of 2026-06-30 —
deadlocked PRs on `rsr-template-repo`, `standards`,
`odds-and-sods-package-manager`, and others.
- **Fully mechanical fix** with a verifiable satisfaction condition:
trim `code_scanning_tools` to only tools that upload SARIF per PR
(`CodeQL`); gate the rest via `required_status_checks` contexts.
- Already diagnosed/remediated on hypatia itself — see hypatia #470 and
#473. Canonical provisioner
`git-scripts/scripts/branch-protection-apply.sh` is now CodeQL-only, but
stale live `Base` rulesets persist.
Docs-only change to `docs/CHARTER.adoc`. No code/scaffold changes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 86d2ec5 commit f2f686f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
93 | 111 | | |
94 | 112 | | |
95 | 113 | | |
| |||
0 commit comments