Skip to content

fix(audit): correct the census total to 333, and the stale #17 tense in the gate header - #871

Merged
hyperpolymath merged 4 commits into
mainfrom
fix/audit-context-count-corrections
Sep 20, 2026
Merged

hyperpolymath merged 4 commits into
mainfrom
fix/audit-context-count-corrections

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Two self-inflicted defects in the artefacts that merged as #869, both caught by re-reading them against the census data they quote.

1. The audit miscounted its own census. It said 337 required contexts across 179 repositories; the verdicts it prints alongside (app-owned 168 + producible 156 + app-named 4 + unsatisfiable 5) total 333. Corrected, plus the fact that all 333 were ruleset-sourced, so no repository in the census still enforced required status checks through legacy branch protection.

2. The gate's header described hyperpolymath/tropical-types#17 in the present tense ("the wrapper publishes scan / Hypatia Neurosymbolic Analysis"). That repository publishes the bare name from an inline job and the prefixed name from its wrapper caller now — the sentence was stale on merge.

Also records why the five unsatisfiable contexts matter rather than being app-configuration work: every one binds integration_id: 15368 (GitHub Actions), so they are repository-owned workflow job names. No external publisher could ever satisfy them, and the fix is a rename or a re-armed rule, not a settings tweak.

Why it is worth a PR rather than a quiet push

The whole point of this audit is that unverified claims about CI state are how a required context becomes unsatisfiable without anyone noticing. A census document that miscounts its own census, and a header that describes a fixed condition as live, are the same failure at one remove.

Verification

  • bash scripts/tests/check-required-contexts-test.sh — 5/5 pass (unchanged by the edit; run to confirm nothing else moved).
  • bash -n scripts/check-required-contexts.sh — parses.
  • Counts cross-checked against the census records: 333 contexts over 179 repositories, 5 unsatisfiable in 4 repositories (awesome-gleam ×2, casket-ssg, coord-tui, vext), all integration_id: 15368.

Two self-inflicted defects in the previous commit, both caught by re-reading the
artefacts against the census data they quote:

* the audit said "337 required contexts across 179 repositories"; the census
  (census verdicts app-owned 168 + producible 156 + app-named 4 + unsatisfiable
  5) totals 333. A census document that miscounts its own census is exactly the
  kind of unverified claim this estate's audit gate exists to prevent.

* the gate's header still described tropical-types#17 in the present tense
  ("the wrapper publishes `scan / ...`"). That repository now publishes both the
  bare name (inline job) and the prefixed name (wrapper caller `hypatia`), so the
  sentence was stale the moment it merged.

Also records that all five unsatisfiable contexts bind `integration_id: 15368`
(GitHub Actions): they are repository-owned workflow job names, which is why no
external publisher could satisfy them, and why the fix is a rename rather than an
app configuration change.
The header still read "while the wrapper publishes `scan / Hypatia
Neurosymbolic Analysis`". That repository publishes the bare name from an inline
job and the prefixed name from its wrapper caller now, so the sentence described
a condition that no longer exists. Split out from the census-count correction
because the previous attempt at it matched the wrong text and silently changed
nothing.
@coderabbitai

coderabbitai Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 3b0de5a4-2965-4561-8652-1a88bc9b8120

📥 Commits

Reviewing files that changed from the base of the PR and between bcf9dfa and bf51cf5.

📒 Files selected for processing (2)
  • docs/audits/audit-ci-context-producibility-2026-09-20.adoc
  • scripts/check-required-contexts.sh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The census reads each repository's default-branch workflow set, so a required
context held by a ruleset bound to some other ref could have been reported as a
defect it never was. Re-checked all five against the ruleset that carries them:
active enforcement, `~DEFAULT_BRANCH` in every `ref_name.include`, single-branch
repositories, and `integration_id: 15368` on every context. The five are live
defects.

Also notes that three of them are guarded by a ruleset named `Optimus-Branch`
that binds the default branch — the same conflation of "this branch" with "that
branch" that produced the class.
@hyperpolymath
hyperpolymath merged commit 115a281 into main Sep 20, 2026
11 of 19 checks passed
@hyperpolymath
hyperpolymath deleted the fix/audit-context-count-corrections branch September 20, 2026 22:26
@sonarqubecloud

Copy link
Copy Markdown

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