Skip to content

ci(ruleset): code-scanning gating reworked (rule removed -> required status checks) + triage 71-alert backlog #470

Closed as not planned

Description

@hyperpolymath

Context

The Base ruleset's code_scanning rule (required tools CodeQL+Hypatia, threshold all/all) was removed today and replaced by adding CodeQL + Hypatia to required_status_checks (alongside Hypatia Neurosymbolic Analysis).

Why: the code_scanning rule requires an analysis result for each PR's merge commit. CodeQL reports neutral (no analysis produced) for any PR that doesn't change scannable code — docs, config, workflow, or empty commits — which is the bulk of estate churn. A neutral left the rule permanently unsatisfied, so every non-code PR was BLOCKED and could only land via bypass. Relaxing the threshold did not help (the problem is "no analysis produced", not "alerts too high"). Verified: cleanup PR #469 (docs-only) went from BLOCKED → CLEAN → merged with result: pass (first non-bypass merge in rule-suite history).

Backlog to triage (71 open code-scanning alerts)

  • Hypatia: 44 (all warning severity, no security severity)
  • Semgrep: 22
  • Scorecard: 5 — note: the Scorecard tool uploads 0 analyses (startup_failure; see estate note), so it was also dropped from the rule earlier.

Decisions for owner

  1. Triage/dismiss the 71 alerts.
  2. Once the backlog is clean, decide whether to reinstate a stricter code_scanning rule or keep gating via required status checks (recommended — handles neutral correctly).
  3. The pre-change ruleset snapshot is saved and can be restored.

Activity

  1. added
    cicd
    and removed on Aug 26, 2026
  2. added
    priority:p1
    scope:repo
    status:needs-ruling
    on Sep 30, 2026
  3. hyperpolymath commented on Sep 30, 2026

    @hyperpolymath
    OwnerAuthor

    RULING D159 (2026-09-30T14:17Z) · scope: repo · basis: applied-unless-struck (D113; owner approved the full table, none struck)

    Triage the 71 alerts, then reinstate code_scanning scoped to CodeQL + Hypatia (D84 precedent) rather than relying on status checks alone.

    surface: metadatastician/standards#787 (comment)

    The open question in this issue is answered by the ruling above; future agents should act on it rather than re-ask.

  4. added
    decision
    and removed
    status:needs-ruling
    decision
    on Sep 30, 2026
  5. hyperpolymath commented on Sep 30, 2026

    @hyperpolymath
    OwnerAuthor

    Consolidated into the roadmap tracker #886 during the 2026-09-30 issue sweep. The idea is kept there as a checklist item; reopen this issue when work starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cicdpriority:p1scope:repo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions